Tagged: x
-
AuthorPosts
-
February 20, 2017 at 5:22 pm #1378898
Hello,
I’m currently building a site which uses several CPT’s (custom post types) to organize info. I’ve done a lot of digging to determine how to setup custom ‘single.php’ and ‘archive.php’ templates for each post type in X.
(in my case, the files are ‘single-etudes.php’ and ‘archive-etudes.php’, plus a few other CPT’s as well)
I can affect changes to my ‘single’ templates, however I can’t seem to affect any changes to my archive page templates. I’m not sure where I’m going wrong.
One of my archive pages goes completely blank (white screen w/no admin bar), and the others don’t seem to change at all from the default X settings, no matter what I try.
I am using PODS to create my CPT’s, and have replicated/modified these three files for my archive pages:
/x-child/archive-etudes.php (copied from main index.php file)
/x-child/framework/views/integrity/wp-index-etudes.php
/x-child/framework/views/global/_index-etudes.phpLink to my website is here (I’ve taken down the maintenance page temporarily):
http://guitaretudes.com &
http://guitaretudes.com/etudes/Finally, I’ve tried entering WP debug mode, and after searching the reported errors it seems the common answer is a problem with the X Theme, though I’m not sure what that would be.
Any help is greatly appreciated!
February 20, 2017 at 11:55 pm #1379299Hi there,
Sorry to hear that you are having trouble. Unfortunately we can’t help much on such custom development. Support covers getting setup, theme features, and bug fixes. If you want to achieve anything with Child Theme then it should be done by you.
Thanks!
February 21, 2017 at 11:32 am #1380116Woah. So, you’re saying that you can’t help me figure out what might be going wrong with YOUR theme? Everything I’ve found so far has come from this forum – knowing what files to copy and best practices, etc. What’s changed?
I like your theme because it helps someone who is not a full-blown developer setup sites in an intuitive way. I’ve built 6 sites on this theme so far, and you’re telling me the second I need anything outside the box you’re not here to help?
Perhaps I’ll start looking for another theme that makes it easier to “do it myself”.
Thanks.
UPDATE: If I switch themes the archive pages suddenly reappear, and I have full control over them. This is clearly an issue with X, so what gives?
February 21, 2017 at 11:53 pm #1380886Hi There,
White blank screen means there’s a fatal error. And if you enable debug mode it will tell you what and where the error is. Try to remove the custom archive template or other custom template you have added and try again. If it works now, add it one by one again to check which file caused the issue.
February 22, 2017 at 1:11 pm #1381734Thanks for the reply. I’ve moved on to try other themes and theme builders, but may come back to this if I can’t solve the problem elsewhere.
As a note: If you build a theme geared toward non-developers (or even just intermediate-level developers), you might expect to have to answer more questions from people who can’t “figure it out” on their own. Just sayin’.
February 22, 2017 at 9:08 pm #1382272Hello There,
You’re welcome!
We’re always here to guide and help. Just note that our support have limitations on customization. It’s always best that if an error occur, it best to back track the steps you have taken so far to check where it is coming from. This link might also help:https://developer.wordpress.org/themes/basics/template-hierarchy/ -
AuthorPosts