Tagged: x
-
AuthorPosts
-
August 17, 2016 at 3:01 pm #1135681
wsmaniac01ParticipantHi 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
August 17, 2016 at 3:03 pm #1135683
wsmaniac01ParticipantThis reply has been marked as private.August 17, 2016 at 9:36 pm #1136153
FriechModeratorHi 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!
August 18, 2016 at 1:45 pm #1137281
wsmaniac01ParticipantBrilliant guys thank you so much!
August 18, 2016 at 2:25 pm #1137354
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1135681 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
