Title: Show only two elements
Last modified: August 22, 2016

---

# Show only two elements

 *  Resolved [Anatoli Stancioff](https://wordpress.org/support/users/manate/)
 * (@manate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/)
 * Hello every body and thank’s for reading this post,
 * I would like to use the shortcode onload_show_element_only for two elements, 
   is it possible ?
 * Thank’s for your help,
 * Anatole
 * [https://wordpress.org/plugins/advanced-iframe/](https://wordpress.org/plugins/advanced-iframe/)

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

 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5444935)
 * No. If you want to show 2 elements you can e.g. show the element that surrounds
   both and than hide the elements you don’t want to have then.
 * Best, Michael
 *  Thread Starter [Anatoli Stancioff](https://wordpress.org/support/users/manate/)
 * (@manate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5444956)
 * Thank’ again Michael but if i want to use the show_element_only, it’s because
   the hide_element is not working for my frame…
 * I really don’t understand, it’s weird but i just tried to hide .header-wrap and
   there was no effect…
 * In fact i just need one element but in this element, there is a way to click 
   on an image to open it with pp_pic_holder.
    And if i display only my element,
   then pp pic holder is not displayed and the click on image redirect to a white
   page.
 * Thank’s for your comprehension, i’m still trying the hide_element so i hope it
   will work.
 * Best, Anatole
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5444967)
 * Are you on the same domain?
 *  Thread Starter [Anatoli Stancioff](https://wordpress.org/support/users/manate/)
 * (@manate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5444974)
 * Yes I am
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5444976)
 * Using show_element_only does remove the whole other dom tree. So this should 
   not be used if there are e.g. button with javascript in this section as they 
   get removed in this version.
    I have added support (keeping events) for this 
   in the pro version and this will be part of the free version also but before 
   that I want to create some video tutorials first. And even than it is not sure
   that such stuff works as if you have e.g. inline Javascript this gets removed
   as well. So hidding elements is the better way if you have events attached right
   now.
 *  Thread Starter [Anatoli Stancioff](https://wordpress.org/support/users/manate/)
 * (@manate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5444983)
 * Ok thank’s very much for your help Michael i will find a way to make it work,
   like always.
 * Have a good day
 *  Thread Starter [Anatoli Stancioff](https://wordpress.org/support/users/manate/)
 * (@manate)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5445068)
 * Excuse me for the trouble but if you read this post again, I would like to know
   if i use the correct syntax to hide header-wrap class because it’s not working.
 * iframe_hide_elements=”.header-wrap”
 * Thank’s and sorry for disagreement.
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5445070)
 * I don’t know your page but is the element has class=”header.wrap” this should
   be the correct syntax.
    So any url to check would be helpful

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

The topic ‘Show only two elements’ is closed to new replies.

 * ![](https://ps.w.org/advanced-iframe/assets/icon-128x128.png?rev=1028488)
 * [Advanced iFrame](https://wordpress.org/plugins/advanced-iframe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-iframe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-iframe/reviews/)

## Tags

 * [iframe](https://wordpress.org/support/topic-tag/iframe/)

 * 8 replies
 * 2 participants
 * Last reply from: [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/show-only-two-elements/#post-5445070)
 * Status: resolved