code

search page

120 searched posts found

19 Nov 2014
0.94K
No Comments

By default #wordpress get_search_form function return default html of search form, you want to change or modify search form html here is example to replace whole search form. In below code we used #wordpress hook to modify search form html

Post in

3 Nov 2014
0.64K
No Comments
File extension validation on upload will harmful for server

Please do not validate file extension on uploading file from user Hackers are created a fake jpg image with no preview and they add code encode on base64 or  gzinflate on picture source when you will open that image on notepad editor you will see code like if you just

Post in

15 Sep 2014
0.48K
No Comments

PhpStorm — PHP IDE that evolves with you   The editor that actually ‘gets’ your code and deeply understands its structure, supporting PHP 5.3, 5.4, 5.5 & 5.6 for modern Hundreds of inspections take care of verifying your code as you type, analyzing the whole project. PHPDoc support, code (re)arranger,

Post in

15 Sep 2014
0.57K
No Comments

Page template system is awesome feature, this featured in wordpress to create your own template like single column data template, double column data template to show pages data as you want to in template, . Develop template name in php files for custom #cms, I am just showing in quick method

Post in

13 Sep 2014
0.32K
No Comments

There no any function available in php to detect string, this technique is used when user type login name with CAPITAL CASE, CameL caSe or Title case, web developer also prevent these type cases of string for user account loginanme because they assigned unique column of username in database, I wanted to use

Post in

6 Jul 2014
1.39K
No Comments
Create custom jquery slider with progress

This custom slider tutorial tell you how to create slider with your own logic, without using any slider plugin SLIDER HTML   SLIDER CSS STYLES  Add jquery document ready event and define some variables like slider animation time and slide change time in seconds Define function run_progress for initialize progress of

Post in

5 Jul 2014
1.1K
No Comments

In normally we cannot trigger with events of javascript keyup, keydown, keypress, when user typing done, I am also faced that challenge on a project where I am doing job of programmer, so I want to share that technique how to call your function when user done typing, I have created

Post in

3 Jul 2014
1.66K
No Comments

Its a great feature of #html5 to paste a text data into a element with contenteditable attribute, but when you copy data its copy the rich text with format after paste of content its looks ugly in element, so here code its won’t make ugly pasted content

Post in

3 Jul 2014
1.63K
No Comments

Its really sometimes we need to call two functions, first we user click on specified element and another when user clicked on not specified element, Eg: you have a textbox and control panel div of text box, but you want to call a function to show control div of  textbox when

Post in

3 May 2014
0.59K
No Comments

WordPress theme development tricks don’t forget them.   CALL WP_HEAD FUNCTION IN YOUR THEME’S HEADER.PHP FILE Call wp_head() function in your theme header.php file because many plugins even theme developer add javascript, css files through functions.php file with many some functions like wp_eneque_script()  wp_eneque_style(), and many seo plugins like WordPress SEO, All

Post in