Forums

"More Tag" Not working on updated theme? (7 posts)

  1. bella2011
    Member
    Posted 6 months ago #

    I have deactivated all of my plugins and for some reason the "more tag" is still not working. I read in a previous post here to insert the following code:

    <?php global $more; $more = 0; ?>

    //The code must be inserted ahead of the call to the content

    <?php the_content('Continue Reading'); ?>

    What specific php file should this code be inserted to?

  2. alchymyth
    The Sweeper
    Posted 6 months ago #

    the "more tag" is still not working.

    is the more-tag ignored?
    are the posts showing full or not?
    are you using page templates?

    can you post the name and download link of your theme?

    link to your site?

  3. bella2011
    Member
    Posted 6 months ago #

    Those are great questions. Not quite sure.

    Here is a sample post -- the more tag is inserted but it's not working.

    http://ataraholdings.com/sandbox/?p=12

  4. alchymyth
    The Sweeper
    Posted 6 months ago #

    <span id="more-12"></span> this is added by the more-tag into your single post - i.e. it seems to be working;

    single posts always show the full content; the more-tag is normally supposed to work in the front page and archive pages, if these use the_content() in the code; your site seems to be using the_excerpt() which shortens the content to a fixed length and adds ... at the end.
    http://codex.wordpress.org/Function_Reference/the_excerpt
    http://codex.wordpress.org/Template_Tags/the_content
    http://codex.wordpress.org/Customizing_the_Read_More

    what are you trying to achieve in the single post by using the more-tag?

  5. bella2011
    Member
    Posted 6 months ago #

    Essentially, I'd like to paginate the blog post -- for lengthier articles.

  6. alchymyth
    The Sweeper
    Posted 6 months ago #

  7. bella2011
    Member
    Posted 6 months ago #

    Great thank you!

Reply

You must log in to post.

About this Topic

Tags