WordPress is widely used by designers and developers alike. It is so easy to use as a content management system that any novice can learn in few hours and start posting. I am highlighting few points here.. WordPress is Open Source Software. You can download it and modify according to your needs or just for […]
To check a user is login to WordPress is_user_logged_in() function can be used. is_user_logged_in() This function may also be used to add Login/Logout Button.
At WordPress admin Dashboard there are a number of widgets for showing activity, quick drafts, news etc. These widgets installed by default. These widgets can be removed by using remove_meta_box() function. Either you can remove widgets of your choice or remove all widgets. For example remove ‘Activity’ widget then below line work for you. remove_meta_box( […]
The error “Error establishing a database connection” is very common in WordPress. It literally means there is an issue connecting to database server. This issue may be caused either by wrong info in WordPress code files or Database server is unable to respond to queries sent to them. Let’s look at all possible reasons one by […]
There are different methods for adding custom CSS to your WordPress site. Custom CSS can be added for modify frond-end of your website or modify back-end(admin area) of your website. Modifying website front look is most common. Adding CSS to modify website front-end Add following line of code in functions.php of your theme to modify […]
By default WordPress version number is enabled and show in code of WordPress site installation. Generally there is no need to remove version number. May be someone don’t want to reveal the version number of WP site.It is generally needed when you don’t update WordPress when update available. Using below code version number from WordPress […]
This error message pops up while updating WordPress Core, Themes or Plugins. This error is common on localhost installations.Here is how it looks: How to fix The error pops up when Curl extension of PHP is not enabled. To fix this issue you need to enable curl. Search for php.in PHP configuration file in Apache […]