WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Single job listing display

[Resolved] Single job listing display

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

    @mikejolley

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

    tanyawright
    Member

    @tanyawright

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

    Plugin Author Mike Jolley
    Participant

    @mikejolley

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

    tanyawright
    Member

    @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

    tanyawright
    Member

    @tanyawright

    No worries i figured it out thanks for the help!

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