Title: Using embed parameter after installing plugin not working
Last modified: August 31, 2016

---

# Using embed parameter after installing plugin not working

 *  Resolved [jpm1234](https://wordpress.org/support/users/jpm1234/)
 * (@jpm1234)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/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:
    [http://www.site.com/mydir/postname/?embed=true](http://www.site.com/mydir/postname/?embed=true)
 * Previously 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.
 * [https://wordpress.org/plugins/disable-embeds/](https://wordpress.org/plugins/disable-embeds/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/using-embed-parameter-after-installing-plugin-not-working/#post-7072043)
 * Hey there
 * This is not really the right place to ask this, as it’s not related to the Disabled
   Embeds plugin, but WordPress itself.
 * The WordPress embeds feature relies heavily on the `embed` query var (the “?embed
   =true” parameter) and support for that is tightly coupled to the `WP_Query` class.
   This query var should not be used by plugins or themes so **I highly recommend
   you to avoid that** and use a different query var.
 * As you can see [on this page](https://codex.wordpress.org/Reserved_Terms), `embed`
   is a reserved term in WordPress.
 *  Thread Starter [jpm1234](https://wordpress.org/support/users/jpm1234/)
 * (@jpm1234)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/using-embed-parameter-after-installing-plugin-not-working/#post-7072044)
 * Hi Pascal,
 * I did just end up changing the parameter name.
 * The problem with that reserved terms page is that it keeps changing 🙂
    Back 
   to April 2015 “embed” was not a reserved term..
 * [https://web.archive.org/web/20150403231410/http://codex.wordpress.org/Reserved_Terms](https://web.archive.org/web/20150403231410/http://codex.wordpress.org/Reserved_Terms)
 * It would have been nice for the WP_Query class to use wpembed as a query var 
   or something more wordpress specific to avoid conflicts but I suppose someone
   else could have been using that beforehand as well :\
 * Cheers

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using embed parameter after installing plugin not working’ is closed 
to new replies.

 * ![](https://ps.w.org/disable-embeds/assets/icon.svg?rev=1271646)
 * [Disable Embeds](https://wordpress.org/plugins/disable-embeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-embeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-embeds/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-embeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-embeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-embeds/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jpm1234](https://wordpress.org/support/users/jpm1234/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/using-embed-parameter-after-installing-plugin-not-working/#post-7072044)
 * Status: resolved