• Hi!

    Im using a theme from Graph Paper Press, Modularity. Im trying to make a blog menu, with a few underblogs. When i click on one blog, i get all the latest post that are tagged with that category. However, i would like to display all post with full content as a regular blog when click on that particular blog in the menu. Any ways to do this?

    This is how it displays now: https://www.svenssonsbild.se/Magasin/?cat=11
    but i would like to have the full content showing from both post and future ones.

    Regards,
    Jerry

Viewing 4 replies - 1 through 4 (of 4 total)
  • I take it you mean to display the full content of the post instead of an excerpt followed by […]

    If so, you need to find the WP loop for category lists in your theme’s template files. The file it’s located in may vary depending on your theme. Start at index.php and work back is what I do, following the function call sequence.

    Once you’ve found the correct loop, replace the_excerpt() with the_content().

    The function the_content() will output the entire content (up to the first ‘more’ tag).

    HTH

    PAE

    Thread Starter jerryskate

    (@jerryskate)

    Hi and thanks for a fast reply! Now I have something to go on.

    One question though, is there a loop for each category, or will this effect all post?

    Regards,
    Jerry

    A lot depends on your theme. In twentyeleven, there is a template file called category.php that has the loop for all category lists (unless someone overrides it using a category-$slug.php file or something).

    In twentyten, everything is dealt with in the loop.php template file. Twentyten uses conditionals to work out what type of content is being displayed.

    So the answer to your question is that there’s usually just one file (e.g. category.php or loop.php, but there may be others if the template for some category lists is different from others). Take look at the WordPress Template Hierarchy docs in the Codex for an explanation as to how this works.

    HTH

    PAE

    Thread Starter jerryskate

    (@jerryskate)

    Thanks again. Couldn’t find anything related to this, as to what i could see at least.

    But thanks, at least i have something to go on.

    Regards,
    Jerry

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make posts show as a regular blog.’ is closed to new replies.