Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    This doc contains info on this subject https://wpjobmanager.com/document/dealing-troublesome-themes/

    Thread Starter tanyawright

    (@tanyawright)

    Thanks,
    im still trying to figure it out, any ideas why the single job shortcode produces 2 ads?

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Possibly because it has the_content() twice in the loop.

    Thread Starter tanyawright

    (@tanyawright)

    Hi,
    this is what is in the single.php file…

    <?php
    	get_header();
    	$post_type = get_post_type();
    	$sidebarPosition = get_option ( THEME_NAME."_sidebar_position" );
    	$sidebarPositionCustom = get_post_meta ( $post->ID, THEME_NAME."_sidebar_position", true ); 
    
    	if($post_type == "gallery") {
    		get_template_part(THEME_INCLUDES . 'top');
    		get_template_part(THEME_INCLUDES.'gallery-single','style-1');
    	} else {
    		get_template_part(THEME_INCLUDES . 'top');
    		get_template_part(THEME_INCLUDES.'news','single');
    
    		get_footer();
    	}
    
    ?>

    i just cant work out where to put the content loop in so that it stays within the themes styling but shows the whole content of the job ad

    Thread Starter tanyawright

    (@tanyawright)

    No worries i figured it out thanks for the help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Single job listing display’ is closed to new replies.