Useful uninstall option “snippet” for your WordPress theme admin option. Basically, this reverts WordPress to the default theme and removes all theme settings from the database. Change option your_theme with your own: global $wpdb; delete_option(‘your_theme’); switch_theme(‘default’, ‘default’); wp_cache_flush(); wp_redirect(‘themes.php?activated=true’); exit();
Tag Archive for ‘WordPress’
WordPress Comment Form Skip Link
Skip link (or Skip Navigation link) for comment form is really important when your entry has a lot of comments. But there’s no point in having one when your comment form is just few pixel away after the entry. This is how you can show the skip link if the comment reach n number of [...]
While everyone is trying to increase their RSS / Atom subscribers, this is how you can offer no feed to your readers on your WordPress. Go to Settings → Reading sub-panel. Under Syndication feeds show the most recent is set to -1 (negative 1) posts.
Remove blog from WordPress.com Blog Stats?
I got few self-hosted WordPress blog registered under my WordPress.com account in order to use WordPress.com Stats. Unfortunately, there are blogs that I accidentally added to this account and for that reason I would like to remove these blogs. The problem is how? Deactivating WordPress.com Stats plugins from the blogs doesn’t help. Even with clearing [...]