[Resolved] Need disclosure on bottom of Blog Page

Home Forums Support [Resolved] Need disclosure on bottom of Blog Page

Home Forums Support Need disclosure on bottom of Blog Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #65124
    David Seibel

    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

    #65244
    Tom
    Lead Developer
    Lead Developer

    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.

    #65370
    David Seibel

    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

    #65506
    Tom
    Lead Developer
    Lead Developer

    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 ๐Ÿ™‚

    #65900
    David Seibel

    Hey Tom,

    That worked!

    Thanks,

    Dave

    #65987
    Tom
    Lead Developer
    Lead Developer

    Awesome! ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.