• Resolved jkozuch

    (@jkozuch)


    In addition to my previous post regarding some 404 issues (now resolved, thanks moshu), it seems that the footer on the 404 page doesn’t render correctly.

    <code><div id="footer">&copy; <?php the_author(); ?> <?php the_time('Y') ?></div></code>

    On all other pages, the footer displays the author name and the year, but on the 404 page, only the year is displayed.

    Anyone else having/have this problem?

    Thanks,

    Justin

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’d say that there is no author for a 404 page, since this is a template file rather than a wordpress page.

    Good call, Zoutesnor.

    I can see the benefit of using the_author there (so as to make implementation in multiple blogs quicker), but it pays to know what could happen in situations such as this one.

    Thread Starter jkozuch

    (@jkozuch)

    Zoutesnor:

    I have a template file that I use for my blog (I am running WP 2 as a CMS and a blog all in one) and on the blog template file (blog.php), the footer shows up.

    However, I see your point that there is no author for the 404 page. I hope in future releases this is supported for a number of reasons, one of them being Diane’s point of view.

    BTW, I really like your site Diane.

    Wow; thanks. ??

    I’m not sure that WordPress could assign an author to a “page” (or template) that was not “written” or “posted” by an author.

    You could always use an include. Just a thought.

    Thread Starter jkozuch

    (@jkozuch)

    I’ll try an include to see what happens. I fear that it might not make a difference, since it’s really an include inside another include.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Strange 404 Activity’ is closed to new replies.