[WP e-Commerce] Template Hierarchy is Hijacked
The Plugin: WP e-Commerce is hijacking all pages and posts, and forcing them all to use this template hierarchy:
It’s overriding the WordPress Template Hierarchy. This breaks my entire site. I have many custom pages and custom post-types and their respective custom template files. This plugin is ignoring my custom template files, and instead, it’s displaying my custom pages and even single posts using page.php.
The documentation at Getshopped.org has this clue:
Developers Note: Please refer to the function wpsc_get_template_file_url in wp-e-commerce/wpsc-includes/theme.functions.php
Inside that file, I see page.php mentioned around line 1068. That must be where it’s forcing EVERY post or page to use page.php. If anyone knows how to undo this overriding of the template hierarchy, please post it here.
- The topic ‘[WP e-Commerce] Template Hierarchy is Hijacked’ is closed to new replies.