Templates
-
Found nothing regarding templates in documentation or google…
Did I miss sth?
Working with github demo file, post keeps showing index.html of the theme ( brand new install)
File used as plugin: https://github.com/wp-plugins/advanced-post-manager/blob/master/demo/demo.php
Also tried template structure of Events Calendar Plugin {template}/tribe_movie/default-template.php
Temporary solution: adding default wp custom post init at the end of demo plugin, then I was able to use single-tribe_movie.php
add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'movie', array( 'labels' => array( 'name' => __( 'Products' ), 'singular_name' => __( 'Product' ) ), 'public' => true, 'has_archive' => true, ) ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Templates’ is closed to new replies.