This snippet will allow you to define a custom truncate length of the WordPress post title in your template files.
Category: Code Snippets
This snippet hides the WordPress version update message that is displayed when there is a new version of WordPress available. Instructions Ad this to your functions.php file. *note – in order for not to hide the update availability for administrators, we have have added the conditional tag: current_user_can() but let’s hide the message for …
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 …
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.