WordPress.org

Ready to get started?Download WordPress

Forums

Read More tag in Pages not working (7 posts)

  1. jeston
    Member
    Posted 10 months ago #

    I've searched but not found a solution so resorting to start a thread.

    I've added the code found at the bottom of this page to my page template. I've added read more tags to the pages. The pages cut off where they should and display a 'Continue Reading' link.. But when I press the link nothing happens. It adds '/#more-2' to the end of the URL but I can't see the rest of the text.

    here is the page in question, and it's the same for all pages http://beyondcoaching.org.uk/what-is-nlp/#more-2

  2. kirkclarke
    Member
    Posted 10 months ago #

    Hey Jeston, the read more is best used for posts. For pages see here: How to use Read More in Pages

  3. jeston
    Member
    Posted 10 months ago #

    Hi.. Thanks but that's the page I've linked to in my OP. I've added that but it's still not working.

  4. kirkclarke
    Member
    Posted 10 months ago #

    I'm unclear in regards to what you would like to do. Just to clarify, when we click "Continue Reading" what would you like to happen? Is it suppose to go to another page (what is the page in the case?) or would more text be revealed in the same page?

  5. jeston
    Member
    Posted 10 months ago #

    I'd like the rest of the text revealed on the same page. I've just used the default <!--more--> tag from the Page content editor but it's not working.

  6. kirkclarke
    Member
    Posted 10 months ago #

    Oh okay, well in that case you can't use the <!--more--> tag for this purpose. The solution mentioned earlier is meant to give the same functionality found in posts to pages, so that when you look at a search page. The page listing can display the same way a post might.

    I suggest using javascript like this or a plugin like Collapse-O-Matic

  7. jeston
    Member
    Posted 10 months ago #

    Ah, I see.

    Thanks.

Reply

You must log in to post.

About this Topic