Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter sithadro

    (@sithadro)

    Problem solved. I modified the file main.php from Magic Fields 2 plugin root directory.

    // Check if the post has a special template
      $template = get_post_meta($post->ID, '_wp_mf_page_template', true);
    
      if (!$template || $template == 'default') {
        return;
      }
    
      $template = TEMPLATEPATH.'/'.$template;
       if (is_search()) {
        return;
      }
    
      if ( $template = apply_filters( 'template_include', $template ) ) {
        include($template);
        die();
      }
      return;
    }
Viewing 1 replies (of 1 total)