Mitchell Bundy
Forum Replies Created
-
Thanks a lot! I’ll have a look at it sometime this tonight and make an update sometime this week.
Forum: Fixing WordPress
In reply to: Assigning existing terms to taxonomyFigured out my own problem. But if anyone find it useful, you must specify the exact name and slug of the term in wp_insert_term as such:
wp_insert_term($term->name, 'taxonomy', array('slug' => $term->slug));
However, it would be nice to simply do this by id with a wp_assign_term
Forum: Plugins
In reply to: [Plugin: Radio Taxonomy] Let the user choose more than one taxonomy?Hello!
Sorry, but neither of those options are currently supported, but it’s definitely something I’ll consider in future versions, but I’m trying to keep this as simple as possible, those may be options for other plugins.
Thanks for the suggestions!
Forum: Fixing WordPress
In reply to: post-thumbnails support works… sometimesI’m really not sure what’s going on here. Aiya.
A fresh pair of eyes (and brain) is going to have a look at it, I’ll post back here if/when we resolve it. Thanks for your help though, this is the biggest head scratcher I’ve had in a while.
Forum: Fixing WordPress
In reply to: post-thumbnails support works… sometimesno dice :'(
Forum: Fixing WordPress
In reply to: post-thumbnails support works… sometimesThe “Set featured image” link.
I do a dump of the$_wp_theme_features
global atinit
andpost-thumbnails
is set to true. ><Forum: Plugins
In reply to: [Radio Taxonomy] [Plugin: Radio Taxonomy] select/deselect all button?Are you talking about the Taxonomy management page?
I just made an update that should appear in the WordPress repository shortly. You should now be able to access the admin screen to manage the taxonomy properly. However, the “Add New Item” link on the posting page won’t be functional until a later release.
The submenu should always be there, you just need to add the proper permissions for the user to add categories. Does the submenu appear when you login as admin?
That’s a good point there… It doesn’t look like it at the moment. I’ll patch that in a future release for sure.
Howdy
This is meant for taxonomies, not post types, and should be used with
register_taxonomy
and notregister_post_type
An example would be, modified from the register_taxonomy codex page
$labels = array( 'name' => _x( 'Genres', 'taxonomy general name' ), 'singular_name' => _x( 'Genre', 'taxonomy singular name' ), 'search_items' => __( 'Search Genres' ), 'all_items' => __( 'All Genres' ), 'parent_item' => __( 'Parent Genre' ), 'parent_item_colon' => __( 'Parent Genre:' ), 'edit_item' => __( 'Edit Genre' ), 'update_item' => __( 'Update Genre' ), 'add_new_item' => __( 'Add New Genre' ), 'new_item_name' => __( 'New Genre Name' ), 'menu_name' => __( 'Genre' ), ); register_taxonomy('genre',array('book'), array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => 'radio', 'query_var' => true, 'rewrite' => array( 'slug' => 'genre' ), ));
Note the option
'show_ui' => 'radio'
Forum: Fixing WordPress
In reply to: sidebar widgets don't transfer with rest of site?Do you do a search and replace of your DB files to replace your test URL with your live site’s URL??
If that’s the case, it will corrupt serialized data that contains your URL and break all your widgets.Forum: Fixing WordPress
In reply to: HELPIt looks like you have your install set to
https://cliffalmond.com/welcome-to-the…f-almond-music
and nothttps://cliffalmond.com/
Because you’re blocked from your admin CP, you’ll need to edit the values in the database directly. Do you know how to do that? If not, you may have to find somebody to do it for you.Forum: Fixing WordPress
In reply to: Let WP respond to all domains with the same siteI’d recommend not mirroring the site, the “domain mapping” plugin should redirect links correctly if the domains are mapped to the same site. MIrroring a site will create duplicate content, and search engines don’t like that.
I’d actually recommend making an .htaccess file on the old domain and have it redirect to the new one. It’s much simpler.
RewriteEngine on RewriteCond %{HTTP_HOST} ^www.olddomain.com$[OR] RewriteCond %{HTTP_HOST} ^olddomain.com$ RewriteRule ^(.*)$ https://www.newdomain.com/$1 [R=301,L]
Forum: Fixing WordPress
In reply to: "Add New" page button in admin areaAwesome! Glad to hear it all worked out!