WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] Working With .entry-meta (3 posts)

  1. tedwards500
    Member
    Posted 1 year ago #

    Been trying to get this to work for a week now. Hopefully somebody will be able to help me out.

    There are two things I am trying to do. First, I am trying to get the entry-meta (Categories, Tags, etc.) to show on the blog posts, but not show up on the main blog page.

    The other thing I am trying to do is to move the entry-meta info on the posts from the bottom to the top. I have tried moving around the footer section in content.php, but it kept giving me unexpected results.

    Any ideas would be greatly appreciated. :)

    Site: verandalane.com/blog

  2. Jose Castaneda
    Member
    Posted 1 year ago #

    1) Are you using a child theme? If not, I highly suggest you read about them and create one. :)

    2) Are you trying to move the entire footer information to the top or just the entry-meta that says: "posted in..." 'cause if that is the case you can just move the template tag: twentytwelve_entry_meta() to the section you want in your header.

    3) If you are wanting to only display on blog posting you can add a PHP conditional around the .entry-meta. Something simple like:

    if ( ! is_singular() ) {
      // entry-meta things you only want displayed on blog posting
    }

    Hope that helps you a bit.

  3. tedwards500
    Member
    Posted 1 year ago #

    Solved!

    Moving the twentytwelve_entry_meta to a new place solved both my problems.

    Thanks for the help, and if anybody would like me to go into more detail about how I got it to work, just say the word!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic