• Hi,

    My website’s homepage isn’t processing the shortcodes for tabs. This page is generated by a call on index.php by my developer.

    the shortcodes I’m using are:
    [su_tabs vertical="yes" apply-filter="do_shortcodes"][su_tab title="Title 1"]Content 1[/su_tab] [su_tab title="Title 2"]Content 2[/su_tab] [su_tab title="Title 3"]Content 3[/su_tab][/su_tabs]

    click here for a screenshot of the issue

    We are trying to fix this issue to launch the website.

    The code we are using to pull the specific content for index.php:

    <div class="site-content">
    	<div class="post-content">
    		<div class="post-area">
    
    			<?php
                             $home_id = 9617;
                             $home_content=get_post($home_id);
    			 $page_id = get_the_ID();
                             $blog_content=get_post('47');
    			 $page_id = get_the_ID();
    
    			?>
    
    			<h2>
    				<?php //echo $home_content->post_title; ?>
    			</h2>
    			<p>
    				<?php echo $home_content->post_content; ?>
    
    			</p>
    		</div>

    Do you notice anything about the code we are using that could be causing the shortcodes not to work? We appreciate your assistance in this matter. Thank you.

    https://wordpress.org/plugins/shortcodes-ultimate/

  • The topic ‘homepage of website is not processing shortcodes.’ is closed to new replies.