• Hi, is there a way to use multiple category dropdown lists in the add form ? When i try to set it up it only shows “Adverts categories” as the only data source, i want users to upload their cars so i need categories for Brand, Model, Year, etc.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter manuelzv

    (@manuelzv)

    Also, could you tell me how to access the following directory: wpadverts/templates so i can edit the PHP files, i can’t find them anywhere.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    hmm are you looking to allow the users to select multiple categories or to have more than one data source?

    To allow users to select more than one category while editing a category field in the “Max choices” field enter value greater than 1.

    To have more than one data source you will need to register it, this will require some PHP programming knowledge, how to actually do that is explained here https://wpadverts.com/documentation/custom-fields-paid-addon/ in the “Using Registered Data Source” section.

    If you would like the data sources to use the data from custom taxonomies (for example if you want to Brands work the same way as the Advert Categories) then you can use the Custom Fields Taxonomies snippet to do that https://github.com/simpliko/wpadverts-snippets/blob/master/custom-fields-taxonomies/custom-fields-taxonomies.php

    How to install the snippet you can read here https://github.com/simpliko/wpadverts-snippets/ at the bottom of the page.

    To access the files you would either need to login to your website via FTP (for example using a software like FileZilla) then navigate to the wp-content/plugins/wpadverts/templates folder or do that from wp-admin / Plugins / Editor panel, in the top right dropdown select “WPAdverts” and then in the directory tree navigate to a selected file.

    Please note that using the FTP software is a recommended way to do it as it is easy to restore the files if something goes wrong, also if you decide to customize the templates consider creating a child template file as explained here https://wpadverts.com/documentation/child-themes-and-templates/ so your changes will not be overwritten on update.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using categories in Add form’ is closed to new replies.