WordPress.org

Ready to get started?Download WordPress

Forums

Edit Date and "filed under:" lines in Twenty-Twelve Theme (9 posts)

  1. pulse-k
    Member
    Posted 1 year ago #

    I'm new at wordpress and I have it installed and running, but I can't find where to edit a few things in the Twenty-Twelve theme.

    The blog page for my post shows :

    <h2> [DATE] </h2>
    <h3> [post title]</h3>
    Filed under: [categoryname] — [authorname] @ 12:11 PM Edit This

    (Note: This is not all of the actual source, I just included the appropriate header tags to help find this section of the code)

    How can I edit this template as follows:
    - delete the h2 DATE
    - change the [post title] to h2
    delete most of the "Filed under:" line and just keep the date

    thanks

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the Twenty Twelve theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

  3. wp-21
    Member
    Posted 1 year ago #

    You need to edit the index.php file, it is recommended that you create a childtheme first and then do the edits.

    refer to this:
    http://codex.wordpress.org/Child_Themes

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    You need to edit the index.php file

    Um - not in 2012, you don't.

  5. wp-21
    Member
    Posted 1 year ago #

    Yeah sry not in 2012.i stand corrected.tx

  6. pulse-k
    Member
    Posted 1 year ago #

    OK, well it looks like it would be here

    <?php get_template_part( 'content', get_post_format() )

    So that means I need to look in content.php?

  7. wp-21
    Member
    Posted 1 year ago #

    yeah that's right,in content.php

  8. pulse-k
    Member
    Posted 1 year ago #

    don't see any h2 tag or any of that other stuff in there.

  9. wp-21
    Member
    Posted 1 year ago #

    could you post the link for your site..

Topic Closed

This topic has been closed to new replies.

About this Topic