tag keywords

This topic contains 7 replies, has 4 voices, and was last updated by  Alex Rollin 7 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #426749

    James Liu
    Expired Member
    Post count: 13

    Hi There,

    Can I change the tag keywords on the add listing page to multi-select function as the GD categories does? Thanks!

    #426793

    Alex Rollin
    Moderator
    Post count: 27815

    Hello James,

    that is not possible at this time without a customization but we have an example to help you get started if this is something you want to implement.

    https://wpgeodirectory.com/support/topic/multiselect-checxbox-values-to-tags/#post-359373

    #426802

    James Liu
    Expired Member
    Post count: 13

    Hi Alex,

    Thanks for your reply. I had the following codes:

    <script type=”text/javascript”>
    jQuery(document).ready(function() {
    jQuery(‘.gd_multi_choice’).on(‘change’, function() {
    var selecttag = [];
    jQuery(“input[name=’geodir_add_genre[]’]:checked”).each( function (){
    selecttag.push(jQuery(this).val());
    });
    jQuery(‘#post_tags’).val(selecttag);
    });
    });
    </script>

    Where should I paste this code onto to test?

    James

    #426827

    Paolo
    Site Admin
    Post count: 31211

    pls try geodirectory > design > scripts > footer scripts

    thanks

    #426861

    James Liu
    Expired Member
    Post count: 13

    Thanks Paolo but unfortunately it doesn’t work out on my site. Should I make some adjustment before to use it?

    James

    #426875

    Kor
    Moderator
    Post count: 16516

    Hi James,

    Thanks for your reply. Could you please share WP-admin access in private reply so that we could check on it?

    Thanks!

    #426881

    James Liu
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #426918

    Alex Rollin
    Moderator
    Post count: 27815

    Hi James,

    it is not possible without a customization to have a ‘multiselect’ field for tags.

    I sent you a link to a discussion with a user who was implementing a custom field to give a similar effect.

    We don’t do customizations in the forum, but we do offer examples of how to start a custom project like this.

    If that previous example did not work for you, you can also take a look here: https://wpgeodirectory.com/support/topic/help-place-tags/

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount