- kapostolou December 22, 2013 at 12:54 pm
Hi Juan,
I just noticed that if i enter an invalid url on my site that the 404 template doesn’t seem to trigger and I end up on a blank screen.
How do I fix that?
Thanks,
KostaJuanfra Aldasoro December 22, 2013 at 3:29 pmHi Kosta,
Thanks for writing. Yes, the 404 template is blank.
You’ll need to work on the 404.php template, the best way would be getting the basics from page.php or template-full-width.php
Best,
Juan.kapostolou December 22, 2013 at 6:40 pmOk…just a suggestion – it would be nice if we could just create a page and have an option in NiceThemes->ThemeOptions to just redirect, even if just to a statics 404 paid that says “Page not found” or whatever text we put on the 404 page.
Also, is there a way to exclude certain pages from appearing on the sitemap template?
Juanfra Aldasoro December 22, 2013 at 6:59 pmGreat, thanks for the suggestion. We’ll check the possibilities to make something like that.
With regards to the sitemap template, at the moment is listing all the pages, categories and posts per categories.
To exclude a page from that list, you’ll need to edit the file template-sitemap.php and change the query for wp_list_pages() using the ‘exclude’ parameter with the IDs of the pages to exclude. Here’s the link of the documentation for that function: http://codex.wordpress.org/Function_Reference/wp_list_pages
Best,
Juan.kapostolou December 22, 2013 at 8:10 pmYes, I think something like like that should be fairly simple to add. I just added a “header(Location: myurl);” to the last line of the 404 template and it worked fine. It would make an already great theme even more complete. It’s pretty basic, but at least it’s a “graceful” 404.
Is there somewhere we can post suggestions? Another idea I had was to allow us to enter the number of infoboxes to display. I went through the forums and adjusted the line of code to display 6 of them.
Again, the theme is awesome and I love it… just offering some constructive feedback.
Also, dynamically adding google fonts was easy too. Again, something small that should be fairly easy to implement.
Those are the customizations I made so far. It would be nice if the theme supported them so when an update comes out, I won’t have to dig through and re-apply them.
Juanfra Aldasoro December 23, 2013 at 1:13 pmHi Kosta,
Great, it sounds great. At the moment we don’t have any public tool for suggestions, but we take every single one of them. At this moment I’m noting everything down. We love constructive feedback, and constantly improve our products/service, so I really appreciate it 🙂
Happy Christmas,
Juan.
You must be logged in to reply to this topic.