WordPress Classifieds Plugin

Posted by M. 4Gani under Tools, WordPressi:


With this plugin, you will be able to add a Classifieds Advertising for Personals, Auto or Business in to your wordpress blog.

Installing the plugin:

Please test the plugin with your theme on a develop machine or a local machine, if the test is successful install it on the production machine.
Click here to download the:
1) last release (classifieds Page in one column) or you may check out a working copy over HTTP.
svn checkout http://svn.wp-plugins.org/wp-classified/trunk/

2) Extract the zip files
3) Upload folder to your site (./wp-content/plugins/wp-classified)
Public Directory
You also have to create an a public directory under wp-content (the public folder must have write permission)
and create the following directories and chmod them to 777 (writable by the webserver.)

4) Login to the administration and go to “admin panel/plugins” and activate the plugin
5) Go to the “Manage” tab of your WP. You have now there a new tab called “WP-Classified Admin”.

6) Go into the Manage — wpClassified —
7) Click on “Add Category”
8) Categories are the MAIN sections of your classifieds. For example, Autos For Sale

9) Now that you have a category, click on “Add List” under the Add/Edit Categories menu.
10) Create a list and then choose its parent category.

Lists are your subsections on your classifieds. For example, “Trucks” would be a list whose parent category would be “Autos For Sale.”
Unless you create lists under your categories, you won’t see a thing on your classified page.

Configure the plugin

Make sure the folder images have the correct writing permissions.

You will need to make the following folders writeable (chmod 777) :

– wp-content/plugins/wp-classified/cache

Add a public directory and upload the images public resources (the public folder must have write permission)

– wp-content/public/wp-classified/

If you upgrade from 1.3 to 1.4 please move all public images  form the folder wp-content/plugins/wp-classified/images into the wp-content/public/wp-classified/

Uninstalling the plugin

For uninstalling deactivate the plugin in the WordPress admin menu and delete the wp-classified directory from the /wp-content/plugins/ directory and the page and tables, which are installed by the plugins with drop table in phpMyAdmin.


I create and tested on WordPress version 2.3.2 on default and unchanged Permalink structure.
The plugin works successfully with the latest version of wordpress 2.7.


wpClassified version 1.3


Upgrade Instructions

  1. Deactivate the plugin from your WordPress admin panel.
  2. Backup Database tables *_wpClassified_* and files.
  3. Upload the files to your /wp-content/plugins/ folder and overwrite the existing file.
  4. Activate the plugin from your WordPress admin panel.
  5. Please Note: in ‘Classified Options‘ page in admin interface, check that all the required fields are filled in and save!

Questions and Examples of Use

Frequently Asked Questions

Q: Why the main site gives me the 404 or Not Found error message

This is a .htaccess 404 error message and you should update your .htaccess file in the wordpress root directory.

Q: Who can I collapse the categories as default instead of expanded as default.

Open the file ./includes/main_tpl.php in your favorite text editor.
Edit line: ca. 34
update the ’showAll();’ to ‘hideAll();’
That’s all ;)

Q: I would like to put the last ads in my sidebar. is it possible?

Inside the wordpress admin ‘Design’ menu, ‘Widgets’ submenu, add the wpCalssifieds widget to your blog where you want, then save the changes.

To support Permalink structure:

Normally you should not edit the htaccess, the Permalink link will be detect by plugin automatically.
The htaccess is a way to add the category name to the url or display the post title in the blog url.

This is an example for .htaccess file to redirect to wpClassified for the people who use ‘ /%category%/%postname%/’ as permalink structure
Please open the .htaccess file in the wordpress root folder in your favorite editor and look for line

RewriteRule . /index.php [L]

and replace it with:

#RewriteRule . /index.php [L]
RewriteRule !^(classified)/ /index.php [L]
RewriteRule ^classified/([^/\(\)]*)/?  /index.php?pagename=classified [QSA,L,R,NS]

May be by using  the ‘/%postname%’ or ‘/%category%/%postname%/’ as permalink structure the plugin must work correctly and you do not need change anything.

Q: Warning: imageftbbox() [function.imageftbbox]: Could not read font?

Enable the GD and FreeType Support in php configuration or unselect the ‘Show the confirmation code’ check box  in admin interface

Some words about permission:
if the people post as anonymous, they are identify by their IP address.
Is the IP address a dynamical address, then they get lost after a while and their edit permission.


Changes 1.4 – January 17/01/2009
– January 18/01/2009 fix for Internet Explorer and xampp

– fixed for plugin auto-upgrade
Note: This bugfix release hove to install Manually.
– fixed for the plugin auto-upgrade. (must test with the next coming version)
– moved directories public resources to wp-content

Changes 1.3.1-b – February 09/02/2009
– modify to approve posts before they are published
– fixed the problem with re-size of thumbs images

Changes 1.3.1-a – January 25/01/2009
– update to cover changes between WP-Version  2.6 and 2.7
– fixed the widget control

Changes 1.3.0-a – October 13/10/2008
– Modify to expanded and collapses the Categories
– Modify to show the last post in footer

Changes in 1.3 – September 10/2008
– Update to display-style classified ads in one column
– Added the ad images viewer
– Allowed more images per ad
– All the pages using templates
– Added style sheet for page layout


– comments on individual listings/ads?
– implement the paid service and pay pal options?
– preventing the Bad languages


    • wpclassified@forgani.com


    (Please include wpclassified in the subject of your email.)

157 Responses to “WordPress Classifieds Plugin”

Pages: « 1611 10 9 8 7 [6] 5 4 3 2 1 » Show All

  1. cybergirl, 14. January 2010, 10:04

    Hi thxs for update. Nevertheless I’m getting great problems with wpclassified plugin
    1) textfield for text ad at “ad classified” is too big, it does not integrate in the used theme. Can you please tell me in wich file I can reduce the window-size of text-ad.

    –> You can edit the stylesheet file ‘wpClassified.css’ to change the width and text colors etc.
    if exists a lot of blank space on a category page then remove all ‘ clear:both; ‘ form wpclassified.css style sheet file.

    2) there are great loading problems when you call wpclassified (used theme is deep-blue). Deep blue works without wpclassified very well.

    3) FF webmaster-tool says: tiny/tinymce is misscoded. Also the setting “posting style -> HTML with TinyMCE” does not work.

    –> This version use the tinyMCE text editor of wordpress. Maybe it’s missing some files, images or directories. You can use the web developers tools for firefox to find missing files
    for example(depend on wp version): the Javascript en.js file missing in “wp-includes/js/tinymce/langs”
    for fixes download the latest version of tinyMCE unzip and copy the missing files in the right folder.

    I work with WP 2.9.1 (also it doesn’t work with 2.9), Theme deep-blue 1.1, Firefox 3.0.17 (the same problems also with IE 8.0 and Opera latest version).

  2. Cornel Achi, 12. January 2010, 20:32

    I am trying to save an ad but without any succes.
    I get the following error: “Sorry, no posts matched your criteria.”
    Any ideas?
    Thank you.

    Oh sorry, i forgot to checkin the code for plain text
    Please download and replace the files

  3. admin, 11. January 2010, 8:23

    BUGFIX    -> WP_Classified::handle_pagetitle

    <b>FIND line 87 in wpClassified.php file</b>
    update ->’handle_pagetitle'<- and CHANGE TO page_handle_pagetitle

    Here’s the correct changes:
    add_filter(“single_post_title”, array(&$wpClassified,”page_handle_pagetitle”));

    Replace all files:

    I just Upgraded to WordPress 2.9. Please download the plugin again and replace the complete
    files (13 Jan 11:00 UTC)

  4. Moe Rutksi, 10. January 2010, 1:06

    Hi, I’m getting the following error code under the User Admin section.

    Fatal error: Call to undefined function: get_wpc_user_field() in /home/.dazy/marginal/montaukyouth.org/wp-content/plugins/wp-classified/settings.php on line 657

    I am unable to add posts to the classified.

    line 657 in file settings.php
    update and change to the
    $namefield = $wpClassified->get_user_field();

  5. cybergirl, 8. January 2010, 19:54

    Another bug I’ve found: The button “cancel” on form “Edit ad by User” is without any function. You can save the amendments, but not cancel.

  6. cybergirl, 8. January 2010, 12:37

    I’ve installed the plug-in and it works well. Nevertheless I’m having two problems: when somebody submits an ad I receive the admin notify mail:

    This e-mail has been sent to notify you that an Ad has been posted at your site ‘xxxx’,and is pending review/approval.

    The Ad and user information is as follows:
    Aufgegeben von : admin
    Title: xxxx
    List: xxxxxx, xxxxxx, xxxxx

    The link to the website, which was posted in the ad is missing in the mail. In the table wp_wpClassified-ads_subjects, column “web” I cann see the Url.

    The second problem is RSS-Feed, and it also does not work here. The feed refers to the main page, and not to the feed or page for feed-subscription.

    I also have one question: I cannot understand the date in wp_wpClassified_ads_sujects, column “date”. There is a date like this: 1262942498 Which date ist this ? Ad was posted for 90 days.(according to column “txt”) in same table.

  7. Hakon, 22. November 2009, 17:05

    On the Changelog on wordpress.org (http://wordpress.org/extend/plugins/wp-classified/changelog/) it says that 1.3.2.g is available for 2.8.6 but on 1.3.2-a is there. Where can I download the “G” from?



    The 1.3.2.g is not a official release but the code has been changed and implemented in the current version 1.3.2 on svn.

  8. Nick, 11. November 2009, 6:06

    Excellent plugin – though I am having a display issue in FireFox where there is a lot of blank space on a category page to the listing.  The listing is showing up all of the way at the bottom of the page making it look as if there is no ad placed for a particular category.  Here is an example URL:  http://theamericastop.com/classified/?_action=vl&lid=12

    Please remove all ‘ clear:both; ‘ form wpclassified.css style sheet file in ./css directory and the site will look well.

  9. Reed, 25. September 2009, 18:53

    Hi there,

    Awesome plugin! Thank you.

    Just wondering, is there a way to make the link in the “Website URL” field active after an ad has been placed?


  10. carlos porras, 23. September 2009, 5:58

    Cool! But… How can I fix it? I can’t even find the htaccess… I am not that wp savvy but I am learning quite fast… Any suggestions?

Pages: « 1611 10 9 8 7 [6] 5 4 3 2 1 » Show All

Post your comment