If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
August 24, 2013 at 11:11 pm #28399
Just as it says. I’m using the WooCommerce product feed: http://paintballaddiction.com.au/feed/?post_type=product to feed Facebook and Twitter. But the Propulsion theme seems to be screwing up the image for each product in the RSS feed. Here’s a screenshot showing what Feedly sees vs the actual product: https://copy.com/7e7uurZLiTd2Xxxi
I assume this is because the theme doesn’t use the built in Featured Image for the product. Is there a way for us to fix this? Or is it just a bug in the theme that needs updated?August 25, 2013 at 7:19 am #137433August 26, 2013 at 5:14 pm #137434
Well I’m not sure where Feedly’s pulling it from. I didn’t read the raw RSS feed to check. I just knew it wasn’t pulling the correct images.
That’s a cool fix and we’ll implement it, but why isn’t it just built-in to the theme itself? Seems like an obvious feature to include. I mostly ask because I don’t want to loose it when we update the theme.August 27, 2013 at 12:43 am #137435
Its not a feature that everyone typically wants and its easy enough to add in as needed with a function. If you didn’t want to lose it with a theme update you could use a child theme which has its own functions.php file or use a plugin that will let you load in a secondary functions file.
DevinSeptember 2, 2013 at 6:09 pm #137436
There’s a lot of features in this theme that “not everybody wants.” Just seems like it’s something that should be built in.
Regardless, we tried putting it in a plugin and it’s not working. Could you explain “let you load in a 2ndary functions file”? I assume that means a normal plugin won’t do it?September 3, 2013 at 4:46 am #137437
Devin means that you can create a child theme then place Dude’s fix on the child theme’s functions.php to avoid losing it whenever you update the theme.
IsmaelSeptember 3, 2013 at 4:40 pm #137438
Okay, but loading a child theme at this point means we have to redo all the theme’s settings in the child theme. Is there a way to accomplish this with a plugin?September 3, 2013 at 9:48 pm #137439
You can either write it into a plugin as a single file plugin or use a plugin that allows you to add in php code similar to how a child theme would. I don’t know of any off hand but I imagine there would be something available out there for it. If not, as I said you could just write a plugin.
Since most users who are asking for code aren’t really comfortable writing a plugin from scratch we typically don’t recommend it and instead ask that you just add it to your functions.php.
The reality is that just about every how-to, fix, code addition etc for themes is going to ask you to add code to your functions.php file because that is what its there for. Its pretty simple to either keep a backup of that file or just a section of it so that you can re-add it in after a theme update.
DevinSeptember 4, 2013 at 2:58 pm #137440
The topic ‘Wrong images in product RSS feed’ is closed to new replies.