Articles in the Wordpress Category
Posted: Mar 27 | Filed under: Wordpress
Here’s the code to save the current wordpress tag, if you are on a “tag site”:
<?php $current_tag = single_tag_title(”", false); ?>
Taken from the wordpress reference.
Posted: Mar 27 | Filed under: Wordpress
HowTo enable/disable wordpress comments via PHPMyAdmin:
Enable:
UPDATE wp_posts SET comment_status = ‘open’, ping_status = ‘open’ WHERE comment_status = ‘closed’;
Disable:
UPDATE wp_posts SET comment_status = ‘closed’, ping_status = ‘closed’ WHERE comment_status = ‘open’;


