Using embed parameter after installing plugin not working
-
After upgrading to WP 4.4 all my links to pages with the paramter “?embed=true” are displaying as oEmbed style page fragments.
I am using WordPress 4.x as a regular website and had a listing page of posts to display in an iframe.
Links from within that iframe listing to posts (with some page elements hidden) were constructed in the following format:
https://www.site.com/mydir/postname/?embed=truePreviously I added the “embed” parameter in a query_vars filter in my functions.php for the page to be able to access the ’embed’ parameter.
add_filter('query_vars','add_myqueryvars');
After activating this disable-embeds plugin, the oEmbed output it still shown.
How can I prevent the oEmbed ‘feature’ from hijacking the “?embed=true” parameter?
Thanks.
- The topic ‘Using embed parameter after installing plugin not working’ is closed to new replies.