• Resolved raefwolfe

    (@raefwolfe)


    My homepage, author pages, and category pages are all populating meta tags with information from the posts within them, rather than information about those pages themselves.

    I’ve tried using is_home() for the homepage issue, but I have been running into problems making that work as expected. Either I can get the homepage meta to display and none of the other pages, or it ignores my is_home() entirely and displays the meta for the most recent post.

    My Author pages (site.com/author/name) each have a small bio and picture of the author at the top, and I thought that would populate the meta description and image fields. It does not; it pulls image, title, and body content from the first post by that author.

    My Category pages are similar; in spite of including the category title and description on each page, it simply includes the post meta content of the most recent post.

    Is there a way to force those page types to ignore meta data from contained posts? Or, in other words, is it possible for post meta data to ONLY show on the post link, rather than on pages it’s aggregated on?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alex MacArthur

    (@alexmacarthur)

    Thanks for sharing this! It’s definitely something I need to address. Unfortunately, there’s no quick fix now and will require a version bump. I’ll try to get it fixed as soon as I have time — probably within the next week or two.

    Thread Starter raefwolfe

    (@raefwolfe)

    Thanks for the fast response!

    I’ll definitely keep using COG in that case. I look forward to seeing any updates on this issue ?? I’ve been desperately trying to avoid the bloat that is Yoast, and other OG plugins just don’t have the simplicity combined with customization options that this does.

    Plugin Author Alex MacArthur

    (@alexmacarthur)

    I appreciate that! I’ve spent a little bit of time putting together a fix, and hope to wrap it up early next week at the latest. I’ll post here when it’s released.

    Thanks!

    Plugin Author Alex MacArthur

    (@alexmacarthur)

    Hi — I just rolled out a fix for the issue you were having. Now, on any archive page (author, category, post type archive, etc…), Complete Open Graph will pull data from your global settings, without having to ‘force’ them.

    If you’d like to set specific data for those types of pages, you’ll currently need to use a filter to accomplish that. See that here:

    https://github.com/alexmacarthur/wp-complete-open-graph#filtering-meta-tags

    If the demand is strong enough, I may build that feature into the plugin as well. It’s a little more intensive than that bug fix, though, so holding off for now.

    Thanks for using the plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to stop posts from overriding meta description, image, etc’ is closed to new replies.