WordPress.org

Support

Support » How-To and Troubleshooting » No "read more" in custom posts with excerpts

No "read more" in custom posts with excerpts

  • I have custom category pages with the first post set to “sticky” and the rest intended to show excerpts with “more.” Now the excerpts show “[…]” but there is no link.

    I tried following the guide of this forum post:
    http://wordpress.org/support/topic/excerpts-no-read-more-link, replacing

    the_content();
    } else {
       the_excerpt();
    } ?>

    with

    the_content();
    } else {
       the_excerpt(); ?><span class="read_more"><a href="<?php the_permalink(); ?>">[ Read More &rarr; ]</a></span>
    } ?>

    but it breaks the page and I end up with a white screen.
    The URL is http://dev.blueplanetlaw.com/ferc-bpa-regulatory-advice-and-litigation/ .

    The pastebin file is here
    <iframe src=”http://pastebin.com/embed_iframe.php?i=jtD4AcvP” style=”border:none;width:100%”></iframe>

    My php is weak and I would really appreciate help with this. Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘No "read more" in custom posts with excerpts’ is closed to new replies.
Skip to toolbar