Using WordPress Shortcodes to create import/export safe URLs

link-banner

One of the most powerful elements offered by the WordPress Shortcodes plugin is the link set of shortcodes. With this set of shortcodes you can easily create dynamic adaptable links to any content on your site, which are optimized SEO links.

Introduction

One big problem with WordPress vanilla is that there’s no way to easily cross-reference content. So for instance when you add an attachment to your post, like an image, using the media uploader interface, WordPress simply places an HTML img tag with the absolute URL to that image into the post’s content.

This works fine when you’re just maintaining a simple blog initially but creates problems further down the line. For instance suppose you used to keep your blog at example.com/blog but now you want to move it over to blog.example.com, now you’re in a bit of trouble.

Read More »
Posted In: Tutorials |Tags: , , , |

Introduction to using WordPress Options, part 2

This article is a continuation of the first introductory tutorial to the WordPress Options plugin. In this part 2 we’ll be looking at how you can take advantage of some of the power provided by the framework to create more complicated options setups. If you’re just starting out with the plugin please have a look at part 1.

Here’s what we will be addressing in this tutorial:

  1. Creating multiple options pages and sections
  2. Using extra options types to accept different kinds of data
  3. List of option types
  4. Using sets to limit value ranges and display custom dropdowns
  5. A brief look at the advanced callback mechanism
Read More »
Posted In: Tutorials |Tags: , , , , |

Introduction to using WordPress Options, part 1

This article is a quick introduction tutorial to the WordPress Options plugin and how to use its APIs from your own products, regardless of them being either themes or plugins. In a hurry? Jump straight to the code snippet!

Using the plugin is extremely easy and only requires three steps:

  1. Embedding the plugin files into your own product (optional)
  2. Creating your options array with all of your settings
  3. Calling into the plugin’s API to register your settings

So let’s now look into each one of the steps and how to complete them.

Read More »
Posted In: Tutorials |Tags: , , , , |