These days most premium themes comes with some demo content in XML file which you can import in your WordPress website using wordpress inbuilt tool Import.
Twenty Twelve is default WordPress theme as of WordPress 3.5 By default Twenty Twelve theme will display author bio info below single posts pages only if:
Use below code to get your WordPress site homepage URL: <?php echo esc_url( home_url( ‘/’ ) ); ?> OR <?php echo esc_url( home_url() ); ?> This is useful when developing WordPress WordPress theme or plugin. Link if you want to [..]
You can use below php code to display search form in a WordPress theme: <?php get_search_form(); ?> This will show WordPress inbuilt search form. If you want to display custom search form, follow below steps: Step 1: Create a file [..]
WordPress theme directory URI is: <?php echo get_template_directory_uri(); ?> This code can be used when developing WordPress themes / Plugins. Like if you want to display any image in your theme, you can use code something like below: <img src="<?php [..]
Lots of WordPress powered websites are hacked everyday. Once your WordPress website is hacked, you won’t be able to login in admin dashboard of wordpress. In such cases you need to reset your admin password using some alternative method.
Everything was working fine, and suddenly one day you start getting error while uploading media files using WordPress default uploader.
For security reason, it is recommended to allow access to wp-admin from your IPs only. You can allow access to wp-admin from specific IPs or IP range using .htaccess file. This is simple and very useful security tip for wordpress [..]
For security reason, it is highly recommended to password protect your wp-admin folder.