Title: Insert one ad shortcode inside another
Last modified: July 30, 2020

---

# Insert one ad shortcode inside another

 *  Resolved [jordio](https://wordpress.org/support/users/jordio/)
 * (@jordio)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/insert-one-ad-shortcode-inside-another/)
 * Hi! I’m facing the following issue.
    I have an ad slot with 10 rotating banners
   and would like to add the shortcode for the slot on the other slots. Something
   like this:
    - Slot with 10 ads: [adinserter block=”1″]
    - Another slot: [adinserter block=”2″]
 * So I’d like to add slot 1 into slot 2, like this
 *     ```
       <a href="firsrbanner">first banner</a>
   
       [ADINSERTER ROTATE]
   
       [adinserter block="1"]
       ```
   
 * Is it possible? because I can’t seem to make it work
 * thanks!

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/insert-one-ad-shortcode-inside-another/#post-13189085)
 * This should work.
    But I would suggest to use code atribute for block shortcode
   as this way you get only block 1 code without the wrapping div with alignment
   CSS. [https://adinserter.pro/documentation/manual-insertion#shortcodes](https://adinserter.pro/documentation/manual-insertion#shortcodes)
 *     ```
       <a href="firsrbanner">first banner</a>
   
       [ADINSERTER ROTATE]
   
       [adinserter code="1"]
       ```
   
 * You didn’t post any page address (with remote debugging enabled) so we can’t 
   check:
    [https://wordpress.org/support/topic/ad-inserter-support-before-you-ask-for-help/](https://wordpress.org/support/topic/ad-inserter-support-before-you-ask-for-help/)
 *  Thread Starter [jordio](https://wordpress.org/support/users/jordio/)
 * (@jordio)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/insert-one-ad-shortcode-inside-another/#post-13189167)
 * Wow, that worked, thanks a lot!
    -  This reply was modified 5 years, 10 months ago by [jordio](https://wordpress.org/support/users/jordio/).
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/insert-one-ad-shortcode-inside-another/#post-13189176)
 * You are welcome!
 * > Wow, that worked, thanks a lot!
 * Please say it here:
    [https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post](https://wordpress.org/support/plugin/ad-inserter/reviews/#new-post)
 * Thank you!

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

The topic ‘Insert one ad shortcode inside another’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/insert-one-ad-shortcode-inside-another/#post-13189176)
 * Status: resolved