willhammond Posted June 16, 2022 Share Posted June 16, 2022 Hi everyone, As the title says, I'm looking for a way to identify the tags/categories of individual summary block items (pulled from a blog page) using JavaScript. I've tried traversing the DOM for any mention of associated data but I came up short. I was wondering if anyone had any way of accomplishing this? Many thanks. Link to comment
tuanphan Posted June 18, 2022 Share Posted June 18, 2022 Can you share link to a page where you added summary? We can take a look Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
willhammond Posted June 20, 2022 Author Share Posted June 20, 2022 Hi tuanphan, Here is the link: https://www.pixelhaze.academy/test Effectively, what I'm trying to do is discover the tags/categories for the individual summary items in the summary block on the page using JS on the page that houses the summary block. For example, the "FREE SQUARESPACE PLUGINS: 11 FREE SQUARESPACE CSS CUSTOM CODE TO SPRUCE UP SQSP" blog post has the tags "custom css for squarespace" and "squarespace css code", whereas the the blog post "SEO FOR BRANDED SEARCH - WHY IT IS VITAL TO YOUR BOTTOM LINE AND WHAT YOU NEED TO DO" blog post has the tags "squarespace seo" and "local seo". Link to comment
creedon Posted June 20, 2022 Share Posted June 20, 2022 To get to categories and tags you'd need to set the meta data options thusly. An alternate that might provide more flexibility but is more complex programmatically, if you use the callback feature, would be Lazy Summaries. tuanphan 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment