• Resolved Lime Blast

    (@lime-blast)


    I’ve got an issue with the BAL plugin causing text from the generated list of links to appear in the_excerpt().

    You can see this here: https://limeblast.co.uk/ see:

    ContentsIntroductioniOS App Icon TemplateIntroduction I’ve been meaning to make this post for a few months now, but one thing lead to another, and before I knew it an unhealthy amount of procrastination had set in. I really don’t have any real…”

    under the “How to easily create iOS app icons for your website” post on the homepage.

    Any ideas?

    https://www.ads-software.com/extend/plugins/better-anchor-links/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Lime Blast

    (@lime-blast)

    Just a quick follow up to my original post, with some more info, in the hope that someone will be able to help me out.

    I’ve found that while I’m getting the anchor links content on the homepage (see the “How to easily create iOS app icons for your website” post), I’m not getting it on my blog page (see the same post).

    I think this is because of the different ways in which I’m polling for content. i.e. the blog page uses the usual loop, with only a minor modification:

    https://gist.github.com/LimeBlast/897378c3d03a69d11ca9 (which uses the_excerpt();.

    Whereas the homepage, as this is just a regular ‘page’, with its own loop and content, I’m using the following code:

    https://gist.github.com/LimeBlast/071879ab304acd5b16db (which also uses the_excerpt();.

    So my question is, what can I change in the second query to stop the anchor links content from appearing?

    Cheers.

    Thread Starter Lime Blast

    (@lime-blast)

    Sorry, me again, I think I’ve discovered what the real problem was. I’ve just gone in and disabled the auto display option for pages, and the extra content has gone.

    The issue is, this doesn’t really solve my issue, as I still want pages to have the table of contents, I just don’t want the excerpt of the extra loops on that page to have it.

    Plugin Author elpresidento

    (@elpresidento)

    I recomend use manual adding the tag [mwm-aal-display] into post or pages where you want to show list. Sry but your links are dead now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Anchor links appearing in excerpt’ is closed to new replies.