Do you want to customize the RSS feed footer in WordPress? This allows you to add custom text, links, or even advertisements below your post content in the RSS feed. In this article, we will show you how to easily control your RSS feed footer… Read More »
Comments are a great way to keep your users engaged and build a strong community around your content. Tiny hacks like comment redirect help you improve user experience and stand out. In this article, we will show you how to easily redirect user’s attention with… Read More »
The post How to Redirect Your User’s Attention with Comment Redirect appeared first on WPBeginner.
Have you ever optimized your WordPress database? Optimizing your database cleans up unwanted data which reduces database size and improves performance. In this article, we will show you how to easily optimize your WordPress database with one-click. Why You Should Optimize Your WordPress Database? If… Read More »
The post How to Optimize Your WordPress Database with One Click appeared first on WPBeginner.
Do you want to display relative dates on your WordPress site? Relative dates are used on many popular social media websites like Twitter and Facebook. Instead of showing the date timestamps, these websites show how long ago something was posted. In this article, we will… Read More »
Often users want to print articles they find interesting. By default, WordPress itself and most WordPress themes would print your page as it is, with all the graphics, colors, and text in sidebars. In this article, we will show you how to add a printer… Read More »
The post How to Add a Printer Friendly Option to Your WordPress Posts appeared first on WPBeginner.
WordPress is arguably the most popular content management system on the web.
According to Forbes, over 60 million websites globally are powered by it. Numbers like this show that WordPress is no doubt a leading contender when it comes to Content Management Systems (CMS).
A major attractiveness of WordPress is its large pool of plugins. Want to build an eCommerce store, there is WooCommerce and how about a job portal, there is WP Job Manager.
In this tutorial, we will learn how to build a plugin that counts the number of times users log in to a WordPress powered site with the login stats been displayed in a custom column in user list page.
Majority of files in a WordPress plugins consist of PHP file, located in
/wp-content/plugins/ directory. In our example, the file will be called
wordpress-login-count.php. I assume you’re comfortable with connecting to your server using FTP/SFTP/SCP or SSH.
If you want to follow along, create the plugin PHP file
wordpress-login-count.php. The complete plugin will be available for download at the end of this tutorial.
Continue reading %Building a WordPress User Login Counter Plugin%