Web Development and Technology blog

The best web development tutorials and topics covering computer software and technology.

Category: Wordpress

How to execute conditional WordPress/Php function on localhost ?

If the user is viewing the current page from localhost than execute function A else execute function B

Sharebar : Missing argument 2 for wpdb::prepare()

You can remove the ” Missing argument 2 for wpdb::prepare() ” caused by the Sharebar Plugin just by editing two lines in the plugin file.

How to remove “View all posts”

Create a simple filter to remove “View all posts filed under” and ” View all posts in ” from wp_list_categories() and the_category()