WordPress

Get all categories title by post id

Get all categories title by post id

In this blog I will show you to get latest 5 posts in wordpress with category names within it, which are assigned to them. WordPress categories are the groups of blogs or....

  • 1235 Views
  • 21 Mar 2020
Get all categories from custom post type

Get all categories from custom post type

In this blog I will get all the categories of custom post type using taxonomy. For this I've created post type books using Post Type Generator nd my taxonomy is post_book.....

  • 1255 Views
  • 20 Mar 2020
Create separate search forms for products, posts types and posts

Create separate search forms for products, posts types and posts

I will show you how you can add transparent logo or icon watermark using php script on an image(s) and save result image(s). You can align logo or icon using....

  • 1191 Views
  • 20 Mar 2020
Create multiple headers, footers, sidebars for different templates in wordpress

Create multiple headers, footers, sidebars for different templates in wordpress

First copy and paste theme header.php file and rename it in your current theme. i.e. header-customheader.php . After that open header-customheader.php file and according to your needs change your header....

  • 1264 Views
  • 20 Mar 2020
Get custom post types in wordpress

Get custom post types in wordpress

To get custom post types in wordpress, pass post type data i.e. taxonomy, term id, post type and post_per_page in `WP_Query`, `query_posts` or `get_post` function. I will use `WP_Query`  Difference....

  • 1262 Views
  • 20 Mar 2020
Get logged in user info in wordpress

Get logged in user info in wordpress

Use wp_get_current_user() function to get logged in user info.  We can use wp_get_current_user() function without any argument. It will return an object, if user is logged in else return 0. We....

  • 1212 Views
  • 20 Mar 2020
How to upload multiple images or files from frontend in wordpress without any plugin

How to upload multiple images or files from frontend in wordpress without any plugin

In this tutorial I will let you know about upload multiple images or files in wordpress with custom code on front-end. If you want to brings same functionality in your....

  • 1517 Views
  • 15 Mar 2020