• Resolved m4ndi

    (@m4ndi)


    In the file “class-job-postings.php”, in the function “jobs_custom_template” line 815, you need to check if $post exists. It’s tiny but it’s throwing up a warning and I hate warnings.

    public function jobs_custom_template( $template ) {
        ...
        if (isset($post) && $post->post_type == "jobs"){
        ...
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Small bug’ is closed to new replies.