News Feed
Jobs 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

JellyandCustard.com: Using DirectoryIterator to List Files in PHP

KillerPHP.com: Two New Video Tutorials Posted

PHP-GTK Community Site: Accessing geo-nick with Zend Framework (Zend_XmlRpc_Client)

SitePoint PHP Blog: Build Virtual Machines Easily with PuPHPet Part 2

Zend Developer Zone: The Storage Medium


Community Events











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


podcast language symfony2 component introduction security release series performance application install opinion example unittest package hhvm framework hack composer facebook

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