• Resolved Kabyy

    (@kabyy)


    Hi all,

    I am designing a Twenty Twelve theme and to design a specia post type.

    I want to remove or redisplay the line “This entry was posted in #cat on #date”.

    I finded the place where the catégory link is php generated in wp-includes->permalinks-template, but I can’t find the place where it is called in the view / post template in tml so I could design it…

    Hope the question is clear and solution not too obvious to be asked.

    Regards,

    Kaby

Viewing 2 replies - 1 through 2 (of 2 total)
  • In Twenty Twelve you can find that under twentytwelve_entry_meta in wp-content/themes/twentytwelve/functions.php. It is used in twentytwelve/content.php.

    In functions.php note the line “Create your own twentytwelve_entry_meta() to override in a child theme.” Also see the other helpful references to child themes in functions.php. Here’s info on child themes: https://codex.www.ads-software.com/Child_Themes.

    If your theme will be similar to Twenty Twelve, then a child theme is a good way to go. If your theme will be very different from Twenty Twelve, then replicate and edit Twenty Twelve.

    Thread Starter Kabyy

    (@kabyy)

    Hi Mikedev !

    Thanks a lot for your answer, already looking at it !

    About theme /childtheme, I am adding dedicating post-types and want specific stuffs so I think I’ll edit the Twenty Twelve theme !

    Many thanks,

    Kaby

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Design "This entry was posted…" line at the end of default post’ is closed to new replies.