Azuaron
Forum Replies Created
-
Forum: Plugins
In reply to: Reverse order of custom taxonomyI did not. I ended up writing some Javascript to reverse the order.
Forum: Fixing WordPress
In reply to: All Pages display blog index after update to 3.3Okay, I think I’ve found a workable solution, even if it ends up looking dumb.
With a custom post type of “/%post_id%/%category%/%postname%/”, everything seems to work, even if my blog posts have ugly links like this: “/6901/category/post-slug/”
Forum: Fixing WordPress
In reply to: All Pages display blog index after update to 3.3Nope. My custom post type links become “/blog/book/slug/” and find a 404 page. So I can either use “/%category%/%postname%/” and break my pages or “/blog/%category%/%postname%/” and break my custom post type.
Forum: Fixing WordPress
In reply to: All Pages display blog index after update to 3.3I’ve changed my custom structure to: “/blog/%category%/%postname%/” and now it works. Still don’t really know why… Hopefully it will just keep working.
Forum: Fixing WordPress
In reply to: All Pages display blog index after update to 3.3Preemptive celebration! That did not fix my problem. The site works with ugly permalinks, but my custom permalinks (which have worked for years and work on a bunch of other sites I’ve upgraded to 3.3) still won’t work.
Forum: Hacks
In reply to: Form submission results in 404 errorNevermind. The problem was an overenthusiastic plugin (Mute Screamer).
Forum: Everything else WordPress
In reply to: Is WordPress object-oriented?Occasionally. For the most part, WP is not object-oriented.
Forum: Installing WordPress
In reply to: You do not have sufficient permissions to access this pageWhen changing the table prefix post-install, it’s important to change more than just the table prefixes. To date, here are the additional values that must be changed:
In the usermeta table, there are several meta_keys:
prefix_capabilities
prefix_dashboard_quick_press_last_post_id
prefix_user-settings
prefix_user-settings-timeIn the options table, there is a critical option_name that needs to be changed:
prefix_user_roles
Depending on your install and plugins, there may be more.
Forum: Fixing WordPress
In reply to: Does get_posts() support tax_query?Ah, I didn’t realize you were (also) working with an alternate post type.
Forum: Fixing WordPress
In reply to: Does get_posts() support tax_query?I got mine to work:
$args = array( 'numberposts'=>-1, 'order_by'=>'menu_order', 'order'=>'ASC', 'post_type'=>'book', 'exclude'=>$the_id, 'tax_query'=>array(array('taxonomy'=>'series', 'field'=>'slug', 'terms'=>$slug )) ); $series_posts = get_posts($args);
The only difference I can see is that my “terms” isn’t in an array. That really shouldn’t make a difference, though, since it’s definitely supposed to work with arrays.