My problem is, when I use the shortcode: [TAGS], it doesn’t put commas between the tags. I am sure, there should be a simple solution but I couldn’t find it.
Many thanks in advance, H
By Default it doesn’t have comma on it. You can edit the file: framework/class/class_shortcodes.php and search for this function: wlt_shortcode_tags then you can add comma after anchor tag.
I found the foreach loop of the [tags] shortcode in the class_shortcodes.php file but I couldn’t find out how to add commas. Could you please me let me know how can I do it? I don’t know what ‘anchor tag’ mean.
Many thanks, H
You should see [code title=””][/code] at the end it has [code title=””] [/code] You can add comma after [code title=””][/code]
Why do it require core theme file changes ?
Sorry but I don’t have development skills. I tried find the solution from the categories shortcode but I couldn’t understand the code 🙁
I would be happy if you could help!
whats your site link, most things like commas are switched for CSS these days.
It is https://partiyegel.com/. I used [CATEGORY] & [TAGS] shortcodes in the listing layouts. There are commas between categories but not between the tags.
Do you have any suggestion?
I have the same problems with Halil. I think it might be something to done with the class wlt_shortcode_tags, but couldnt find out the solution.
my link : https://lovtify.com/product/led-bar-furniture-led-coffee-table-led-stool/
This little line of code will place a ,comma after each tag… unfortunately including the last one, but I think that’s ok?
Place to: Design Setup -> Custom Meta Data -> Footer Styles [code title=””] <script> jQuery(“.wlt_shortcode_tags a”).after(‘,’); </script> [/code]
CodersPress.com – Plugins, Tips and Tricks
You could also try this [code title=””] <script> jQuery (“.wlt_shortcode_tags a”).append(‘,’) </script> [/code]
Actually Josh we can avoid putting a comma after the last tag like this:
using: .not(“:last”) [code title=””] <script> jQuery(“.wlt_shortcode_tags a”).not(“:last”).after(‘,’); </script> [/code]
Thanks M 🙂
Thanks both Guru M and Josh !
Start your new website today!