WordPress.org

Ready to get started?Download WordPress

Forums

Per page add to head
[resolved] Edit a tag instead of adding (2 posts)

  1. chophouse
    Member
    Posted 5 months ago #

    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/

  2. Erikvona
    Member
    Plugin Author

    Posted 5 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags