• Resolved whooami

    (@whooami)


    Maybe another set of eyes will help with this.

    I have a development install of 2.8.1 that wont display excepts with the ellipsis and link. Instead it just shows the text excerpt – no ellipsis, no link to permalink.

    There are no plugins installed, or activated (obviously), and Im using this in the default theme:

    <?php while (have_posts()) : the_post(); ?>
    
                            <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
                                    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
                                    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    
                                    <div class="entry">
                                            <?php the_excerpt(); ?>
                                    </div>
    
                                    <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comme$
                            </div>
    
                    <?php endwhile; ?>
    
                    <div class="navigation">
                            <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
                            <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
                    </div>
    
            <?php else : ?>
    
                    <h2 class="center">Not Found</h2>
                    <p class="center">Sorry, but you are looking for something that isn't here.</p>
                    <?php get_search_form(); ?>
    
            <?php endif; ?>

    Am i missing something really obvious? I have other versions of wordpress blogs on this same server, and all of them show the ellipsis and link.

    Thx.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    Which plugin are you using? if you are not using advance excerpt plugin then have a check with it:

    http://wordpress.org/extend/plugins/advanced-excerpt/

    Thanks,

    Shane G.

    in the code you have provided, at line 11, it is incorrect or incomplete. Make sure this is not the issue (I dont think so)

    Also, I used the same code you have provided in my blog and it works perfeclty. (only change where I have specified).

    I know you know more than me, but just to remind you:

    <?php the_excerpt(); ?>
    Displays the post excerpt. Used on non-single/non-permalink posts as a replacement for the_content() to force excerpts to show within the Loop.

    Thread Starter whooami

    (@whooami)

    ummm, the code I pasted above is incomplete because I just pasted whats important 😛

    shane — im not using any plugins (i said that already)

    and this:

    <?php the_excerpt(); ?>

    is straight out of the codex.

    thanks all.

    Im trying to use this on a NON-permalink/non single post — specifically the theme’s index.php

    Just a thought but what’s the word count on the posts that you’re displaying? If they’re below the standard 55 word cut off for the_excerpt, maybe the ellipsis & link functions don’t kick in? I can see some people thinking that this would be a feature rather than a bug.

    Thread Starter whooami

    (@whooami)

    yah I thought of that also — initially i had a 3 word excerpt .. ive increased it, decreased it, — doesnt seem to make any difference.

    this is a stumper for me — there is a 2.8.0 install in other directory that the exact thing works on.

    I was hoping that I was just sleepy when I was looking at this and missing something painfully obvious …

    Thread Starter whooami

    (@whooami)

    so, just to see, I grabbed the advanced excerpt plugin. it shows the excerpt complete with ellipsis (no link) when you have it set to over-ride the manual excerpt.

    I think im going to plug 2.8.0 files into this install, and see if anything changes.

    Im okay with it being the server, if thats the case, and I know 2.8.0 works in this other dir.

    Thread Starter whooami

    (@whooami)

    ok, I think I had a brain fart. the excerpt doesnt show the ellipis by default, and doesnt provide the link at the end.

    with the help of the links above, Ive figured out how to do what I need.

    thanks all for the pointers 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘excerpt not displaying ellipsis’ is closed to new replies.