Tag Info

Hot answers tagged

1

Could be as simple as using the full function in the template file: <?php comments_template( '', true ); ?> Be sure you have a comments.php file in the theme folder. And be sure you're using the full loop: <?php require('/the/path/to/your/wp-blog-header.php'); ?> <?php $posts = ...


1

As Pages are a special built in Posttype, they get an own template hierarchy. Other "normal" post types and custom post types can only be templated by "single-$posttype.php". You can however hook into the single_template filter and make wordpress redirect to your template file: function get_custom_post_type_template($single_template) { global $post; ...



Only top voted, non community-wiki answers of a minimum length are eligible