• Resolved kingbolo

    (@kingbolo)


    Hi,
    First of all thanks for the plugin. It suits my need perfectly.

    Installed this yesterday and it seemed to work fine. But today I see that custom fields and post-thumbnail are not showing in the posts using a custom template.

    Situation:
    Prior I had it setup with a single.php containing following code:
    ‘<?php
    $post = $wp_query->post;
    if ( in_category(’37’) ) {
    include(TEMPLATEPATH . ‘/single-shopdetails.php’);
    } else {
    include(TEMPLATEPATH . ‘/single-posts.php’);
    }
    ?>’
    The single-shopdetails.php contains a bunch of custom fields. In this set-up it worked fine, alle the custom fields and post thumbnail were showing.
    But I needed to have about 12 post-templates so I installed custom single post templates manager.

    What is happening now is that the custom posttemplate is used but the custom fields and the post-thumbnail are not showing any more.

    Any ideas what could cause this?

    http://wordpress.org/extend/plugins/custom-single-post-templates-manager/

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

    (@kingbolo)

    Hi,

    Found the cause of this. It had nothing to do with the Custom Single Post Templates Manager plugin.
    A prior wp query caused this. And a wp_reset_query() did the trick.

    Thank you for your plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom fields and post thumbnail not showing’ is closed to new replies.