In WordPress, if you don’t want non-admins to even be able to access the wp-admin dashboard than here is solutions. This code will allow you to control if the admin bar should show for the user and if a user…
In WordPress, if you want to add support parameter in custom post type, here is solutions. Here i was create “music reviews” custom post type. In this custom post type i was add new “test example” post. In this post…
In WordPress Dashboard Postlist when you hover over one of the post, it will display “Edit” , “Quick Edit” , “Trash” , “View” link. If you want to Remove edit, view, trash and quick edit links within posts admin wordpress…
In WordPress, If you wish to display user list in descending order by “name” column in admin panel than here is a solutions. function custom_order_users_by_name( $query ) { //Check that we are in admin otherwise return if( !is_admin() ) {…
In wordpress, We create many custom post type also we need to display columns in admin panels for each custom post type in a different way but what to do if you need to set some css in this columns….
You are very familiar with WordPress recent post widget that display recent post entries from your blog. This widget has some setting as Title, number of posts to display etc but can you notice that widget display only date and…
If you want to add social share like Facebook, Twitter, Linkdin and other social share page in your wordpress site than here is solution. Add below line of code at the end of your theme’s functions.php file of your active…
If you’re trying to install or update a plugin or theme or even updating WordPress core or when WordPress try to downloads a plugin ZIP file, then it has to be able to write that file somewhere. To do this,…
In wordpress, using Tag cloud widget we can display tags used on your site. Themes designed for WordPress do not have CSS in their style sheets for formatting the WordPress tag cloud. The CSS for the tag cloud is built…
We all know that in wordpress, tags and categories are taxonomies and tags are flat and categories are hierarchical. So Custom Taxonomies is a custom organizing system either flat or hierarchical that you create for your posts. So here we…