mxpimp47
Member
Posted 2 years ago #
i have some custom stuff implemented into a custom theme. i have everything working like i want as far as the back end goes. when you view the index page it shows a "coming events" section up top which is in the header of the template. so it should show (and i want it to) on pages as well, but it doesn't! only the links to the posts are displayed. i would appreciate some advice, i don't know if i am overlooking something or what!
thanks in advance for your help!
here's the link: http://02f16cc.netsolhost.com/freestonemx/
Use absolute urls for your event images.
mxpimp47
Member
Posted 2 years ago #
thank you for such a quick response! i figured it was something simple and i was overlooking it!
what if i didn't want to display that header with the coming events, and just the content above that section for all the pages and single posts?
thanks again i really appreciate it!
Sorry - I'm not sure I follow...
mxpimp47
Member
Posted 2 years ago #
if i wanted a different header to show on all the other pages throughout the site other than on the "index" page, what would i do?
Something like:
<?php if( is_home() || is_front_page) :?>
[ home page markup here ]
<?php else:?>
[ standard markup here ]
<?php endif;?>
in header.php should work.
mxpimp47
Member
Posted 2 years ago #
ok sweet thank you very much!
again i appreciate your quick response!