Ready to get started?Download WordPress


Remove Author from All Posts (4 posts)

  1. daniellmatthews
    Posted 4 years ago #

    Hey how/where can I change the code for this theme so that it removes authors from all posts as well as gravatars and time stamps. Thanks

  2. s_ha_dum
    Posted 4 years ago #

    What theme? But if you were to look up 'conditional tags' and 'The Loop' you'd go a way toward answering this for yourself.

  3. daniellmatthews
    Posted 4 years ago #

    I'm working in P2. I've looked all over the code and I can't find anything that hints toward the authors being on every post yet somehow they are.

    Could you tell me a little more about these conditional tags and "the loop"?


  4. s_ha_dum
    Posted 4 years ago #

    Ok. Open up P2's entry.php and most of the code should be obvious. The functions are named things like the_author_posts_link() and get_the_time().

    Conditional Tags.

    The Loop.

    You shouldn't be hacking a WP Theme before digesting at least those two bits of the codex, and probably this one too. Its actually pretty straightforward once you get the basics.

Topic Closed

This topic has been closed to new replies.

About this Topic