Note that there are some explanatory texts on larger screens.

plurals
  1. POWordpress Shortcodes not rendering content (2 themes)
    primarykey
    data
    text
    <p>I've been having this problem for several weeks now, and would really like to get it resolved. I'm seeing issues like this all over the internet, however everyone is coming up empty.</p> <p>I have 2 custom wordpress themes. One on a Linux (cPanel) Server, and one on a Windows (IIS) Server. Both of them have different custom themes, both of them are loaded with content. The two server php.ini's are identical (or as close as they can be). When I use the provided wordpress theme shortcodes are working fine. However when I take either of the custom themes, and make them active, shortcodes cease to work, they will show up on sidebars, and posts, but there is NO content, and by no content I mean: It shows the title of the widget, but not the actual widget itself.</p> <p>I am quite literally at my wits-end here. This will be the 4th forum post in over a month on different sites, trying to get an answer. No one can help me anywhere. I'm hoping since I've had luck here with other issues, that maybe someone has seen this happen. Even custom shortcodes are not rendering.</p> <p>I thought maybe it was because a script isn't called in the custom theme, but comparing the Wordpress TwentyTwelve theme and mine there are not any differences in the header file.</p> <p>I've called wp_head(); and wp_meta();....So confused. Please help!!!</p> <p><strong>functions.php</strong></p> <pre><code>&lt;?php function wpb_widgets_init() { register_sidebar( array( 'name' =&gt; __( 'Main Sidebar', 'wpb' ), 'id' =&gt; 'sidebar-1', 'description' =&gt; __( 'The main sidebar appears on the right on each page except the front page template', 'wpb' ), 'before_widget' =&gt; '', 'after_widget' =&gt; '&lt;/div&gt;&lt;/div&gt;', 'before_title' =&gt; '&lt;div class="padding"&gt;&lt;div class="top"&gt;', 'after_title' =&gt; '&lt;/div&gt;&lt;div class="bottom"&gt;')); } add_action( 'widgets_init', 'wpb_widgets_init' ); apply_filters('the_content',get_the_content( $more_link_text, $stripteaser, $more_file )) ?&gt; </code></pre> <p><strong>sidebar.php</strong></p> <pre><code>&lt;?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?&gt; &lt;?php dynamic_sidebar( 'sidebar-1' ); ?&gt; &lt;?php endif; ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload