Support » Plugin: Per page add to head » Edit a tag instead of adding

  • Resolved chophouse

    (@chophouse)


    How do I use this plugin to edit a tag instead oof adding one?

    I added a new description tag, but now the FB debugger is giving me tis error:

    “The parser’s result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: ‘og:description'”

    https://wordpress.org/plugins/per-page-add-to/

Viewing 1 replies (of 1 total)
  • Plugin Author Erikvona

    (@erikvona)

    Simply put, you can’t. Due to the way WordPress works, you can’t remove anything a theme or plugin adds to a post by another plugin.

    What you can do, is one of the following:
    Edit the theme or plugin that posts the incorrect data to remove the incorrect data, and then use this plugin to post the correct data (make sure to use child themes, or redo the changes after a theme or plugin update if you use this).

    Use JavaScript to change the incorrect data to the correct data, or use JavaScript to remove the incorrect data and post the correct data (you can use this plugin to add JavaScript to the head section, but JavaScript will also work in the body section. Changing descriptions or other metadata with JavaScript can sometimes yield unexpected results.

    Also, some plugins can automatically edit your theme to remove SEO tags placed by your theme (WordPress SEO By Yoast, for example). This is a function I WON’T add to this plugin, because the goal of this plugin is to stay simple and multifunctional. This is not primarily an SEO plugin. Also, theme edits will be undone when the theme is updated, so this can require additional maintenance.

Viewing 1 replies (of 1 total)
  • The topic ‘Edit a tag instead of adding’ is closed to new replies.