Title: How to implement this plugin code correctly
Last modified: July 22, 2023

---

# How to implement this plugin code correctly

 *  [Bliss7](https://wordpress.org/support/users/bliss7/)
 * (@bliss7)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/how-to-implement-this-plugin-code-correctly/)
 * I don’t know why, but I have a sidebar unit that I’m trying to wrap inside the
   plugin code, but it does not work. Yet, my other ad units seem to display fine
   even with using this AICP plugin. And they were using this code for years now.
 * I have a NEW sidebar Adsense unit that does not seem to like this plugin and 
   if I add the AICP code to it, it will trigger some CSS errors that don’t look
   nice.
 * I am wondering why? Is there a simple way of adding this code without disfiguring
   the appearance of my site? I’m not a techie person, and there seems to be no 
   proper step by step guide.

Viewing 1 replies (of 1 total)

 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/how-to-implement-this-plugin-code-correctly/#post-16917119)
 * Hi [@bliss7](https://wordpress.org/support/users/bliss7/),
   I don’t know how you
   have setup the sidebar. You can either use Ad Inserter to create a shortcode 
   for those ads with the custom code or you can create your own shortcode for the
   sidebar ad unit and use the shotcode on the sidebar.

Viewing 1 replies (of 1 total)

The topic ‘How to implement this plugin code correctly’ is closed to new replies.

 * ![](https://ps.w.org/ad-invalid-click-protector/assets/icon-256x256.png?rev=1534940)
 * [Ad Invalid Click Protector (AICP)](https://wordpress.org/plugins/ad-invalid-click-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-invalid-click-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-invalid-click-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-invalid-click-protector/reviews/)

## Tags

 * [appearance](https://wordpress.org/support/topic-tag/appearance/)
 * [code](https://wordpress.org/support/topic-tag/code/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/how-to-implement-this-plugin-code-correctly/#post-16917119)
 * Status: not resolved