WordPress.org

Support

Support » How-To and Troubleshooting » Posts on Page – ‘More’ Tag problem

Posts on Page – ‘More’ Tag problem

  • I have this kind of problem: I’ve created a Page (with own Template Page). On this Page I wanted to list all posts from one category. And OK, it’s work fine but there is one very annoying problem: all listed posts are with full content, although I give in post’s edition <!–more–> tag.

    I know that I can use ‘the_excerpt’ code (and it’s work OK) but I need some functions that can work only with ‘more’ tag. I was looking for solution for this prolem but I can’t find it. Can anyone help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Why did you decide to create a Page to show all posts from one category, instead of just using WP’s built in Category page (not a “Page”), and making a custom Category Template such as category-3.php? If you did it this way then the MORE would work.

    MORE doesn’t work on Pages, I think.

    I think you see the difference between a WP Page and any other ‘page’ (i.e. webpage).

    Dgold, I created a Page and show there posts from the specific category ‘couse I wanted to give there separate php code (some functions) and design.

    And I think that ‘more’ tag doesn’t work with Pages too.

    And of course I know the difference between Pages in WP and webpages. 🙂

    I think that I use code in Archive.php, like:

    <?php if ( in_category() )

    and then do what I want in specific category.

    Well, thanks anyway.

    “I created a Page and show there posts from the specific category ‘couse I wanted to give there separate php code (some functions) and design.”

    But… do this with Category Templates, not with Page Templates. Then it should work I think.

    http://codex.wordpress.org/Category_Templates

    Oh, yes! Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Posts on Page – ‘More’ Tag problem’ is closed to new replies.