• Hi,

    I have the issue that the plugin (version 4.2.3) works when I set the frontpage to ‘Displays latest posts’ (in Settings –> Reading), but when I set it to a page, the excerpts do not work any more (no formatting, not respecting more tag).

    Both my index.php and the custom page call the same post format that uses the_excerpt(). Changing this (to the content or the advanced excerpt) does not help, neither changing plugin settings.

    For some reason, the plugin does not work when the frontpage is set to a static page that displays posts too. And yes, I did not set the plugin to be disabled on any page.

    I even replicated it with the exact same code in index.php and in page-mycustompage.php: when this latter is set to the frontpage in the WordPress settings, the advanced excerpts do not work, while they have no trouble when index.php is showing the posts.

    Do more people have the same problem? Is there a workaround?

    Thanks,

    https://www.ads-software.com/plugins/advanced-excerpt/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you able to try out a development version for me?

    I believe we’ve made some improvements in the way of page based front pages.

    https://github.com/deliciousbrains/wp-advanced-excerpt

    Thread Starter hki429

    (@hki429)

    That almost fixes it: the content is shown formatted, but the more tag is not respected (full blog posts are shown when the frontpage is set to a page with 4.2.4b1).

    On the category pages the excerpt are shown formatted and respecting the ‘more’ tag, so it does seem to be specific to pages in the development version.

    (Thanks for responding and looking into it, btw).

    Thread Starter hki429

    (@hki429)

    If I try the development version from here (https://www.ads-software.com/plugins/advanced-excerpt/developers/) the behaviour is the same: the excerpt is shown (including read more link), but all formats (strong, em, etc) are stripped.

    Now that I come to think about it, it looks a lot like the default WordPress excerpt. I also base that on the a read-more class when the excerpts work. When I get the basic, flat text excerpts on the pages, the hyperlink is of class more-link.

    Just to reiterate, on both the index.php and page-name.php I call the the_excerpt(); function.

    Is the Advanced Excerpt active on pages?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does not work on pages set to frontpage’ is closed to new replies.