Support » Themes and Templates » list page and detail page

  • Hi,
    Am using the twentytwelve theme. Is there a page that seperates out the post list page and the blog detail page? Actually i would like to add more features to the post detail page. But if i modify the content.php page it seems to be affecting the display of both the blog lists from category click and the post detail page.

    Cheers in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi


    Forum Moderator

    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.

    Oh ok thank you for the tip. Can you let me know on the other one too. How to differentiate between the display on home page click, category click and the detailed view. Currently it all comes boiling down to the content.php page. I would like to include some more info on the detailed page. And a different info on the category click page but not on the home page click.



    Forum Moderator

    Once your child theme is in place, you should be able to create a new single.php template file that does not use content.php.

    ok, thank you. was hoping for some sort of a short-cut. Its my 3rd day with wordpress. And i have a long way to go.

    Cheers for your time.

    One more please,
    I have installed a new plugin. But the functions in the plugin all just do an echo. None of it returns just the value. Now if i want to create a get_xxx_yyy() and have it return the value instead of doing the echo. Can i do it in the plugin file itself or is it a better practice to add it to my child theme’s function.php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘list page and detail page’ is closed to new replies.