WordPress.org

Ready to get started?Download WordPress

Forums

WP Job Manager
[resolved] Single job listing display (6 posts)

  1. tanyawright
    Member
    Posted 9 months ago #

    The single job listing page does not display any other information apart from the description of the job.
    I have tried to rectify it by using the single job ad shortcode but it displays two of the same ad.
    Any ideas?

    https://wordpress.org/plugins/wp-job-manager/

  2. Mike Jolley
    Member
    Plugin Author

    Posted 9 months ago #

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

  3. tanyawright
    Member
    Posted 9 months ago #

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

  4. Mike Jolley
    Member
    Plugin Author

    Posted 9 months ago #

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

  5. tanyawright
    Member
    Posted 9 months ago #

    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

  6. tanyawright
    Member
    Posted 9 months ago #

    No worries i figured it out thanks for the help!

Reply

You must log in to post.

About this Plugin

About this Topic