All Posts

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....

  • 1141 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....

  • 1187 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....

  • 1204 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....

  • 1146 Views
  • 20 Mar 2020
How to get all UK addresses by postal code

How to get all UK addresses by postal code

I will show you how you can get all addresses of UK by postal code. For this i will used an API https://api.getaddress.io. First I will create account on getaddress.io and after....

  • 1242 Views
  • 20 Mar 2020
PHP script to add transparent logo on multiple images

PHP script to add transparent logo on multiple images

I will show you how you can add transparent logo or icon watermark using php script on multiple images and save result images. You can align logo or icon using....

  • 1152 Views
  • 20 Mar 2020
PHP script to add transparent logo on image

PHP script to add transparent logo on image

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

  • 1218 Views
  • 20 Mar 2020
Get next and previous post link in Laravel

Get next and previous post link in Laravel

Here I will show you how to display previous and next post link in single post page in laravel. For this we will use `max` and `min` functions in laravel. I'm using....

  • 1394 Views
  • 20 Mar 2020