cscscs
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [WP Search] [Plugin: WP-Search] Ver.2011 no index – page refresh and stopsI have the same problem as Monika on a site with ~4k posts running WP 3.0.1
I was able to resolve the issue. As you probably guessed I have a ton of tags that I really don’t need (I was going to use them for something in the future but oh well..). I just deleted all tags with 1 post assigned. I used the code below that i found in .
DELETE a,c FROM database.prefix_terms AS a LEFT JOIN database.prefix_term_taxonomy AS c ON a.term_id = c.term_id LEFT JOIN database.prefix_term_relationships AS b ON b.term_taxonomy_id = c.term_taxonomy_id WHERE ( c.taxonomy = 'post_tag' AND c.count = 1 )Forum: Hacks
In reply to: posting post from front endNot sure that I understand, if your trying to retrieve the post ID try one of these. It works in most cases…
// Works inside of the Loop function function_name() { global $post; $thePostID = $post->ID; }or:
// Works in single post outside of the Loop function function_name() { global $wp_query; $thePostID = $wp_query->post->ID; }You would then use:
<?php add_post_meta($thePostID, $meta_key, $meta_value, $unique); ?>Forum: Plugins
In reply to: [Plugin: Private! WordPress Access Control Manager] No Categories to set?I installed it this afternoon and I have the same problem.
Viewing 4 replies - 1 through 4 (of 4 total)