Title: Injects into another plugin&#8217;s DIV?
Last modified: September 29, 2016

---

# Injects into another plugin’s DIV?

 *  [achro](https://wordpress.org/support/users/achro/)
 * (@achro)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/)
 * Is there some way to stop this plugin from injecting the related post code into
   other DIVs?
 * For example, I use Advanced Responsive Video Embedder (I also tried a non-plugin
   solution but the result is the same) and the related posts codes are sometimes
   injected into the video’s DIV, which means the related post is hidden underneath–
   no matter what settings I pick (Interval, Boxes etc.).
    -  This topic was modified 9 years, 8 months ago by [achro](https://wordpress.org/support/users/achro/).

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

 *  Plugin Contributor [intellywp](https://wordpress.org/support/users/intellywp/)
 * (@intellywp)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8250221)
 * Hi,
    thanks for choosing IntellyWP products.
 * Could you please send us more information about how could we reproduce this issue?
   
   We need a web page URL, or more, where we can check the source code to see what
   is going on and, eventually, some screenshots of your plugin settings or about
   how you have defined the script.
 * Please send information by email at [support@intellywp.com](https://wordpress.org/support/topic/injects-into-another-plugins-div/support@intellywp.com?output_format=md)
   
   to open a ticket in our tech team helpdesk.
 * I hope you can understand that, without information, it is very difficult for
   us to figure out how to reproduce your issue and, eventually, help you to fix
   it.
 * Thank you.
 *  [benjaffer](https://wordpress.org/support/users/benjaffer/)
 * (@benjaffer)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8742595)
 * I know this is a bit old thread, but has this been sorted out yet? I have a similar
   issue here. I have added a function to display an optin form below posts and 
   checked the “Insert a box at the end of the post? (if needed)”. Now in some posts
   the related posts appear inside the optin form.
 *  Plugin Contributor [intellywp](https://wordpress.org/support/users/intellywp/)
 * (@intellywp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8744369)
 * Hi benjaffer
 * To hide the inline related posts from specific DIVs, you need to edit the following
   file
 * /wp-content/plugins/intelly-related-post/includes/classes/html/HTMLContext.php
 * at line 196 and add each class name separated by **|**
 * For example:
 * $classes=explode(‘|’, ‘yuzo_related_post|shareaholic-|wp-caption|wordpress-post-
   tabs|class1|class2’);
 * You can also open a ticket in our tech team helpdesk where we will be glad to
   help you, sending an email to [support@intellywp.com](https://wordpress.org/support/topic/injects-into-another-plugins-div/support@intellywp.com?output_format=md).
 * Best regards
 * Alex
 *  [benjaffer](https://wordpress.org/support/users/benjaffer/)
 * (@benjaffer)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8746726)
 * Thanks. That did it. I just wonder if the next update won’t override it. Can 
   you confirm please?
 * Thanks
 *  Plugin Contributor [intellywp](https://wordpress.org/support/users/intellywp/)
 * (@intellywp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8748482)
 * Hi benjaffer
 * Don’t worry 🙂
 * We are working on an update of our plugin to hide the inline related posts from
   specific IDs and Classes added from a new section on the option panel.
 * Could you tell us the name of class that you added on HTMLContext.php file to
   set this class as default?
 * Best regards
 * Alex
 *  [benjaffer](https://wordpress.org/support/users/benjaffer/)
 * (@benjaffer)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8776484)
 * Thanks. Class name is ‘underPostOptin’.So every time I set a new class name and
   find that issue happens, I’ll have to update this?
 *  Plugin Contributor [intellywp](https://wordpress.org/support/users/intellywp/)
 * (@intellywp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8781840)
 * Hi benjaffer.
 * Thank you for this information.
 * When you find this issue with a different class name, may we ask you to update
   the ticket?
 * We’ll include this class as default in a next update.
 * Best regards
 * Alex
 *  [benjaffer](https://wordpress.org/support/users/benjaffer/)
 * (@benjaffer)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8807489)
 * Thanks for your support. Here’s another class I found this issue with `x-columnize`.
 * Thanks
 *  Plugin Contributor [intellywp](https://wordpress.org/support/users/intellywp/)
 * (@intellywp)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8807851)
 * Hi benjaffer.
 * Thanks again for this information.
 * We’ll include the **x-columnize** class as default in the next update.
 * Best regards
 * Alex

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

The topic ‘Injects into another plugin’s DIV?’ is closed to new replies.

 * ![](https://ps.w.org/intelly-related-posts/assets/icon-256x256.png?rev=2672481)
 * [Inline Related Posts](https://wordpress.org/plugins/intelly-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/intelly-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/intelly-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/intelly-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/intelly-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/intelly-related-posts/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [intellywp](https://wordpress.org/support/users/intellywp/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/injects-into-another-plugins-div/#post-8807851)
 * Status: not resolved