WordPress is a really powerful and secure CMS system, but if you are using it with the default installation, your site is always under risk. For example, if your login URL is yoursite.com/wp-admin hackers will always know where to start. In this post, I will show you how to quickly fix this issue for a […]
In a recent development project, I had to add a user to WordPress programmatically because I had no WP user data but only access to FTP. If this is your case, here is the code I used to add myself to the WordPress users: <?php /* Add user to wordpress programmatically */ $user_name = “wpadmin”; […]
In order to display search form on your theme, either you can use search widget on your sidebar, or you can add it manually using PHP template below: <?php get_search_form( $echo ); ?> Default WordPress Search Template If you have a searchform.php in your theme folder, this template displays the contents of that file. If […]
Dropdown menu widget automatically generates pages and categories menus. While generating page menu, it uses Page Order specified on Add New Page screen.
.htaccess is a magic file that tells apache to how to serve files in a directory. It is the most common also the best way to speed up your website. One of the most important factor in page loading speed, is that