Support » Plugin: Enhanced Category Pages » Display excerpt in category landing page with read more

  • Hi.

    Is it possible to display only excerpt that we added in Enhanced Category Editor in Category landing page with a read more link and that link should redirect to a new page with slug as /category-name/detail ?

    I tried adding <a href="<?php echo get_permalink(); ?>"> Read More...</a> in content-ecp.php file (no other content in that file) and excerpt is displaying. However, the read more link goes to /Enhanced Category/cells/ (cells is category slug) with a 404 error.

    Please guide how to achieve this requirement?

Viewing 1 replies (of 1 total)
  • Plugin Contributor danaila_iulian

    (@danaila_iulian)

    Hi, from what I can think off, no, there is no way of achieving this, since the custom post we use is a hidden one, only to be used on these pages. So, if on the category page you want a smaller content, like an excerpt, which is fine, where should the link go? On another category page identical to this one? That’s why I’m thinking it’s not a viable idea.

    The only way I see this working is have the enhanced content only have the except you want in it, and add the end add a Read more link to another page, in which you can post the long content. So for each category, create another page that would be linked in the Read More.

    Let me know what you think! Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Display excerpt in category landing page with read more’ is closed to new replies.