Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1395657
    JfantasyBooks
    Participant

    Hello!

    Details:

    Name: JFantasyBooks
    Site: Fantasy-Books
    Site Url: https://fantasy-books.live
    WordPress Version: 4.7.1
    X Version: 4.6.4
    Cornerstone Plugin Version: 1.33

    Problem:

    I would like to be able to insert content within the content of a post. For example, if I have a written blog, I would like to be able to insert an ad after the 4th paragraph, for example.

    Can you help with this?

    I do not want to opt for a plugin.

    #1395800
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #1396443
    JfantasyBooks
    Participant

    I understand. I was referring to if there was a add_action() or something similar for inside the content and not just above or below it.

    Themeco has helped with those before, and so, I was referencing to something like that.

    #1396463
    Joao
    Moderator

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #1397162
    JfantasyBooks
    Participant

    Well, for example:

    1. add_action(‘x_after_the_content_end’, ‘displayadsx’);

    Would display what you wish after the content of a post.

    2. add_action(‘x_after_view_ethos__breadcrumbs’,’displayadsx’, 30);

    Displays what you wish above the content.

    3. Is there an add_action that would display what you wish inside the content area?

    #1397371
    Paul R
    Moderator

    Hi,

    You can try x_before_the_content_end

    Refer to the link below for more info.

    https://community.theme.co/kb/customization/actions-and-filters-in-x/

    Hope that helps.

    #1404233
    JfantasyBooks
    Participant

    No, it doesn’t help. I opted with the plugin in the end. Thank You though.

    #1404394
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1395657 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>