Showing whole post if browsing by category or tag (4 posts)

  1. cruelphotography.com
    Posted 5 years ago #

    When my blog is found from google, what people find is mostly my for instance:

    But then they just get to see a snippet of the posts, and no images before they actually click each post indiviually, and since I am a photographer, I would very much like them to see the whole posts and the images like they do when normally browsing my blog.

    How can I make that happen ?

  2. mark_r-a
    Posted 5 years ago #

    I have the opposite problem, my entire posts (set by a given number - which I do however have control over) are shown on the default page, when I'd actually prefer only a snippet (or the 1st paragraph) to be displayed... What I'd like is similar to the "Continue reading article" setup @ http://ilovetypography.com/

    I think this must be a theme issue, so in order to have someone help us, we probably have to state which themes we're using.

    In my case it's the "aav1 1.1" - http://wordpress.org/extend/themes/aav1

    Hope someone out there will enlighten us!

  3. cruelphotography.com
    Posted 5 years ago #

    Hehe.. I am using Photocrati Supertheme.

    Yeah, hope there is someone who knows :)

  4. SimonJ
    Posted 5 years ago #

    Category, tags, author and so on are all "archives" sections in WP.

    How these sections are displayed is based on the template file used by your template.

    I didn't look at the photocrati theme but if you look at the template hierarchy in WP you will surely understand :


    For your tag section, your theme can use tag.php, if this file does not exist, it wil use archive.php, and if this file does not exist neither, it will use index.php...

    So look in your theme and try to find wich file is used.

    In this file, you'll have a loop to display the posts.


    In your loop, you have two choice to display the post :

    <?php the_content(); ?> : to display the whole content of a post.

    <?php the_excerpt(); ?> : to display only an excerpt. This excerpt can be generated by Worpdpress (the first 55 words) or you can write something in the optional excerpt when you write a post.


    So, in your loop, just find wich tag is used and change it to fit your own needs.

    You can change this tag in any template file. If you want only excerpt on your home page, again, find wich file is used in the template hierarchy (it can be home.php or index.php) and edit the loop.

    Note that the automatic excerpt generated by wordpress will strip all the images and formatting (bold, italic, links, etc). But if you use the optional excerpt when you write a post, all the formatting in this field will be displayed.



Topic Closed

This topic has been closed to new replies.

About this Topic