Tagged: 404, CPT, custom post types, enfold, Permalinks
-
AuthorPosts
-
August 28, 2014 at 9:36 pm #310659
Our client uses two themes. One for desktop and one for mobile. The site uses a simple theme switcher to determine which theme to present to the user.
The theme used for their mobile presentation is a child of Enfold v2.8.1
Their site has a custom post type called “Videos”
Here is a page that displays that custom post: http://tnreport.staging.wpengine.com/2014/08/28/haslam-committing-new-voucher-legislation/ (hosted on WPengine)
When the link above is viewed on a desktop (and the other theme) it works perfectly. When it is viewed on a mobile platform (and the Enfold theme), the user gets a 404 Page Not Found error.
We have experimented by turning of the theme switcher and making the Enfold theme the only theme used. 404 error.
We have selected a different permalink structure to default. 404 error.
We changed the permalink structure back to our preferred settings (day and name). 404 error.
We have disabled plugins. 404 error.
We have every reason to believe that the source of the problem is the relationship between the custom post type “Video” and the Enfold theme. Perhaps the htaccess file. Perhaps the CPT isn’t registered properly with the theme, or the child theme.
Any assistance or insight you could offer would be greatly appreciated!
August 29, 2014 at 5:11 am #310771Hey scottwgraves!
Thank you for using Enfold.
Honestly, we’re not familiar with theme switcher plugin and regretfully, we cannot provide support for third party plugins or scripts as stated on our support policy due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not included on the theme package will need to be directed to the plugin author. Anyway, how did you add the custom post type ‘Videos’?
Best regards,
IsmaelAugust 29, 2014 at 7:11 am #310802Okay. Forget the theme switcher. Forget the other theme. Both have been disabled and are no longer a variable.
Our client’s site is running WordPress 2.9.2 and Enfold 2.8.1
The site has a custom post type called “Videos”
When we go to permalink to one of the “Videos” post, we get a 404 error: http://tnreport.staging.wpengine.com/2014/08/28/haslam-committing-new-voucher-legislation/ (hosted on WPengine)
We don’t get that error when we try any other theme.
August 29, 2014 at 1:20 pm #310906Hi!
Have you tried all active plugins and check if that helps? Also Enfold version you are using is not the latest. Version 2.9.2 is available on ThemeForest ( please also see – http://vimeo.com/67209750 )
Regards,
YigitAugust 30, 2014 at 7:08 am #311178Version 2.9.2 is installed. Still get a 404 page not found error on any page that uses a custom post type.
Example here: http://tnreport.staging.wpengine.com/2014/08/28/haslam-committing-new-voucher-legislation/ (hosted on WPengine)
August 30, 2014 at 10:29 am #311207Hey!
I tested activating another theme and the 404 error persisted:
http://screencast.com/t/YYqkIsBKLoYBest regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.