viktorthang / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
0 stars 0 forks source link

Custom template does not work #564

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem? (Be *specific*)
1. I have created a custom post type
2. than I click on View Sample Templates for this content type
3. than I save single-custompost.php in the right folder
4. but nothing changes and I have always the rendering of my single.php file

Is it normal?

Does the problem continue if you disable all other plugins? (plugin
conflicts cause a LOT of problems, so please isolate the problem)

Yes the problem continue.

Please copy and paste the system information that appears in a yellow
textarea when you click on "Report a Bug" on any CCTM admin screen (this
includes the version of the
plugin, the version of PHP, the version of MySQL, a list of other active
plugins etc.):
PHP Version: 5.3.10-1ubuntu3.13
MySQL Version: 5.5.38-0ubuntu0.12.04.1
Server OS: Linux
Language: it_IT
------------------------ 
ACTIVE PLUGINS: 
 * Akismet v.3.0.0 [http://akismet.com/]
 * All-in-One Event Calendar by Time.ly v.2.0.11 [http://time.ly/]
 * bbPress Notify v.0.2.1 []
 * bbPress Threaded Replies v.0.4.3 []
 * bbPress v.2.5.4 [http://bbpress.org]
 * Custom Content Type Manager : Advanced Custom Post Types v.0.9.7.13 [http://code.google.com/p/wordpress-custom-content-type-manager/]
 * Google Analytics for WordPress v.4.3.5 [http://yoast.com/wordpress/google-analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=wpgaplugin&utm_content=v420]
 * Google XML Sitemaps v.4.0.6 [http://www.arnebrachhold.de/redir/sitemap-home/]
 * Import Users from CSV v.1.0.0 [http://wordpress.org/extend/plugins/import-users-from-csv/]
 * Jetpack by WordPress.com v.3.0.1 [http://wordpress.org/extend/plugins/jetpack/]
 * Maintenance Mode v.5.4 [http://sw-guide.de/wordpress/plugins/maintenance-mode/]
 * s2Member Framework v.140603 [http://www.s2member.com/framework/]
 * Simple Local Avatars v.2.0 [http://10up.com/plugins/simple-local-avatars-wordpress/]
 * Toggle wpautop v.1.1.1 [http://wordpress.org/extend/plugins/toggle-wpautop]
 * Twenty Eleven Theme Extensions v.1.2 [http://moztools.com/wordpress/theme2011-plugin]
 * User Switching v.0.9 [https://johnblackbourn.com/wordpress-plugin-user-switching/]
 * MailPoet Newsletters v.2.6.6 [http://www.mailpoet.com/]
 * Youtube Channel Gallery v.1.8.7 [http://www.poselab.com/]
------------------------ 
CURRENT THEME: Twenty Eleven v.1.5 
http://wordpress.org/extend/themes/twentyeleven

Thank you

Original issue reported on code.google.com by aborr...@gmail.com on 23 Jul 2014 at 2:05

GoogleCodeExporter commented 8 years ago
Template routing is one of the weakest features of WP and one of the most 
difficult to debug.  I'm not sure if anything has changed in 3.9.1.  To be 
sure, is your post-type named "custompost" and are you viewing a single page of 
that type?

Original comment by ever...@fireproofsocks.com on 23 Jul 2014 at 2:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm sure that post-type is named "custompost" and that I'm viewing a single 
page of that type.

Thank you

Original comment by aborr...@gmail.com on 26 Jul 2014 at 9:21

GoogleCodeExporter commented 8 years ago
Moreover I have also changed theme and disabled plugins, but I have the same 
worng results :(

Original comment by aborr...@gmail.com on 28 Jul 2014 at 1:24

GoogleCodeExporter commented 8 years ago
Have you tried switching to a different theme?

Original comment by ever...@fireproofsocks.com on 28 Jul 2014 at 1:35

GoogleCodeExporter commented 8 years ago
Yes, I have switched off plugins and used another theme

Original comment by aborr...@gmail.com on 28 Jul 2014 at 1:37

GoogleCodeExporter commented 8 years ago

Original comment by ever...@fireproofsocks.com on 11 May 2015 at 5:32