Support » Plugin: Custom Post Template » Doesn't work with a Child Theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • Add lines below to custom-post-templates.php:176 (version 1.5)

    $post_templates = array();
    
    		$files = (array) $theme->get_files( 'php', 1 );
    		// MOD START
    		if ( $theme->parent() )
    			$files += (array) $theme->parent()->get_files( 'php', 1 );
    		// MOD END

    Thank you very much!

    I have the same issue. The fix 082net posted works, but is there a way to fix this in the theme? If I ever update this plugin, chances are I will lose this fix.

    You could submit a patch : )

    FYI Mine works fine in a child theme, I think it must depend on the Theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Doesn't work with a Child Theme’ is closed to new replies.