≡ Menu

Wordpress Tutorials and HowTos

Tutorials, question and howtos for WordPress developers and administrators about theme, plugins, development, management, and server configuration for WordPress.

WordPress MySql Statement To Delete All Pending Comments

I have over 1800+ pending comments and most of them are spams in WordPress based blog. How do I delete all (mass delete) the pending comments using sql statements?
[click to continue…]

Nginx: Block URL Access (wp-admin/wp-login.php) To All Except One IP Address

I am the small business owner and runs my own web-site. I have noticed increased cracking activity against by blog. What's the best way to block WordPress URLs such as example.com/blog/wp-login.php and example.com/blog/wp-admin/ in the nginx web-server?
[click to continue…]

WordPress Add Shortcodes To Excerpts

I added the Shortcode API as described here, but it is only displayed in post content. How do I use shortcode in wordpress excerpt?
[click to continue…]

WordPress Change Preview Post Link Button URL Via preview_post_link Filter

How do change the default "preview" button when posting using wordpress user/admin panel?
[click to continue…]

WordPress Add A Shortcode Example

How do I create shortcodes that support attributes under wordpress CMS? How do I add shortcodes to my theme?
[click to continue…]

WordPress: Disable Post Revisions / Turn Off Revisions

How do I disable post revisions feature found in wordpress version 2.6.x and v3.x.x based blog site?
[click to continue…]