We have been chatting about various changes that make your WordPress site more useful for your viewers. Today, we will look at adding a custom logout link into your theme or plugin, so users can close their sessions. This is not complicated. Lets see how to do it: <pre lang=”php”> <a href=”<?php echo wp_logout_url(); ?>”>Logout</a> … Read More
We have been talking in previous posts, about the relevance of the readme.txt file, when you want to put put your plugin into the WordPress plugin directory. This is the text that explains about your plug in, answers common questions, thanks others for their input, and other like information. Sometimes, especially at the beginning, writing … Read More
Before continuing adding features to our WordPress plugin, we need to know what hooks, actions and filters are. What does WordPress say? “Hooks are provided by WordPress to allow your plugin to ‘hook into’ the rest of WordPress; that is, to call functions in your plugin at specific times, and thereby set your plugin in … Read More
Writing Your First Plugin for WordPress: A Primer One of the great things about WordPress is the possibility to add your own custom functions/processes/enhancements without “touching” the core system. It is what we call a “plugin”. The WordPress definition of a plugin is as follows: “A WordPress Plugin is a program, or a set of … Read More