WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Excerpt
Keep Markup: Can't add new tags. (3 posts)

  1. endolil
    Member
    Posted 2 years ago #

    Hi,
    I like this plugin. It is quite handy. :)

    I have a problem with adding new tags for the option 'Keep Markup'.

    Once I added a tag, it shows up in the list of tags.
    It seems to work - what means an <iframe> for instance remains in the excerpt.

    If I safe the options the originally added tags will not remain in the list.
    If I safe the options one more time. The originally added tags get stripped out of my excerpt again what means they don't stay in the options. So it gets automatically deleted from the tag list every time I safe the options.
    It means I need to add all the extra tags again every time I safe the options page but as I already mentioned the tags do not show up in the list.

    http://wordpress.org/extend/plugins/advanced-excerpt/

  2. helgatheviking
    Member
    Posted 2 years ago #

    i can confirm that this is still a problem. Added tags are not re-loaded on refresh, so if you resave, you lose the original additions.

  3. helgatheviking
    Member
    Posted 2 years ago #

    turned out to be a fairly easy fix.

    line 289 in advanced-excerpt.php needs to be changed from:

    $tag_list = array_unique(self::$options_basic_tags + $allowed_tags);

    to:

    $tag_list = array_unique(array_merge(self::$options_basic_tags,$allowed_tags));

    hope that helps.

    @basvd any chance for the upgrade? your profile says you've not been on the forum for a few months and your website is dead. just wondering if this plugin has been abandoned?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic