Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to get WP menu in array form

Hello readers, today we will discuss about WP menu. If you want to get WP menu in array form , you can use below code and will get your menu in array. <?php /** Get the nav menu based on $menu_name (same as 'theme_location' or 'menu' arg to wp_n

How to correct error "Header already sent"

Hello readers. On developing the website the error 'Header already sent' is very likely to occur. This is cause by PHP when it receives outputs like echo or html tags now it can take the data but then further passing it to HTTP will be very difficult

How to enable CURD operation in YII

In yii we can create our basic code for 'CREATE',,'UPDATE','READ','DELETE' operations. for enable this functionality we need to enable curd. For enable curd go to your main.php file and find keyword 'gii' and you will see like this /* 'modules'=&

How to detect web browser of user using PHP

Hello Reader! If you are developing the website which depends on user's web browser then you must first find out the web browser that is opened. By using PHP you can get easily this info using the library code below:- <?php function detect_web_b

How to detect If user have internet explorer 8 or 9 or higher using PHP

On developing the customer user based web server, developer should choose all supported version of web browser and code according to web browser. If you are looking for detecting the version of all IE using PHP then the code below will help you perfe

How to make multiple submit button in a form

Hello Reader if you need two or more submit button in a single html form then you learn from the code below:- For the form the html will go like this:- <input type="submit" name="submit_button" value="Submit" /> <input type="submit" name=

How to detect the arrow key on press using Javascript

Hello reader's! If you are making the website based on user press key events. Then to detect the arrow key pressed by user we can code as below:- document.onkeydown = function(e) { switch (e.keyCode) { case 37: alert('You jus

How to disable user interaction of an iOS app

In iOS application there are only few ways to disable user interaction for the whole screen or UI. Some developers use property (User Interaction Enabled) for a specific control, some uses MBProgressHud class by displaying spinner or some uses user i

How to create menu using Wordpress

Hello Reader's! If you are new to WordPress and you have to create the menu for first time. You just have to do the steps below:- Step1:- Open or Create a file functions.php in your theme folder and paste the code below:- add_action( 'after_setup_t

How to print featured image in wordpress

Hello Reader's! If you learning the wordpress and want to show the contents of a page from admin panel. Then you can use the code below:- First you need to publish the page with it's title, content and a featured image. Now open the page and write

1 93 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: