• So, I have been doing research for roughly an hour and messing around inside index.php and single.php and I can’t seem to figure it out.

    The current website that I am building on the back end of my original website has the URL of https://www.caseyfriend.com/Bennett so that you can check it out. My goal is to have the metadata at the top of the post, the date and the author, to go to the bottom of the post, along with the category, etc… From what I have read I need to go into both index.php and single.php

    The posted CSS below is for my single.php and is as follows:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    From what I understand, I need to take the

    <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__('F jS, Y', 'kubrick')) ?>
    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><?php _e('Author', 'kubrick'); ?>: <a href="#">"><?php the_author() ?></a>

    [Please post code snippets between backticks or use the code button.]

    and move it down where the category metadata is. I don’t know exactly where it goes, which might be the problem.

    What I do know is that I attempt the change in single.php and try to replicate the same thing in index.php, but when I go to reload that website after I mess with the index.php, I get a parse error saying that something is out of wack on line (X)

    I hope this is enough information for someone to help. I can’t imagine it being too difficult, but apparently enough for me to get stumped.

    Thanks,
    -Casey

  • The topic ‘Moving Post Metadata to the Bottom of the Post’ is closed to new replies.