Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1118126

    Hi guys,

    I need a help on figuring tis out.
    I create 3 custom taxonomy for the posts. You can see it on this image. https://ibb.co/tKGT8V8
    All good, except on the front end when there are several inputs from the main WordPress taxonomy and the custom taxonomies, there is no comma when one ends and the other starts. Look at image 2 https://ibb.co/n3GkYB4 and 3 https://ibb.co/mqnTd7b.

    Can you guys help me ?

    Thanks

    • This topic was modified 4 years, 9 months ago by kylerollins.
    #1118422

    Hey Kyle,
    Sorry for the late reply, please link to the element so we can examine closer.

    Best regards,
    Mike

    #1118748

    Hi Mike,

    Thanks for replying ;)

    I created this page to build our own layout and used the element “Blog Posts”.
    I added a link to the page, if you check the first post you can notice it. Let me know if you need admin access to it .

    Thanks for the help

    Cheers

    #1118772

    Hi,
    Thanks, I found that we can add the commas to the links with this css:

    .blog-categories.minor-meta a + a:before{content:', ';}

    but this doubles some of the commas, are you able to remove the the custom taxonomies commas?

    Best regards,
    Mike

    #1119664

    Hi Mike,

    thanks for the reply!
    I used your code and was able to remove the other commas.

    I used this, (i’m leaving it here so if someone also needs it – ) shortcodes/postslider.php file and find
    $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' ';
    and change it to
    $cats .= get_the_term_list($the_id, $taxonomy, '', ' ','').' ';
    And it worked like a charm.

    Thanks again.
    Cheers

    #1119742

    Hi,
    Thanks for sharing your solution. We will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom taxonomy and frontend comma.’ is closed to new replies.