• jdnsnowy

    (@jdnsnowy)


    Hi Guys! Just want to know if something I’m thinking it’s possible.
    I would like to have WP show the excerpts just on the articles that have an excerpt explicitly written and full content on the rest of the articles that do not have an excerpt written.

    Thanxs!

Viewing 7 replies - 1 through 7 (of 7 total)
  • oriecat

    (@oriecat)

    I believe if you use the more tag in your post where you want the excerpt to end, then it will cut off there. If there is no more tag, then the whole thing will show.

    Thread Starter jdnsnowy

    (@jdnsnowy)

    I know. It’s just that I want the “excerpt” not to appear in the message. I mean, when I choose to use the read more tag, what I have wrote a the top will show again. I want the excerpt to appear just for some posts, not subjected to any category.

    To make it more clear. If I wrote a excerpt I want the excerpt to appear. If I didn’t then I want the full content to appear.

    Lorelle

    (@lorelle)

    I don’t share this with just anyone, you know…heee hee, actually, I had a LOT of help on the forum for this. This is a copy of my index.php template file. This is what it does:

    1. IF there is an explicit Excerpt, it shows the excerpt.

    2. IF there isn’t an explicit Excerpt, it shows the full content unless there is a “more” quicktag used (for short content posts).

    There is other styles and things in there you can keep or throw away, but do not that I have a very styled Excerpt look on my site and so I use a double CSS reference excerpt-post clearfix on my excerpts to create the look I want. Remove the clearfix reference and do what you want with the rest. I probably have a few other non-standard CSS references because I don’t have a public Theme – this is my own thing and I broke all the rules 😉 with my site.

    For more information on how this all works with great examples:

    http://codex.wordpress.org/The_Loop_in_Action
    http://codex.wordpress.org/The_Loop

    Thread Starter jdnsnowy

    (@jdnsnowy)

    Thanksss!!!!!!!!!!

    Thread Starter jdnsnowy

    (@jdnsnowy)

    I celebrated too son.I find it kind of complicated to integrate it to my index.php…

    Lorelle

    (@lorelle)

    Can you be more specific so we can help? If you break it down into its smallest parts, and I’ve put in a ton of comments to help me figure out what was what, it will start to slowly make sense to you. The documentation I listed will help. The Loop in Action takes you step-by-step through the process of the Loop and it helped me understand this stuff a ton!

    Thread Starter jdnsnowy

    (@jdnsnowy)

    I’m a begginer at php, so I’m breaking the parts as you say, to learn from it. I’m also using a theme called radmod I downloaded from radicalgeorgiamoderate.org and that’s important too (another thing I’m a begginer at)
    anyway, for anyone who wants to help my index is at
    http://www.abiertoalanochecer.com/index.php
    or
    http://www.abiertoalanochecer.com/wordpress/wp-content/themes/radmod/index.php

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Full content and excerpts’ is closed to new replies.