Hi all, I am relatively new to jQuery and am struggling with the clone() function.
I have a WordPress blog and am simply trying to take the .post content (the year of the wine in this case) and append it to the .entry-title of the article.
I have clone working! However…it’s appending the .post-content of all of the blogs to each of the .entry-title divs.
How can I tell jQuery I only want to append the .post-content to the .entry-title within that specific article?
Here’s where I am working on this for reference: https://elysabeth.wpengine.com/our-kitchen/
The border currently around it is just to show where the .entry-title div is to make sure the .post-content is appending properly within the title, vs outside of it.
As for modifying the markup directly - Unfortunately, this code I’m trying to wrap is within a DIVI core includes module - and from what the builder developers said, this is not something they would recommend directly editing, and adding it to a child theme was also not recommended because it’s a core module.
Hey, sorry for the late reply… well that link still seems to use the old version. Could you provide a small self-contained example on codepen or something to get WP out of the equation? It’s also a bit hard to tell which elements belong where as all years are the same on that page…
Hm… that sound’s strange, but yes I understand that you don’t want to fork a child theme.