Jump to content

Custom Field - Shortcode Generator


Daniel.de

Recommended Posts

Using ShortCodes is great but it is not comfortable for my authors. It would be great to have a 

 

Shortcode Generator field!

 

My idea is:

 

- Create a new custom field: Shortcode Generator

- User see this generator when they submit a new listing. They can generate a shortcode by choosing parameters like:

 

  • Search by listing name  OR
  • Search by field or keyword OR
  • Search a category OR
  • Search a directory

The user select the listings or the category or the directory he want to use in the shortcode. The result is a shortcode which the user can copy in any position.

 

The admin should have the rights setup the parameters in field settings like:

 

- Max. number of results

- The categories and directories which sould be visible in the generator

- tn_position

- tmpl_suffix

... and so on

 

This is just an idea. Maybe you can include a button in the editor. So users can insert the code directly at the cursor position.

 

It other JReviews Users are interested and Alejandro thinks it is possible we can discuss about it.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...