Yes I have tried that but this option changes the order on the listing’s page. I would like to change the order in the category page where all listings are displayed.
The link I’m talking about looks like this: mywebsite.gr/business-directory/wpbdp_category/category-name/
Right now the order is: Address, Category, Website, Phone, Fax, Cusotm Field 1 and I want the custom field to be displayed first.
That option I mentioned would change the order on the listing page as well as the category page. However, if you wish to change the order only for the category page or if you want to have two different sets of field order for listing and category view then this is something that would require hacking the core plugin directly.
For changes like this, the changes are substantial enough that it’s not limited to a single file. You’ll need to read and understand the code base of BD to make such a change successfully. We have customization doc available that can help as a starting point:
You are right, this option changed the field’s order in both the listing page and the category page! I guess I missed it in my previous attempt. Thanks a lot!
I would really like to find out how to change the order form the plugin’s files, it might be useful in the future!
I have read the documentation for the customization and I’m stuck at this:
In the businessdirectory-listing.tpl.php template file I see that the $listing_fields are displayed but I cant find where the fileds are stored as to change their order.
Thanks in advance!
Most Users Ever Online: 197
Currently Browsing this Page:
Guest Posters: 5058
Newest Members:[email protected]
Moderators: BD Support: 0
Administrators: Business Directory Support: 1714