Code stuff about WordPress Development on Mar 8, 2010 Write comment

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 WordPress Development on Jul 9, 2009 Write comment

Web Directory plugin now available at WordPress.org

I’ve now uploaded the Web Directory WordPress plugin at the WordPress.org plugin repository. You can now also download it from from its WordPress.org page. If you have questions on using it, just use the Code Stuff contact page or post a comment at the Web Directory WordPress plugin project page.

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

Link Directory WordPress plugin now available

I have now made available the Web Directory plugin for WordPress. The Link directory is built upon the core WordPress bookmarks functionality. You can manage the links using the existing WordPress functions for adding, deleting and updating bookmarks. It also uses the existing link categories that you create under WordPress.

If you have existing WordPress bookmarks, you can display them as a link directory using the plugin. It also creates search engine friend permalinks using the link category names. For more information and to download the plugin, go to the Web Directory plugin project page. I hope you’ll find it useful as additional feature of your WordPress blog.

Code stuff about Uncategorized on Jun 30, 2009 37

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.

Notes

Related Posts

Download

Version 2.6.4

Updated: February 15, 2010

Size: 18.13 KB

Downloaded: 574 times

Download

Code stuff about WordPress Development on May 24, 2009 6

Web Directory WordPress plugin update

I’ve been cleaning up the code of the Web Directory WordPress plugin I’ve created so that I can make it available for download. I decided to start creating this plugin by using the existing core bookmarking code available in WordPress to make it easier for people that have WordPress sites to add a web directory into their blog.

My plan is to create an initial usable version that focuses on simplicity and ease of installation plus optimizing it for search engines thru the use of permalinks. I’ve also added some code so that the page title and description for the categories are properly initialized. This should add more plus points when the web directory gets crawled by the search engines.

Continue reading …

Code stuff about WordPress Development on May 16, 2009 5

Web directory WordPress plugin

I’ve finally segrated the code for a Web directory from the Chameleon WordPress theme and created it into a WordPress plugin. The code is now working in my computer. It uses the internal link tables that WordPress uses for its bookmarks functions instead of creating my own tables. I’m currently testing it and hopefully put it into production on one of my web sites on the Internet.

Over the following days, my goal is to test and clean up the code so that it would be easy for people to put up a web directory on their own blog without to much of a hassle and also keep it working by using available core functions in WordPress instead of re-inventing things. Once I’ve stabilized the initial version, I’ll make it available on my projects page for people to download and use.

Continue reading …