CODESIGN2 Content Section Plugin Same-site oEmbed
Allows same-site oEmbed of content sections plugins (gives a better visual appeal)
by CODESIGN2 · github.com/codesign2/wordpress-content-section-oembed · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/codesign2/wordpress-content-section-oembed/archive/refs/heads/master.zipFrom the readme
WordPress-Content-Section-oEmbed
Allows same-site oEmbed of content sections plugins (gives a better visual editor experience)
Usage
Requires https://github.com/CODESIGN2/WordPress-Content-Sections/ installed to do anything
usage is pretty much as simple as pasting in valid ajax content section title
http://yoursite.com/wp-admin/admin-ajax.php?action=getcontentsection&name={your-content-section-name}
Attribution
Inspired by past works
https://github.com/CODESIGN2/WordPress-Content-Sections/issues/1
https://make.wordpress.org/core/2016/12/24/idea-uniform-resource-identifiers-as-an-alternative-to-shortcodes/
https://github.com/WordPress/gutenberg/issues/150
Alternatives
A Visual shortcode editor would be another way to achieve, but so far an elegant solution for that has eluded CD2, as the API modified, is poorly documented and represents more potential change.
What it does?
This is not for making your site oEmbed into other sites, it's for making the content section plugin oEmbed into the same site it's hosted on.
Contributing
There may be better ways to do this, so submit an issue, PR, fork, blog about how to do it better etc. Also check branches as there are current