• The job manager plugin said the problem was that my shortcodes are not rendering but they don’t know where in the theme the probem is as not related to the plugin itself. They gave this link and I downloaded the plugin suggested to show the page for where to find it. https://kb.yoast.com/kb/shortcodes-not-rendering/

    However, I can’t find anyything resembling the error mentioned in the article on that page’s code. Any help would be really appreciated

    <?php
    /**
     * The template for displaying pages
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages and that
     * other "pages" on your WordPress site will use a different template.
     *
     * @package WordPress
     * @subpackage Twenty_Sixteen
     * @since Twenty Sixteen 1.0
     */
    
    get_header(); ?>
    
    <section id="jobs-news" class="inner-page-padding">
    	<div class="container">
    		<div class="row">
    		<?php
    		// Start the loop.
    		while ( have_posts() ) : the_post();
    		get_template_part( 'template-parts/content', 'page' );
    		endwhile;
    		?>
    		<?php get_sidebar(); ?>
    	
    		</div><!-- .row -->
    	</div><!-- .content-area -->
    </section>
    
    <?php get_footer(); ?>
    

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello
    please add this code

    the_content();

    under that line
    while ( have_posts() ) : the_post();

    may be that is not added into content file.

    Thread Starter clare99

    (@clare99)

    Thanks for the suggestion. When I do that on WP it says nonce_failure and when I did it on my host’s editor it made [jobs] also appear above the top heading.

    Anonymous User

    (@anonymized-14834838)

    Are you entering the shortcode in the WordPress page editor? It looks like something (possibly the way the theme is outputting content) is not applying filters correctly to your main content – Can you post the section of your page.php template (if you have one) that deals with outputting the content?

    do the shortcodes render if you temporarily switch to one of the default Twenty… themes?

    Thread Starter clare99

    (@clare99)

    @shifisteve that is what I added to the question above. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcodes not rendering but can’t find error’ is closed to new replies.