Support » Plugin: Advanced Excerpt » Not honoring more tag

  • Resolved hcnews

    (@hcnews)


    I updated to 4.2.1 and the plug in stopped honoring the more tag. In the past it would show all the content up to the more tag but now it is not.
    This is my code:
    the_advanced_excerpt(‘length=75&use_words=1&no_custom=0&finish_sentence=1&ellipsis=&read_more=&exclude_tags=img,p,more’
    I have tried it excluding the more tag and without.
    I also tried the 4.2.2 update and that didn’t work either.

    Thanks,
    Rick

    https://wordpress.org/plugins/advanced-excerpt/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi hcnews,

    Apologies for the problem with the update.

    Are you able to explain in a little more detail what was happening before and what is happening now in regards to the problem you’re having after updating?

    I’m not exactly 100% sure what you meant when you said:

    In the past it would show all the content up to the more tag but now it is not.

    Cheers,

    Chris

    Thread Starter hcnews

    (@hcnews)

    Sorry for the confusion.
    I have a plugin AutoMoreTag that sets a more tag on each post at 50 words and completes the sentence.
    Before the Advance Excerpt update, this code:
    the_advanced_excerpt(‘length=1500&use_words=1&no_custom=0&finish_sentence=1&ellipsis=&read_more=&exclude_tags=img,p,more’)
    would show the content up to the more tag.
    With the update the code is showing content past the more tag.

    They way it worked before if we wanted a longer post, we could override the auto more tag feature and the advance excerpt code would show all the content of the post.

    Thanks,
    Rick

    Hi hcnews,

    Thanks for the info. I was able to replicate this problem locally and have managed to fix it with a few tweaks.

    Are you able to test out a development copy for me?

    https://github.com/deliciousbrains/wp-advanced-excerpt/archive/master.zip

    Cheers,

    Chris

    Thread Starter hcnews

    (@hcnews)

    Chris,

    The newer version stops the excerpt at the more tag like I want, but it does not include content after the more tag when we put the Auto More Tag Override short code in the post. [amt-override]

    That has let us put up a longer post on our home page when the content would need to be a little longer that the settings in Auto More Tag. Auto More Tag is set to show 50 words and complete to the end of the line.

    I am using this Advanced Excerpt code:
    the_advanced_excerpt(‘length=75&use_words=1&no_custom=0&no_shortcode=0&finish_sentence=1&ellipsis=&read_more=&exclude_tags=img,p,more’)

    It may be that I can’t use the two plugins in combination.
    I am using the Auto More Tag to show part of our content in front of our paywall on pages other than our home page for subscribers. My paywall plugin will show all the content up until the more tag without being registered.

    It may have been that Advanced Excerpts was not honoring the more tag all along. The issue just came up the other day when somebody posted an extremely long post and it showed all of content on the homepage. We normally don’t have as long of post as what they entered.

    Hope this makes sense and I appreciate your help.
    Rick

    Going to try out the dev version linked but yes I’m experiencing the plugin not honoring the more tag as well. Was working flawlessly before the latest update.

    J

    Dev version still didn’t work – the plugin does not respect <!–more–> tags at all, either in the_content or the_excerpt.

    Went to a full site backup and had v4.1.1. Installed that and it works like expected.

    I just ran a test locally with the current dev version and the plugin appears to be honoring the <!–more–> tag corrently.

    I had the following content in my post:

    Content before more tag
    <!--more-->
    Content after more tag

    And I was only seeing “Content before more tag” in my excerpts using any of the following.

    the_content()
    the_excerpt()
    the_advanced_excerpt()

    Bit odd that it’s not working for you.

    I have the same problem with 4.2.2 (the plugin not honouring the <!--more--> tag), but the Github master version (downloaded just a moment ago) solved this almost completely.

    The only issue I currently still have is that excerpts end with:

    (more…) Read more »

    While in my Settings -> Excerpt I have set the ‘Read More Link:’ option to:

    Read more »

    How to get rid of the more... between parentheses?

    Hi hki429,

    I’ve been able to replicate that problem locally, I’ve since fixed it and pushed it up to our git repo. I’ll do a release to the WordPress plugin repo soon.

    Cheers,

    Chris

    Thanks Chris. 🙂

    I still have this problem in 4.2.3 version. The plugin just ignores <!–more–> tag if I want to use it for custom posts.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Not honoring more tag’ is closed to new replies.