Tagged: x
-
AuthorPosts
-
April 26, 2016 at 1:15 pm #900753
Sarah SParticipantHey Guys,
I am working in the Icon theme and have a blog page as my homepage. I would like to add a welcome message above my blog posts. Pretty much just like the Blog Header that is available in the Integrity theme. Is it possible to add a Blog Header using the Icon theme?
As always, your help is much appreciated.
April 26, 2016 at 11:16 pm #901416
Prasant RaiModeratorHello Sarah,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks.
April 27, 2016 at 9:57 am #902332
Sarah SParticipantHello! The site I am working on is: http://host.rhdhosting.com/~klein/
Thanks so much!
April 27, 2016 at 6:15 pm #903181
FriechModeratorHi There,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then add the code below on your child theme’s functions.php file.
/** Add something on the Blog index page after the slider */ function custom_landmark() { if(is_home()): ?> <div class="custom-landmark"> <div class="x-container max width"> <p>CUSTOM Welcome Message HERE</p> </div> </div> <?php endif; } add_action('x_after_view_global__slider-below','custom_landmark', 30);If you’re not sure where to paste the code, just right under the:
// Additional Functions // =============================================================================Hope it helps, Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-900753 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
