Ian
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!yup, I used the Search and Replace plugin to clean up the old links. I think it’s as good as its going to get. Not much I can do about outside links anyway.
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!yeah, that’s where I got the update code. My problem was that my old posts were still in limbo because they thought they had an uppercase character. Everything seems to be fine now though ??
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!it all seems to be working now, nearly gave me a heart attack, though. sorry for the frantic posting while I figured it out, haha.
The capitalization fix seems to have solved the permalink structure thing the single.php if swithc AND the edit link disappearing as well.
Forum: Alpha/Beta/RC
In reply to: 3.1 RC3: Uppercase custom post type problemsthank you so much. I was having a similar problem (never even realized it WAS A problem until I updated to 3.1) from similar misunderstanding about the cap letters.
the code
if(!get_option(‘custom_type_updated’)){
global $wpdb;
$wpdb->query(“UPDATE $wpdb->posts SET post_type = ‘portfolio’ WHERE post_type = ‘Portfolio'”);
update_option(‘custom_type_updated’,’true’);
}worked for me and got my site up and running again. I wasn’t able to access anything after the update until this was fixed! Thank you thank you thank you!
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!it’s working now for the other ones. a couple of them must have gotten double messed up or something.
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!weird, I had to do it as
if(!get_option(‘marvel2_update’)){
global $wpdb;
$wpdb->query(“UPDATE $wpdb->posts SET post_type = ‘marvel’ WHERE post_type = ‘marvel'”);
update_option(‘marvel2_update’,’true’);
}Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!It worked for the first two, but now it isn’t working :-/
any ideas? Did using it a couple times make it not work? I was changing the variables each time
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!This seems to have worked for the first one! It also fixed the permalink structure (back to /type/post/) and got the if in the single.php working!
I’ll try it for the others and report back
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!I found this code:
if(!get_option(‘custom_type_updated’)){
global $wpdb;
$wpdb->query(“UPDATE $wpdb->posts SET post_type = ‘portfolio’ WHERE post_type = ‘Portfolio'”);
update_option(‘custom_type_updated’,’true’);
}https://www.ads-software.com/support/topic/31-rc3-uppercase-custom-post-type-problems?replies=13
and I’m gonna try that
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!it seems like they’re now lowercase ie
wp-admin/edit.php?post_type=marvel
but maybe the original posts still have the uppercase letter?
Forum: Fixing WordPress
In reply to: I can't access my Custom Post Type posts after 3.1 update!do you think these problems may be caused by the fact that my post types originally were uppercase?
Forum: Plugins
In reply to: Taxonomy Dropdown Not Working for Just One TaxonomyI’m still having this problem. Can anyone advise me on a better way to do it? any ideas?
Forum: Fixing WordPress
In reply to: Convert Tags to Taxonomy TagsThanks for the update, Stephanie! I’ll give it a shot!
It works! But it also worked with a lack of tags, haha. It sometimes seems like things are working perfectly fine, but the code technically has errors in it. i worry they will be problems down the line
But I’m pretty happy with this right now. I think the nested else statements might be cumbersome, but they’re not technically incorrect.
Thanks again for your help.
yeah it seems to be working. I sometimes worry that my duct taped together code will fall apart under pressure when my site starts getting more traffic, but for now it looks good!