• Hi. I’m rather new to this and not much of a web designer. However, I was able to take my existing page “format”: https://www.nedyken.com and somehow cut and paste a bunch of stuff to make a working wordpress: https://www.nedyken.com/wordpress . Lol. I just basically altered the php files under the “classic” template folder. It seems like it’s working right now (don’t mind the posts, they are just a bunch of quick entries I imported from an RSS feed file I made a while ago.

    Heres my problem. If you look at my latest post showing “test… trying to post excerpt”, What I did was enter a quick bit of content: “Here is my actual post content blah blah” and then I entered into “optional excerpt”: “Here is my excerpt”. Why is it that the excerpt is not displaying? I checked the help pages and they all say, “if you enter an explicit excerpt, it will overrule your post content and display on your main page instead”, but that doesn’t seem to be happening. Am I missing some kind of tag that tells it to display the excerpt instead?

    What I’d like to eventually have is the ability to sometimes display ALL of the post content, the ability to sometimes display part of the post content (by using the more tag) and sometimes just display a brief summary entered into the “excerpt” field. Additionally if possible, I’d like to sometimes include an image in the excerpt field (but im getting the impression it will not accept html even once I get it working properly).

    Any help is greatly appreciated!! I realize I’m a noob, but I swear I’m trying! e-mail me at [email protected] or reply. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I checked the help pages and they all say, “if you enter an explicit excerpt, it will overrule your post content and display on your main page instead”, but that doesn’t seem to be happening.

    Where exactly did you see that? That is incorrect and needs to be fixed.

    Am I missing some kind of tag that tells it to display the excerpt instead?

    Yeah. It’s called the_excerpt. ??

    Thread Starter Nedyken

    (@nedyken)

    Also just to explain why i’d like to do this…

    My page is separated into various sections like a blog section and a new videos section. The main page will act as an “updates” section where I can put something like, “Hey… theres a new blog in the blog section about sea-llamas… check it out” and then have a little picture of a sea-llama. Then when they click on it, it’ll show the entire 5 page blog about sea-llams. But other times I might just want all of the content shown on the main page like… “hey heres a new video… check it out”.

    I’ve seen people say “replace the “the_content” tag with an “the_excerpt” tag (in the actual index.php file) instead, but then it looks like it would exclusively only show excerpts… on all posts on the main page…

    Thread Starter Nedyken

    (@nedyken)

    Otto I may have misinterpreted this:

    “Excerpt
    An Excerpt is a summary or brief teaser of your posts featured on the front page of your site as well as on the category, archives, and search non-single post pages. WordPress handles Post Excerpts in two ways. One is by an explicit excerpt and the other is through the use of the Quicktag button more. If you want to have a summary of the post show, rather than the first paragraph or so, write the summary of your post in the excerpt field.”

    Just from reading that I get the impression that If I had a ton of text in main post, but a short summary in the “optional excerpt” field… the “optional excerpt” content would display by default on the main page…

    Thread Starter Nedyken

    (@nedyken)

    OOOH Ok I figured it out. This is what lack of sleep and common logic does for you. I was under the impression that in my index.php I had to use EITHER the_content OR the_excerpt. It didn’t dawn on me until now that I could just paste <?php the_excerpt(); ?> above <?php the_content(__(‘(more…)’)); ?> and then have the option of which one i wanted to display (and using the MOre tag to hide my entire content). Oh well… alls well that ends well….

    Thanks for the tough love, Otto…

    Thread Starter Nedyken

    (@nedyken)

    except that now the excerpt will display on the main article page as well…

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Nedyken: I’m still trying to understand exactly what the heck you’re trying to do… You’re not being particularly clear here.

    the_excerpt() will display the excerpt, if you have made an explicit one, or the first few paragraphs of the actual content, if you did not.

    the_content() always shows the content. On the main page, the content will stop at the <!–more–> tag in the post.

    What exactly do you want to happen? Define that clearly and then I’ll tell you how to do it. Okay?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I can’t get Excerpts to Show up’ is closed to new replies.