Get wordpress page content via ajax request codes are very simple and you always need something like this to make some professional steps towards yor layout.  For admin backend put below code in functions.php which is creating an ajax action ‘my_action’ which can be called from script which is  given right below this code.

[…]

Read More →

Extract all wordpress shortcode in jQuery object from the wordpress editer whose html id is #content. This supports same level and hierarchical both. See in fiddle https://jsfiddle.net/shakalya/jswe18kL/  

   

Read More →

Create a custom image/video gallery in wordpress with angularjs by putting below code in themes function.php If you are a code lover and want to get this gallery data in json format. this is the best code. I don’t like making new plugins for bunch of lines of codes. This code involves storing all the […]

Read More →

Add phpcaptcha in contact form 7 with validation in WordPress which you can download from below w3schools website. PHP Captcha 1. Extract phptextcaptcha in your theme directory of wordpress. your directory will be like. yourthemepath/phpcaptcha/css yourthemepath/phpcaptcha/font yourthemepath/phpcaptcha/captcha.php yourthemepath/phpcaptcha/phptextClass.php where captcha.php path will be generating an image and put the value of it session $_SESSION[‘captcha_code’]; 2. […]

Read More →

Very easy way to make an php file and export data on throwing the data to this url. Please copy and paste below file to the server and send data variables to this path. Like i have uploaded it as export.php Send the two variable csv_header and csv_output as comma saperaed string and new line must be […]

Read More →

I have been searching for List of countries with country code , dial code, currency name, currency symbol, currency code and managed to get records from all over the internet. You can download All country with (country_code, dial_code, currency_name, currency_symbol), All states and all cities data from below.. which are interlinked with foreign keys. Download World […]

Read More →

Image helper file  for Codeigniter to edit, resize and get image parameters.

 

Read More →

Opencart filemanager for codeigniter is available here. You can easily create folder, delete folder, upload image, delete image . It also supports opencart image cache library which creates required size image and out it under cache folder to use. Watch the Working Video at https://youtu.be/SnsA5sL2FhQ   DOWNLOAD THE CI PROJECT WITH FILEMANAGER or open below directory […]

Read More →

All important links you must remember as a web developer point of view so you quickly perform related tasks. I am listing below all related links that i found useful for site development and testing. Google lists all CDN libraries at this URL https://developers.google.com/speed/libraries/ https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js https://ajax.googleapis.com/ajax/libs/angularjs/1.5.7/angular.min.js https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js Few sites page seed testing sites […]

Read More →

Make a one time popup in jQuery for a quick project. You will have to create two functions. to set a cookie

  to get a cookie

  Now rest is check for the cookie is set to open or not and accordingly we will show the popup here.

  final code […]

Read More →