Category: Wordpress
-
Remove the ‘Add User’ button in wp-admin
This is very simple and easy. For example, If you want to hide add new icone at top left of admin page wp-admin/users.php Just write the following code in your plugin or theme functions.php file For more details you can visit here
-
Get Current Page Depth
Is there a function in WordPress to check the current page depth like is_child(), is_grandchild() or a number for unlimited depth? I could’nt find any so I created one. It is a recursive function which means that it calls itself until it’s done. Put the following code to the functions.php in your WordPress theme folder.…
-
How to add Fade Effect in twitter bootstrap slider?
Paste this css in your css file: Then just call carousel-fade class in your div. That’s it.
-
Using the WordPress Uploader in Your Plugin or Theme
It’s fairly simple to implement, providing you already have a bit of experience with the WordPress API. The first step is to prepare your HTML. Put it wherever the code for your admin page is. You want to have a text input for the image URL, and a button that will launch the uploader dialog.…
-
Wordpess post updated message in admin panel
-
How to Add Custom Image Sizes to WordPress Uploader
WordPress 3.3 is finally out, and features a host of new improvements in the UI, along with other novelties. A new feature I’m digging is the image_size_names_choose filter, which enables us to add new image sizes to the media upload/insert interface. Check out the code below and the resulting screen:
-
How to make a mobile friendly responsive dropdown menu
Just add this code to your head section Then add this CSS to your css file That’s it. You are good to go.
-
Remove canonical per post or page [SEO by Yoast]
WordPress SEO by Yoast Remove canonical per post or page
-
Send Array Value to Email
$message .= “Results: ” . print_r( $entry, true );
-
WordPress Gallery Shortcode Customization
We can customize WordPress gallery short code easily. It is on pluagable file so, this function can be override by theme functions.php or through plugins. Say How to customize the output of the WP image gallery shortcode from a plugin? Just need to call this hook in your theme or plugins and write this function…