Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1135681
    wsmaniac01
    Participant

    Hi guys!

    I read this post here, for the Integrity stack, and I want to do something similar in Renew:
    https://community.theme.co/forums/topic/adding-content-under-the-blog-header-on-the-index-blog-page/

    I already have my child theme installed and activated.

    What I am trying to achieve, is an explanation of what my blog is about above all the blog articles on my “posts” page. I will include URLs and logins to my site in a private reply.

    Cheers!

    Cole

    #1135683
    wsmaniac01
    Participant
    This reply has been marked as private.
    #1136153
    Friech
    Moderator

    Hi Cole,

    Thanks for writing in! You can add this on your child theme’s functions.php file.

    function custom_content() { 
       if(is_home()): ?>
        <div class="custom-content x-container max width">
           <h5 class="mts">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
    tempor incididunt ut labore et dolore magna aliqua.</h5>
        </div>
        <?php endif;
     }
    add_action('x_after_view_renew__landmark-header','custom_content', 29);

    Hope it helps, Cheers!

    #1137281
    wsmaniac01
    Participant

    Brilliant guys thank you so much!

    #1137354
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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