Title: Shortcode in Tabbed Content
Last modified: October 10, 2017

---

# Shortcode in Tabbed Content

 *  [keithfeldwickdavis](https://wordpress.org/support/users/keithfeldwickdavis/)
 * (@keithfeldwickdavis)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-in-tabbed-content/)
 * Hi there,
 * Great plugin.
 * But I cant seem to get it to work in tabbed content. I am using the DIVI theme(
   elegantthemes) The first tabbed content shortcode grid is fine, when clicking
   the second tab content – the grid only displays 100px height.
 * Any guidance on how to fix this would be really cool.
    Thanks Keith
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-in-tabbed-content%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Give Away](https://wordpress.org/support/users/family75/)
 * (@family75)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-in-tabbed-content/#post-9573503)
 * Hi,
    the Grid plus don’t work correctly because the Tab you have used. You can
   custom js when you click new tab, the Grid plus will re-init. Your code same:
   $(‘.your-tab’).on(‘click’, function(){ if(typeof(GridPlus) != ‘undefined’) { 
   GridPlus.init(); } }); Let me know if you need more help. Thanks
 *  Thread Starter [keithfeldwickdavis](https://wordpress.org/support/users/keithfeldwickdavis/)
 * (@keithfeldwickdavis)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-in-tabbed-content/#post-9575917)
 * Hi,
    Thanks for getting back to me, appreciate.
 * Ok, I have implemented the above.
 * here is my code in my custom JS
 *     ```
       <script type="text/javascript">
       jQuery( document ).ready(function() {
       jQuery(' .blogtab .et_pb_tab_1 ').on('click', function(){
       alert('gridtest');
       if(typeof(GridPlus) != 'undefined') {
       GridPlus.init();
       }
       });
   
       });
       </script>
       ```
   
 * Still not getting it to work though. The tab button is targeting the JS, but 
   seems to be loading strangely now. The page in question is here – [http://dfstaging.co.za/HFH/explore-cape-town/](http://dfstaging.co.za/HFH/explore-cape-town/)
 * Any ideas as to what to do here.
 * Thanks.
 *  [Give Away](https://wordpress.org/support/users/family75/)
 * (@family75)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-in-tabbed-content/#post-9588114)
 * Hi,
    Please contact via my email: [http://prntscr.com/gxjsa8](http://prntscr.com/gxjsa8)
   to fast help. Thanks
 *  Thread Starter [keithfeldwickdavis](https://wordpress.org/support/users/keithfeldwickdavis/)
 * (@keithfeldwickdavis)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-in-tabbed-content/#post-9598347)
 * Many thanks!

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

The topic ‘Shortcode in Tabbed Content’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/grid-plus_e3e3e2.svg)
 * [Grid Plus - Unlimited grid layout](https://wordpress.org/plugins/grid-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/grid-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/grid-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/grid-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/grid-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/grid-plus/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [keithfeldwickdavis](https://wordpress.org/support/users/keithfeldwickdavis/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/shortcode-in-tabbed-content/#post-9598347)
 * Status: not resolved