• Resolved alimirza13

    (@alimirza13)


    Here is code in WP job manager code file which is responsible for displaying logo

    function get_the_company_logo( $post = null, $size = 'thumbnail' ) {
    	$post = get_post( $post );
    
    	if ( has_post_thumbnail( $post->ID ) ) {
    		$src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), $size );
    		return $src ? $src[0] : '';
    	} elseif ( ! empty( $post->_company_logo ) ) {
    		// Before 1.24.0, logo URLs were stored in post meta.
    		return apply_filters( 'the_company_logo', $post->_company_logo, $post );
    	}
    
    	return '';
    }

    I want to modify this filter to remove company logo .
    Any help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    Hi @alimirza13 !

    You are looking to remove all company logos from the job listings page, right?

    If so you might want to customize the content-job_listing.php template.
    Please check out this document about template overrides too: https://wpjobmanager.com/document/template-overrides/

    Thread Starter alimirza13

    (@alimirza13)

    @bindlegirl no I don’t just want to remove it from job listing page but I want to disable it where all jobs appears under Job Listing in dashboard on backend and remove/disable completely from everywhere frontend and backend.

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    That’s a bit more difficult and would require some code customizations that are beyond what we can help with.

    Maybe someone else here will have a suggestion for you so I will leave this thread as unresolved for a while.

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    I’m marking this as resolved since it’s been over 2 weeks with no response. If you still need help with this, please feel free to mark it ‘not resolved’ again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove company logo from All jobs dashboard page’ is closed to new replies.