News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
How to Write a "Most Popular By Views" WordPress Plugin
June 18, 2010 @ 08:37:26

On NETTUTS.com today there's a new tutorial for the WordPress users/developers out there showing you how to create a "Most Popular By Views" plugin for your site.

As you continue writing for WordPress more and more, the level of difficulty and complexity of your plugins will eventually reach far beyond the simple back-end data manipulation, as demonstrated in our beginner's article. In this installment we'll cover in-depth: database interaction, Admin Widgets, and Sidebar Widgets. Today's example will be a custom built "Most Popular by Views" plugin, which creates an admin area widget for us to view, and a sidebar widget for visitors to see.

Besides waling through the whole process, the tutorial offers a download of the source if you want to get started right away. The resulting plugin can be used on both the admin and public sides of the site as a widget that can be dropped in easily. Code to create both the widget and the database table it needs for a backend are included.

0 comments voice your opinion now!
wordpress popular views plugin tutorial


blog comments powered by Disqus

Similar Posts

Derick Rethans: Connection Handling with the MongoDB PHP driver

ProDevTips.com: File Uploads with PHP Doctrine

9Lessons.info: Facebook Style Tag Friends with Jquery, Ajax and PHP

Gonzalo Ayuso: Handling several DBALs in Symfony2 through the Dependency Injection with PHP

CatsWhoCode.com: How to easily monitor your web server using PHP


Community Events





Don't see your event here?
Let us know!


interview language install introduction threedevsandamaybe code framework developer community podcast opinion laravel wordpress series refactor list testing experience release unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework