This snippet will easy let you set your wordpress site offline by using the wp_die. This is a handy and easy way for you to kill wordpress functions (sets your site offline – but still displays HTML for your visitors) while you perform website maintenance or other website related services. *note – in this example …
Category: Code Snippets
This snippet will add a shortcut link to your WordPress theme editor.
This snippet grabs and displays the number of followers the specified user has.
This snippet will change the default style of WordPress admin area by overriding the old stylesheet.
This WordPress snippet will automatically include all public post types, that have not been excluded from searches in your search results.
This WordPress snippet will help you detect your iPhone visitors and lets you customise your website and create a better experience for them.
This snippet will let you use multiple custom excerpts length of the WordPress excerpts output.
This snippet adds links to the WordPress toolbar. Instructions Add this to your functions.php file of your theme. *note – that the second and third of $admin_bar->add_menu are add sub menu to the first, and the parent parameter is set to the id of the first $admin_bar->add_menu, which in this case is my-item.
Here a little snippet that will hide the wordpress admin bar from everybody except site admins. Useful for sites that have public registration turned on.
This snippet will let you create a white-list of terms to include in body_class. This is a great way to filter out many of the unwanted css classes added.