Archived topic
Need disclosure on bottom of Blog Page
5 replies · Started by David Seibel on January 14, 2015
Hey Tom,
I need to place a disclosure on the bottom of the blog page (is this an archive page?) It's basically the "fine print" and should be fine print! I can't seem to get anything to show up at the bottom of the page. I've tried to put it in the hooks but nada.
Any ideas?
Thanks,
Dave
Hi Dave,
What about adding something like this to the footer?
<?php if ( is_home() ) : ?>
Fine print in here
<?php endif; ?>
is_home checks to see if we're on the blog page.
Hey Tom,
Two things:
1. Where would that code go? In the footer widget, in the hook, somewhere else?
2. I am using a static homepage so the blog in on dev.agsaurora.com/blog. Do I just replace home with blog? I tried that but didn't get anything.
Thanks in advance.
Dave
Hi David,
1. I would put it in the hook - make sure "Execute PHP" is checked.
2. Nope, keeping it as "is_home" will work for the blog no matter where it is.
Let me know :)
Hey Tom,
That worked!
Thanks,
Dave
Awesome! :)