Saturday, 20 May 2017

Remove the anchor tag surrounding images : WordPress

If you have a page of images wrapped with links. Essentially if you want to remove the links surrounding images, but keep the image tags in tact, then here is the handy code for same.

Friday, 19 May 2017

Get current page URL : WordPress


Handy snippet to get current page URL on your WordPress website. It doesn’t matter if you need it on single post, page, home, category, tag, custom post type or any other WordPress template. You can use this code inside any template on your WordPress website:

Thursday, 4 May 2017

C program to find wether entered number is Even or Odd using continue.