Welcome, guest!

Feel free to read the blog, browse for themes, or join the club.

Query Posts More Link Missing

  1. When I use the Query Post Plugin to display the most recent post with the_excerpt option selected, the widget displays the excerpt but does not show the "Continue reading" link. If I select 'the_content' it simply displays the whole article.

    I want to use Query Post to show the excerpt of my latest article and display the "Continue reading" link after the excerpt. Am I missing something?

  2. You must be a logged-in exclusive member to view this reply.

  3. Sorry, Justin.

    That didn't do it. Still getting no "Continue Reading" link with the excerpt and the content is just displaying the whole post.

  4. You must be a logged-in exclusive member to view this reply.

  5. Yeah, I mean when you look at the code in query-posts.php the code is there after the_content to get the more link. Why would the widget not pull it up like a posts page?

  6. You must be a logged-in exclusive member to view this reply.

  7. This problem really vexed me, and I really became a premium member hoping to find the answer.

    To fix the problem, I found:

    query_posts( $args );

    and immediately after I inserted this:

    global $more;
    // set $more to 0 in order to only get the first part of the post
    $more = 0;

    Works for me now.

    I hope that helps someone find the answer a lot faster than I was able to come up with it.

    Cheers.

Reply

You must log in to post.

Limited Access

If you have an account, please take a moment to log in.

Non-exclusive members have limited access to the support forums.

To enjoy the full range of support, sign up for an exclusive membership in the theme club.

Support Forums

  • Bliss Theme (202 posts)
  • Hybrid Theme (17,117 posts)
  • Options Theme (10,322 posts)
  • Structure Theme (2,626 posts)
  • Visionary Theme (767 posts)
  • bbPress Themes (293 posts)
  • WordPress Plugins (1,619 posts)
  • General Discussion (4,011 posts)