Code stuff about WordPress Development on May 27, 2010 Write comment

WordPress Directory Plugin updated to 2.6.5

I’ve created a fix for the linkcat issue on submission forms using the Contact Form 7 plugin. The validation error should now be fixed. If anyone using the web directory plugin is still having problems, please post a comment on the plugin’s project page and I’ll see what I can do.

Continue reading …

Code stuff about WordPress Development on Mar 8, 2010 8

Using Contact Form 7 with the Web Directory Plugin

I’ve recently pushed an update to the Web Directory plugin for WordPress that enables people to use the Contact Forms 7 plugin to support link submissions. Several people have been asking me to write a tutorial on how I did it on my Connected Phone web site. This should help some of you to create a submission form and use it with the Web Directory plugin I have created. It’s not a comprehensive tutorial on Contact Form 7. If you need some basic information about the Contact Form 7 plugin, I’ve written a post you can read (WordPress Contact Form 7 plugin: Great for Forms).

Continue reading …

Code stuff about WordPress Development on Feb 15, 2010 Write comment

Link Directory 2.6.4 for WordPress now available

I’ve now uploaded an update to the WordPress web directory plugin. The current version 2.6.4 fixes an issue for users trying to install the link directory plugin in a WordPress blog that has been installed in a sub directory. This new version should now work with the situation.

I’ve tested it and it now works for WordPress sites that are installed in subdirectories. If anyone using the plugin still experiences any problems please post a comment. Thanks.

Code stuff about WordPress Development on Aug 6, 2009 1

Link Directory plugin submit URL feature

I’ve been working on a new version for the Link Directory WordPress plugin I’ve created. Just to update you of what’s coming. I’ve made some changes to the Web Directory plugin core to allow me to easily add more features in the coming versions. I’ll soon be releasing a beta version for those of you who might want to test it and provide some feedback.

Continue reading …

Code stuff about WordPress Development on Jul 21, 2009 Write comment

Web Directory plugin v2.6.1 tested latest WordPress

I have uploaded my newest version of the Web Directory WordPress plugin here at Code Stuff and also at WordPress.org. I’ve added a new feature on version 2.6.1 to allow users of the plugin to remove the display of the “Websites/Blogs Under” prefix when displaying the header title for Link Categories. I’ve also tested it for WordPress version 2.8.2.

You can download version 2.6.1 from the Web Directory WordPress plugin project page.

Code stuff about Uncategorized on Jun 30, 2009 67

Web Directory WordPress Plugin

When I started using WordPress, I liked the idea that you can store personal bookmarks on your blog. When I started using it, there are some functions that I wanted so I started searching for a plugin. I couldn’t actually find a plugin that fits my requirements so I decided to start creating my own Web Directory plugin.

I decided to use the existing WordPress tables so that I could re-use existing functions like adding/editing/deleting bookmarks. I wrote down a list of features and functions that I want to put into this plugin.

Features

Some of the current features of the Web directory WordPress plugin include the following:

  • Add/Edit/Delete directory entries using the current bookmark management functions existing in WordPress
  • Easy setup of a main Web directory page by just using a single WordPress shortcode in a page you create in WordPress
  • Easy integration into WordPress themes by detecting and using defined theme stylesheets
  • Use of pretty permalinks in the Web directory structure to provide better search engine indexing and optimization
  • Automatic creation of search engine friendly titles and description meta tags when web directory categories are accessed.
  • Paging the list of links if the list gets too long
  • Support for adding a “site submission” form using the Contact Form 7 plugin

Planned Features

Some of the planned features for the Web directory plugin are:

  • Support for sub-categories – although the current WordPress core tables already support the creation of parent-child sub category relationships, there are no core functions for doing this.
  • Backup / restore of categories/bookmarks – I’m also thinking of creating a Firefox plugin to be able to sync my bookmarks.
  • Some WordPress shortcodes to handle automatic link formatting in posts and other pages.

Installing the Web Directory plugin

After downloading the plugin, just unzip it into your WordPress plugins directory and activate the plugin from your WordPress plugins administration page.

Once the plugin has been activated, a sub menu called “Manage Directory” will be created under the “Links” menu of WordPress. There are several steps you need to do to start using the Link Directory plugin.

First, you will need to create a page inside WordPress and insert the [wplinks] shortcode that the Web Directory plugin uses to determine where to insert the contents of the bookmark directory. Check the screenshot below:

web-directory-plugin-shortcode

You can insert optional text between an opening [wplinks] and closing [/wplinks] shortcode. The text will be formatted in an enclosed div with a class of “intro-box”. This will allow you to format it differently than the rest of the text. As an example, you can checkout the Code Stuff link directory. I use it to put instructions.

Second, tell the Web Directory WordPress plugin which page is you will be using to display the link directory by selecting it under “Manage Directory”. You can also set a description for your web directory. This will be used when generating the description meta tag of the main link directory page. If you leave it blank, the plugin will generate a description for you.

web-directory-manage-directory-options

You can customize the default styles that the Web Directory WordPress plugin use. This will allow you to modify how your link directory will look when it is displayed. Do this by creating a file named kih-web-directory.css inside the directory of the WordPress theme that you are currently using. The plugin will detect it and use that stylesheet instead of the default.

That’s it, you can start populating your WordPress bookmarks table.

Enabling the “site submission” feature

I have incorporated some code to enable users to allow visitors to their site to fill up a form for submitting requests to be added to the web directory as of version 2.6.3. The partial support can be enabled using the Web Directory plugin in conjunction with the excellent Contact Form 7 plugin. You can create your own site submission using Contact Form 7. When the Web Directory plugin detects that the Contact Form 7 plugin is installed, it will load some code stuff that will allow you to use a [linkcat] contact form 7 shortcode. The shortcode enables the display of a “Link Category” select field in your form. The [linkcat] shortcode will take care of retrieving the available WordPress Link Categories from your site database  and display it as a select field in your form. At least Contact Form 7 version 2.0 is required for this feature to work and you will still need to create your own form.

You can read a tutorial on how to use the Contact Form 7 plugin with the Web Directory plugin.

Changelog

  • 2.0.2 – 2009-04-16 – created as a plugin
  • 2.5.0 – 2009-05-17 – finished basic functioning web directory
  • 2.5.5 – 2009-05-29 – fix permalink issues
  • 2.6.0 – 2009-06-22 – automatically use a custom style sheet in the site’s default theme dir
  • 2.6.1 – 2009-07-17 – added option in manage directories to enable/disable display of
    “Websites / Blogs under” prefix label
  • 2.6.4 – 2010-02-15 – fixed permalinks to work for blogs under a subdirectory
  • 2.6.5 – 2010-05-26 – fixed linkcat validation issue for submission form

Notes

Related Posts

Download

Version 2.6.5

Updated: May 26, 2010

Size: 18.82 KB

Downloaded: 1,080 times

Download