Home » PHP : : CMS : WordPress

Build a Bare-Bones WordPress 2.8+ Widget

This tutorial is going to be a little more advanced than some of the fare around here, but in the end you'll have all the information you need to know to create your very own WordPress widget! And that's worth the effort, I think. However, you will need to understand a little bit of PHP for this to make much sense.

Sponsored Links:

Related Topics

How To Widgetize Non-Widget WordPress Theme
Consider this – If you found a WordPress theme that you like so much but it is not widget-supported, don’t give up just yet. Methods below helps you to widgetize non-widget theme to a drag-drop widget theme.


Create A Multi Author About Me WordPress Widget
It's common in many blogs to have an about me widget in the sidebar of the blog which displays the biography of the author. This is a great place to show everyone your name, your biography, your picture and your social media links. If you want to do this in WordPress you can add a standard text widget and input this information manually.


Allow Users To Add PHP code in Text Widget in WordPress
Wordpress text widget is an awesome widget where you can add text , html or javascripts any where but we cannot add php code in it. In order to execute php in text widget use following snippet. Now add the following snippet in functions.php file.


Create Favourite Tweets Wordpress Dashboard Widget
In this tutorial I will show you how to easily create a WordPress dashboard widget to display your favourite tweets.


How To Create Your Own Custom WordPress Theme
Follow this overview of the build process to create your own custom WordPress theme. We'll be taking my latest theme design from its basic HTML and CSS mockup and inserting the various WordPress template tags to build a fully working theme ready to install on your blog.


How to Build a Basic Portfolio WordPress Theme
If you've been following parts one and two of this portfolio website tutorial series you will already know how to design the concept in Photoshop and build a working demo in HTML/CSS. Now let's take the design and convert it into a basic WordPress theme so you can easily manage and update your website through the popular WordPress application.


How to Build a Custom Wordpress Theme from Scratch
If you're confident with your CSS and HTML, its not hard at all to step up to the challenge of building a custom Wordpress theme. This overview shows the process of how my latest custom Wordpress theme was built from design concept through to completed theme. See how the static design is split up into the various Wordpress theme files, and discover how the simple PHP snippets can add that dynamic functionality of a blog.


Build a featured post section within WordPress
This tutorial will detail how to build a Featured Post section within WordPress. The featured area will contain the blog title, date and the excerpt.


Build a User Login Flash Widget
This chapter teaches shows how to utilize user management within a Flash application by building a User Login Flash widget. One of the most important aspects of the Drupal CMS is its ability to manage its users and protect the content of that site using a permission-based role system. (install acrobat reader to view this tutorial)


Creating WordPress Shortcodes
WordPress shortcodes are one of the greatest features that enable you to perform functions inside of wordpress posts. WordPress shortcodes allow quick customizing of the layout and inserting certain formatting snippets. In this tutorial I'll introduce you to wordpress shortcodes and show you how to make your own.


Improve your WordPress Navigation Menu Output
WordPress 3 has gone gold and ships with an amazing new menu manager that can be used to control the navigation menus of your website. This tutorial will teach you how to change the default output of this manager, since getting a custom output can heavily improve the style of your themes. So first of all here is an example of the wordpress menu we want to build.


Build WordPress Email Wrapper (With Attachments)
In this quick tutorial I will show you how plugins like BroadFast for Wordpress manage to overwrite the default sender and to send emails with plain text and HTML versions. You simply need a small wrapper function. See the full code first and I will explain it below:


The Accordion Widget
The accordion widget is a robust and highly configurable widget that is made up of a series of containers and allows users to save space on their web pages by only displaying a certain section of related content at any point in time. This is another component d edicated to the effective display of content. It is like a tabbed interface but positioned vertically instead of horizontally. It has a range of configurable properties that can be used to customize its appearance and behavior.


Get All Wordpress Navigation Menus
If you are creating a custom themes options page or a WordPress plugin which needs to get all the WordPress menus in your site. This small function can be very useful, it will return all the WordPress menus on your site in an array so you can process them as you want.


How to Integrate Google Adsense into WordPress Shortcodes
WordPress is such a great tool for bloggers and publishers. I`m not making any differentiation between digital writers and others because WordPress, being a CMS, can handle any type of website. But as much as they love to offer free content to the masses, they still have to monetize WordPress in someway and what`s the most convenient way if not Google Adsense?


Must Have WordPress Plugins and Tools
Using WordPress alone limits the user to just plain blogging. So I've listed down some of the plugins every WordPress site should have. Use this to extend the functionality of WordPress. I've listed 9 of them below. In case some of them does not work on your current site due to compatibility issues from upgrades in WordPress core or other plugins, you can always search for an alternative with the same functionality.


Build a WordBurner Email Newsletter Manager using WordPress and FeedBurner
In this tutorial I will show you how to use your regular Wordpress website combined with Feedburner to make a simple email newsletter manager.


How to Install WordPress a step by step guide
We can teach you how to build your online shop or website using WordPress, however we tend to get a large amount of emails from our students asking if we can walk them through this process again for when they are looking to make another website. So kindly our Advanced Web Design instructor Eric has written a great step by step guide for everyone to use!


Secure WordPress Config File With htaccess
Your wp-config.php file stores all of your config variables for your WordPress site. If someone has access to this file they will be able to see your database username and password.

When you first install WordPress there is a default wp-config-sample.php file which you need to rename and modify.

To keep this secure you can move this file outside of the WordPress root folder, WordPress is able to find this file one level up from the root.


How to turn WordPress into a CMS in 4 easy steps
We already know that WordPress is a great blogging tool, but did you know that it's also very easy to turn WordPress into a CMS (Content Management Tool)? In fact, a lot of websites are built on WordPress, because it's so easy to use. In this post I'll explain how you can turn your own WordPress blog into a CMS.