When you enqueue your script, it enqueues for the whole site including admin panel. If you don’t want the script in the admin panel, you can only include them for the site in frontend. This following code you need to … Continue reading
Category Archives: wordpress api
Send email through wp_mail in html format with wordpress
In wordpress we use the wp_mail function for sending email. Following parameters we use for wp_mail Parameters Simple example: We can use this code for contact form or in functions.php file For html format email from wordpress. we just need … Continue reading
how to integrate the wordpress with php or html
WordPress is very easy to work on. you can very easily integrate the wordpress with php or html site. There may be only a few features of WordPress you want to use when integrating it with your site, or you … Continue reading
How to add the custom post type with associated tags and category
Many times we use the custom post type in wordpress. Some times we need to category and tags for custom post type which are only associated. you can use the following code in funcations.php file. Please consult with your developer. … Continue reading
change permalinks as per your choice in wordpress using post_link filter
WordPress publishing URL you can change to anything using following function. Following wordpress hook is very important. You can publish article with different URL or domain also. Using your blog you can publish your article to another URL also. You … Continue reading
solved: pagination for Custom post type not working
Some people asked me about pagination of custom post type. That is very easy. For showing the custom post type we always use the query_post method. Just use the following code in your template or theme file. Have fun! Incoming … Continue reading
wordpress pagination with query_posts
Mostly people use the query_posts function for fetching the specific posts. But most of all people face issue with pagination. Just use following code for pagination. It is simple and easy. Incoming search terms:wordpress 3 3 query_postswordpress api paginationquery_posts paginationquery_posts … Continue reading
Limit excerpt length by characters in wordpress
I already written about this in following article. But some people need the more advanced excerpt. http://wordpressapi.com/2010/08/11/set-wordpress-post-excerpt-length-limited-characters/ First open your functions.php file and put following code in that file. Use this function if you’re planning on using it more than … Continue reading
How to create the breadcrumbs in wordpress
In many sits we need to show the breadcrumbs in site. For pages and category we can create the breadcrumbs. We need to put following code in functions.php file. After that put following code in header.php file. After putting above … Continue reading
create custom post type with permalink
Here I am creating the Product post type with permalink. Please open the functions.php file and put following code in that file. If you have any issues or problem with permalink then please write to me. Incoming search terms:add filter … Continue reading









