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

SitePoint PHP Blog: Best PHP IDE in 2014 - Survey Results

SitePoint PHP Blog: Introduction to Silex A Symfony Micro-framework

DZone.com: Creating a virtual server with Vagrant: a practical walkthrough

DevShed: Completing an Extensible Website Engine with PHP 5

NetTuts.com: Basic Functional Testing With Symfony 2's Crawler


Community Events

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


release unittest opinion php7 laravel5 community voicesoftheelephpant language laravel example podcast framework interview list video api library series introduction version

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