mortenblaabjerg
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: Post Thumbnail & Twenty Ten themeThink it is a great feature, but I’d very much like to see it extended to tags and categories as well, so that one might add a featured image/custom header to those types of pages too.
Forum: Plugins
In reply to: [Plugin: WP Calais Archive Tagger] Superfluous semi colon in tagsNot sure if they fixed the problem at Open Calais, but now the “fixes” seem to be causing problems when removing the semi colons. Will remove the fix now and see how it goes, if it has been fixed at the source ??
Forum: Fixing WordPress
In reply to: Delete unused tags in bulkI have the same query – any ideas?
Problem was solved by being granted all rights to folders on the server.
Forum: Plugins
In reply to: [Plugin: WP Calais Archive Tagger] Superfluous semi colon in tagsStill have no deeper understanding at all of what’s happening at a deeper level, but managed to automatically remove the semicolons.
Find the place in this plugin where it says :
wp_set_post_tags($post->ID, implode($tags, ','));
And replace it with this :
$search = ";"; $replace = ""; if (count($tags) > 0) { foreach ($tags as $key => $tag) { $cleantag = str_replace($search, $replace, $tag); $tags[$key] = $cleantag; } } wp_set_post_tags( $post_id = $post->ID, $tags = implode($tags, ','), $append = false );
If it doesn’t work for you, then you should remove all tags and categories from your database already infected with the semi-colons.
This bit caused me quite a bit of trouble. I use FeedWordPress to publish posts via RSS, and every time it would just use the same tags already in place, even though I seemed to have working code. Also, since there seems to be a small bug in WordPress which makes tags and categories of the same name identical, you have to remove ‘infected’ categories too, so that your tags/categories setup is as clean as possible. I don’t think you need to remove tags or categories which are not infected with the semi-colons, but in my case it was by far the easiest to sweep the whole plate.
PHP assistance courtesy of GingerRobot @ PHP Freaks Forums
Forum: Plugins
In reply to: [Plugin: WP Calais Archive Tagger] Superfluous semi colon in tagsYay. Created a function to get rid of the semicolons. But have to test a bit further before posting here…
Forum: Plugins
In reply to: [Plugin: WP Calais Archive Tagger] Superfluous semi colon in tags@d910qf If you don’t mind me asking, what MySQL query do you use to remove the semi colons from your database? It should be fairly simple to add a hack to the plugin to remove them from the tags.
Forum: Plugins
In reply to: [Plugin: WP Calais Archive Tagger] Superfluous semi colon in tagsThis bug still appears. Can identify no pattern. Sometimes it occurs, sometimes it doesn’t. Tags seem to be the same in the URL, without the additional “;”. Changed the thread to “not resolved”. Any clues?
Forum: Plugins
In reply to: [Plugin: WP Calais Archive Tagger] Doesn’t Tag Future Dated PostsWonderful plugin! – just wanted to chime in and say I share the sentiments expressed above. When processing tags, I prefer to keep items unpublished, so that they are not available until they have been tagged.
Forum: Plugins
In reply to: Feedwordpress syndication options@mkgago – can you elaborate? I can’t get feeds from WordPress.com to work either. I do get the post titles and timestamps, but no content is posted. The same goes for Atom feeds from Google Reader or Twitter, for example.