-
09 Nov
How to Show a List of Last Updated Posts in WordPress
When You update any post in wordpress admin side , WordPress always stores the date and time of that update in the posts table as last updated date in database. So Here We will show you how to create a custom WordPress query for displaying a list of your most recently updated posts of your site.
Step 1: Copy below given code in function.php file of your theme- Category :
- Wordpress
-
26 Oct
Creating Meta Box in Page/Post
If want to add metabox in admin interface in posts/pages, then below simple code is useful. Add below code in theme’s function.php file :
- Category :
- Wordpress
-
19 Oct
How to hide the “Please Update Now Message” On WordPress Dashboard
When we go in our wordpress website dashboard its automatically lets us know when a new version of WordPress is released by inserting a message at the top of admin pages. This is definitely a good thing, because updating gives your blog the latest functions and security fixes. But if the blog is a client project, letting the client control updates may not be a good idea.
See the below image- Category :
- Wordpress
-
27 Sep
Start session in WordPress
WordPress does not use sessions to hold any data. So in order to activate session variables within your WordPress installation the only thing you have to do is call session_start(); before any output is send to the client.
- Category :
- Wordpress
-
17 Sep
How to create a custom widget in wordpress
As in default wordpress we have some limited number of widgets and some time we need to create the multiple widgets that we can display as per our requirement in the files or pages. So here the code and files from where you can create your own custom widget.
- Category :
- Wordpress
-
12 Sep
How to add your custom column on post or page list page in wordpress
Want to add your plugin custom column to post or page list page ? here is the code for add column to post listing table
- Category :
- Wordpress
-
12 Sep
Add color picker to your plugin or theme in wordpress 3.5 and heigher version
Want to add new color picker in your wordpress plugin or theme ? Here is step by step guide for how to add new color picker in your plugin or theme
- Category :
- Wordpress
-
11 Sep
Display your custom help tabs in any wordpress admin page
do you want to display your plugin guide or video on wordpress admin help section ? Here is code for how to add your custom help tabs in help section of wordpress admin View Code PHP1 2 3 4 5 <?php
class myCustomhelp {
public function __construct() {
add_filter(’contextual_help’, array($this, ‘my_custom_help_tab’), 10, 2);
}- Category :
- Wordpress
-
03 Sep
Remove Default WordPress Uncategorized Category
Some times in our wordpress website we need to display all used categories but there is one default category always name “uncategorized” and any default category we cannot removed from the website, so to delete that category we have to make another category as a default category so here are the following steps that can delete your website default category if that is of no use.
The Steps are given below for removing an uncategorized category in wordpress site
Step:-1 At backend of wordpress you need to go to Posts >> Categories and add new category.- Category :
- Wordpress
-
30 Aug
Add a login form on your Front-end & customizing login logo without plugin
Add a login form on your WordPress Theme:- Are you using WordPress as a cms or as a community site? If yes, it can be a cool idea to display a login form in your blog sidebar or on a specific page. Here’s a simple code to do it.
Nothing hard at all. Simply paste the following code where you’d like to display your login form. (For example, on your blog sidebar, or on a page template)- Category :
- Wordpress