Do shortcodes register with WP or not

Hello Support Team,

I use a plugin for WordPress Social and Search Optimization … It automatically creates complete & accurate meta tags and Schema markup from your content for social sharing, social media / SMO, search / SEO / rich cards, and more.

So far so good, but with Pro and the use of the WPSSO plugin (https://de.wordpress.org/plugins/wpsso/) I discovered some problems and I have the following questions:

Do Pro shortcodes register with WP or not? If those shortcodes are not registered with WP, then WP (and WPSSO) cannot expand them into text.

If not why? What are your plans for migrating to WP v5 with Gutenberg (coming in a few months and will make page builders obsolete).

If yes what is wrong with my installation?

Can you help to achieve a correct working or at least do you think you can address the issues as a bug and correct it?

Thanks for helping, A.

Screenshot of shortcodes not being expanded into text: https://d.pr/i/dIxgaU

Hey @amarinos,

Thanks for writing in. Regretfully, I’m not sure what you mean by register. Technically the shortcode is registered. The V2 element’s shortcode including works differently than the Classic Element shortcodes where data is actually in the content. The data for the V2 elements are stored in the post meta this is why it will not currently work with standard shortcode integrations.

There’s currently no plans for Gutenberg. You can read the latest news from in our News section.

Thanks.

@christian_y you say: “… I’m not sure what you mean by register …”

Here is information about the WP shortcode API: https://codex.wordpress.org/Shortcode_API

What do you mean exactly with this statement:

“… technically the shortcode is registered …”

Do you register all shortcodes using the https://codex.wordpress.org/Function_Reference/add_shortcode function.

Best,
A.

Hey A,

Thanks for clarifying. All shortcodes are added/registered using add_shortcode that is why I said they are technically registered. But, as said previously, the builder’s shortcodes are quite complex. For instance, Yoast SEO plugin can actually scan content from shortcodes. But since the new shortcodes in Cornerstone / Content Builder stores shortcode contents in the post meta and not in the shortcode attributes which is posted in the content, plugins could not read those attributes. This is a known issue which might get addressed in the future. For now, there is no solution to this.

Thank you for understanding.

Hi again,

a known issue which might get addressed, really? This is not a real customer satisfaction!

I think it should get addressed in the near future, or in other words in some of the next updates/releases?

And I think that Yoast SEO strips out the shortcodes - that’s why it maybe works without problems.

For me, this should be included as a bug/issue officially and a solution should be available soon.

Is there an issue tracker to follow?

Best, A.

Hi,

Our issue tracker is internal and is not available to customers.

It’s SEO Yoast limitation, it doesn’t analyze the actual page when rendered but it checks the raw content of an editor. Example, this is [image] shortcode, SEO Yoast will not recognize that. That’s because [image] is not an image,[image] is only processed and converted to <img> when rendered on the live page.

Hence, their basis of analysis is not accurate and this issue is been there, ever since they changed that standard and ever since the first version of a cornerstone. https://stackoverflow.com/questions/31289975/yoast-seo-plugin-not-recognising-content-from-the-wordpress-template15

Search engines don’t check your sites internals like raw content or database, they check your live pages’ final output. I’m not sure why SEO Yoast does that.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.