Tag: wordpress
WordPress provides an API is_user_logged_in() to check if any user is loggin, but unfortunately, it is not directly available when you write plugins e.g. Plugins are loaded before pluggable.php …
The wordpress folders and files should be set the correct permissions. If you have multiple blogs on the same server, you can use the following script to ensure the …
WordPress provides add_action to do something when event occurs. The following shows you a quick/easy example that menus are added to top-bar administration page when event wp_before_admin_bar_render is triggered. …
At the end of each year, as a blogger, you might be interested in knowing the list of top popular posts of the year. Luckily, this can be easily …
Many wordpress spam comments are generated by bots calling wp_comments.php directly. Therefore, we can add a filter in WordPress functions.php template to avoid spam comments by checking the page …