Archives for Wp Tips - Page 7
get_post_meta is not working in functions.php
As we know that get_post_meta() function is used to fetch meta values of a post like custom fields. Sometimes we face a problem with that function while we are fetching any data of any post through get_post_meta() in in any…
Custom Autocomplete textbox for WordPress
It is a autocomplete textbox using jquery in PHP. I have changed it according to wordpress users as well. Autocomplete textbox are showing the values by themselves after entering any letter in the textbox. Here we are discussing the autocomplete…
How to use Ajax In WordPress
Here is a simple tutorial to use Ajax in wordpress. Here we are taking an example to fetch the titles of all posts belong to the same post type as per the user's need to put the exact post type…
Custom Breadcrumbs for WordPress
Breadcrumbs are important part of our websites. Most of the wordpress website are having breadcrumbs now a days. So, there are so many plugins available for the addition of breadcrumbs over the web. But in my views addition of more…
Add class on li using wp_nav_menu()
Sometimes when we are implementing our menu in front-end using wp_nav_menu() function, we need to modify it in different way. Here we are discussing about adding class in each li comes under the ul. For example we are having this…
How to get user email by display name
Sometimes when we are working on a section where we need user details like user email. In a case where we only have the display name of a user and we want to fetch email id of that user use…