Tutorials

Category

21 posts found

29 Nov 2014
0.52K
No Comments
Define theme template in wordpress

#wordpress provide a good page template feature show page layout in different layouts like single-column, double-column, full-page, or custom-template. default template is page.php for page, so you want to show contact form or different layout from other page. To define your layout  go to  /wp-content/themes/theme_folder/ create file with php extension,

Post in

27 Nov 2014
0.4K
No Comments

There is different way to access array and object many developers are use array instead object, if any a data get object and need to convert from object to array. Some are may be prefer to use object instead array, here is code example to quickly convert your large amount

Post in

19 Nov 2014
0.73K
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.4K
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

19 Oct 2014
0.49K
No Comments

In some where we need only thumbnail source link the function the_post_thumbnail cannot return  thumbnail source link, we ca two ways to get thumbnail src. 1. wp_get_attachment_thumb_url 2. get_attachment_src

Post in

18 Sep 2014
0.7K
No Comments

Create wordpress password for your theme function or plugins

Post in

15 Sep 2014
0.37K
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.56K
No Comments

CI Codeigniter Fatal error: Call to a member function userdata() on a non-object Codeigniter provides in helper to defined $CI and used in functions helper, in some versions of codeigniter it cannot load on defined function in functions helper, in older versions it we just load in variable called $CI

Post in

13 Sep 2014
0.15K
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
0.87K
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