Title: do_shortcode() doesn&#8217;t show columns
Last modified: September 12, 2017

---

# do_shortcode() doesn’t show columns

 *  Resolved [justyumyum](https://wordpress.org/support/users/justyumyum/)
 * (@justyumyum)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/)
 * hi there
 * i would like display my sld list via a function (see code below). while the basic
   css shows up (switch from style-1 to simple and back) the columns don’t work.
   independent from the style chosen, all entries are display as full-width one 
   column.
 * where do i go wrong?
 * thanks
    carsten
 *     ```
       add_action('genesis_before_footer','jyy_sdl',50);
   
       function jyy_sdl(){
         if (is_singular('event')|| is_front_page() || is_home()){
       	echo('<div class="jyy-before-footer-container">');
         	echo('<div class="site-inner">');
       	echo(do_shortcode('[qcopd-directory style="style-1" mode="all" column="3" orderby="title" order="ASC"]'));
       	echo('</div>');
         	echo('</div>');
   
       	add_action('wp_footer','jyy_sdlCustomCSS',100);
       	function jyy_sdlCustomCSS(){
       		echo('<style>
       			/* normal states */
       			div.qcopd-list-wrapper h2{font-size: 16px;font-weight: 300;margin:0;padding:0;color:#fafafa}
       			div.qcopd-list-wrapper .style-1 .ca-menu li{height:75px}
       			div.qcopd-list-wrapper .style-1 .ca-icon{top:18px}
       			div.qcopd-list-wrapper .style-1 .ca-main{font-size:14px !important;text-align: left;font-weight:300}
       			div.qcopd-list-wrapper .style-1 .ca-sub{font-size: 11px !important;padding-top:0}
   
       			/* hover states */
       			div.qcopd-list-wrapper .style-1 .ca-menu li:hover{background-color:;border-color:;}
       			div.qcopd-list-wrapper .style-1 .ca-menu li:hover .ca-icon img{width:40px:height:40px}
       			div.qcopd-list-wrapper .style-1 .ca-menu li:hover .ca-main{color:;}
       			div.qcopd-list-wrapper .style-1 .ca-menu li:hover .ca-sub{font-size:12px !important;color:;padding-top:0}
       			</style>');
       	}
         }
       }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdo_shortcode-doesnt-show-columns%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [QuantumCloud](https://wordpress.org/support/users/quantumcloud/)
 * (@quantumcloud)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9489654)
 * Code looks alright. Difficult to check this without the genesis theme. We will
   try to get a hold of it and let you know.
 * Thanks
 *  Thread Starter [justyumyum](https://wordpress.org/support/users/justyumyum/)
 * (@justyumyum)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9489680)
 * Thanks.
 * Should have mentioned that using the shortcode the classical way within page 
   or post via editor works.
 * Should I send you my theme files then?
    -  This reply was modified 8 years, 7 months ago by [justyumyum](https://wordpress.org/support/users/justyumyum/).
 *  Plugin Author [QuantumCloud](https://wordpress.org/support/users/quantumcloud/)
 * (@quantumcloud)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9489735)
 * Got it. We are checking. Thanks
 *  Thread Starter [justyumyum](https://wordpress.org/support/users/justyumyum/)
 * (@justyumyum)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9501759)
 * Hey guys,
 * any news on this?
 * Thanks
    Carsten
    -  This reply was modified 8 years, 7 months ago by [justyumyum](https://wordpress.org/support/users/justyumyum/).
 *  Plugin Author [QuantumCloud](https://wordpress.org/support/users/quantumcloud/)
 * (@quantumcloud)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9505573)
 * Sorry, no good news yet. Still trying get a hold of the theme.
 *  Plugin Author [QuantumCloud](https://wordpress.org/support/users/quantumcloud/)
 * (@quantumcloud)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9510500)
 * We just released a new version. Can you check if your issue is resolved with 
   this one?
 * Thanks
 *  Thread Starter [justyumyum](https://wordpress.org/support/users/justyumyum/)
 * (@justyumyum)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9511902)
 * Hi guys,
 * the update fixed the issue for me.
 * THANKS!
 *  Plugin Author [QuantumCloud](https://wordpress.org/support/users/quantumcloud/)
 * (@quantumcloud)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9512291)
 * You are most welcome! Please consider giving a good review and rating to the 
   plugin here.
 * Many thanks in advance.
 *  Plugin Author [QuantumCloud](https://wordpress.org/support/users/quantumcloud/)
 * (@quantumcloud)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9512292)
 * You are most welcome! Please consider giving a good review and rating to the 
   plugin here.
 * Many thanks in advance.

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

The topic ‘do_shortcode() doesn’t show columns’ is closed to new replies.

 * ![](https://ps.w.org/simple-link-directory/assets/icon-256x256.png?rev=1826196)
 * [Simple Link Directory](https://wordpress.org/plugins/simple-link-directory/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-link-directory/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-link-directory/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-link-directory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-link-directory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-link-directory/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [QuantumCloud](https://wordpress.org/support/users/quantumcloud/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-show-columns/#post-9512292)
 * Status: resolved