Permalinks on post is working, on pages 404 error

There’s not much info available by following your link. I suggest the basic troubleshooting steps: Disable all plug-in’s and test the links Switch to Twenty-Ten or Twenty-Eleven theme If it’ still not working, make sure you have the default .htaccess and nothing more. Here is what it should look like (I had to link to … Read more

Custom JSON feed rewrite

The AJAX request would query for the dates it requires to display. With Lazy fetching set, if you switch from month to week or day views it won’t bother making another request, since it doesn’t need to. This is outlined in the fullcalendar documentation. As for using this method, see this question on how to … Read more

Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard

You named the custom post type ‘custom_about_post’ not ‘about’. Rename the archive template to archive-custom_about_post.php or better: rename the post type. As a rule of thumb: Avoid underscores in post type names. There are/were some issues, especially with templates. And why do you need a custom post type just for about pages? What’s your goal?

Issue with front page navigation after upgrading to 3.4

It stopped to work with WP 3.4 because there was fixes to handle_404(), and You are using wrong way on homepage… instead of creating new query, modify main query. Changeset: http://core.trac.wordpress.org/changeset/19892 Sample code: function my_query_for_homepage( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( ‘post_type’, array( ‘post’, ‘gaming’, ‘entertainment’, ‘tech’, ‘breakroom’, ‘podcasts’, ‘off-grid’ ) … Read more

How to properly print a 404 error without redirecton? (i.e. keeping the current URL)

You should be using a filter outside of your template for this: add_filter( ‘template_include’, ‘wpa62226_template_include’, 1, 1 ); function wpa62226_template_include( $template ){ if( is_page( ‘some-page’ ) ) : global $wp_query; $wp_query->set_404(); status_header( 404 ); $template = locate_template( ‘404.php’ ); endif; return $template; } Your code is executed before the template is loaded, so it becomes … Read more

What form element names break wordpress?

You should definitely avoid the public WordPress query vars: attachment attachment_id author author_name cat category_name comments_popup day error feed hour hour m minute monthnum name p page_id paged pagename post_parent post_type preview second static subpost subpost_id tag tag_id tb w year There’s also this list of reserved terms, inexplicably located on the register_taxonomy page, with … Read more