• Resolved acmscim

    (@acmscim)


    The feed is pulling in all HTML strings from my description, which includes H tags, strong tags and colour tags.

    Is there a way I can define the plugin to only pull in the text, and not any of the source code? Or if I can remove description from the Mandatory fields and provide in a Supplement Feed that I am using for colour, gender etc?

    Here’s a snippet from the Final Attributes:

    “<span style=”color: #00a7e0;”>Please note, due to the amount of stretch in the fabric for this product, we would recommend downsizing one size from your usual size. </span> <span style=”color: #282828;”><b style=”color: #282828;”>”

    Great plugin! Look forward to your response. Adam

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hello @acmscim,

    Always great to hear you like our plugin.

    There are two ways we could do this.

    1) You could indeed enter the “clean” text in an attribute and then select that attribute as source for the description (click edit to change the source)

    2) You could use the wppfm_feed_item_value filter to remove the html code in the descripion data. Here is an example on how to use this filter: https://gist.github.com/Auke1810/c62bb043926f539f9a99b418c06a3e6e but if you need any support with this, just let me know.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @acmscim,

    Where you able to solve the issue with one of the two steps I suggested?

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hello @acmscim,

    I hope we were successful in helping you resolve your issue with our Feed Manager plugin! Since we have not heard back from you for almost 2 weeks and we don’t want to leave tickets open forever, I will now be marking this support topic as resolved. However, if we still haven’t resolved your issue please reach out to us as we would be more than happy to further assist you!

    Thanks and have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feed Pulling in HTML Description’ is closed to new replies.