Ajit N

WP Add custom column to Users List admin panel

Use below code to allow your users to add phone numbers. Paste this full code in functions.php file. This will add new field on user profile for “Phone Number” and add a column user table on WordPress admin for phone. [crayon-590521a0de9ab272065333/]  Read more …
keithg

Slider load in bootstrap tabbing

make sure file exist : <link rel=”stylesheet” href=”//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css”> <link rel=”stylesheet” href=”http://bxslider.com/lib/jquery.bxslider.css” type=”text/css” /> <script src=”//code.jquery.com/jquery-1.10.2.js”></script> <script src=”//code.jquery.com/ui/1.11.0/jquery-ui.js”></script> <script src=”http://bxslider.com/lib/jquery.bxslider.js”></script> script for load slider ADD IN ONLOAD $(function() { var slider2_initialized = false; var slider3_initialized = false; $( “#tabs” ).tabs({ activate: function( event, ui ) { //console.log(“ui = “);console.log(ui); var tab_id...Read more …
Ajit N

Counts all the values of an array

array_count_values() returns an array using the values of array as keys and their frequency in array as values. [crayon-590521a0df0e8196458082/] For counting the values with case-insensitive matching [crayon-590521a0df0ec173586494/] This prints: [crayon-590521a0df0ef690702450/]  Read more …