katharinemadden
Forum Replies Created
-
Thank you, Dennis, for these suggestions. I’ve only just seen that you replied.
Unfortunately, the og:image is still defaulting to the site logo.
1. I did exactly as you suggested, twice! The second time, after removing the og:image and saving the settings, I cleared the cache again. Then, I added the image again and saved changes.
2. Yes, the CPT does have an archive. This screenshot is from the JetEngine CPT settings:

3. I couldn’t find is_post_type_archive in the source code for any of the CPT archive pages, but they all have this highlighted code:



Is there any way to edit code directly? I’m not very familiar with editing backend files, but WPX Hosting have great HUMAN! support and if you’re able to let me know what file needs to be edited and the exact syntax, I could ask WPX to do that for me. Of course, I could download the original file as a backup before any changes were made.
Or do you perhaps have any other suggestions?
Thanks, again, for being willing to help. 🙂
Katharine
Thank you, Benjamin, for your suggestion. Before I change everything, I’ll try to be more clear about what I’ve done.
Importantly, I’ve simply replicated a previous process that works perfectly. There are two other CPTs with archive pages that were created in Elementor theme builder, which have their respective OG images set in Social Networks > Facebook (Open Graph) > [CPT slug].
Here’s a screenshot that shows all three CPTs, along with their slugs:

And here’s a screenshot that shows the OG images for Verse Images archive and Daily Word archive arre set in Social Networks > Facebook (Open Graph):

This screenshot shows that the Book archive page has been created in theme builder:

Here are two screenshots that show the two other CPT archive pages were also created in Elementor theme builder:


This is why I’m confused that the Book OG image isn’t working, given that both the Verse Images and Daily Word OG images do work.
In other words, the fact that this CPT OG image is behaving differently tells me something isn’t right, but I don’t know what!
The other thing is that if I create another page with the slug [book] then I assume it wouldn’t be part of the theme builder, which is truly where I want it to be.
Any further advice would be much appreciated — thank you!