Change “Title” and “Link” column names on marker listing table

New home Forums Pro Add-on General queries Change “Title” and “Link” column names on marker listing table

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #59472
    sheilaintc
    Participant

    My client wants to replace the “Title” and “Link” column labels with something that will make more sense to the user (“Program” and “Program Website” respectively). Can I achieve this somehow?

    Or should I hide both “Title” and “Link” and add the “Program” and “Program Website” as custom fields?

    If I have to hide and add the fields, then how can I get the “program website” to always publish as a link?

    #59476
    Perry
    Moderator

    Hi Sheila

    Thank you for getting in touch.

    You can change those column headings using a snippet of JavaScript, which we would be glad to provide, are you able to share a link to your map page so we can test that before sending it to you?

    Kind regards
    – Perry

    #59480
    sheilaintc
    Participant

    You bet Perry. Thanks so much for the offer to assist! The Map can be viewed at https://dev.canvas45webdesign.com/medical-students/program-map/

    #59489
    AbelC
    Moderator

    Hi There,

    Thank you for getting back to us.

    Could I kindly ask if you could please navigate to Maps -> Settings -> Advanced -> Custom JS -> Please paste the following code below:

    jQuery( function($){
      jQuery('[data-wpgmza-column-name="title"]').text('Program');
      jQuery('[data-wpgmza-column-name="link"]').text('Program Website');
    });

    Please do let me know if you are happy with the changes made so far?

    I look forward to hearing back from you.

    Kind Regards,
    Abel

    #59491
    sheilaintc
    Participant

    Thank you Abel! Your script worked perfectly.

    #59492
    AbelC
    Moderator

    Hi There,

    Thank you so much for letting me know, and that is great to hear.

    It is only a pleasure and please do let me know if there is ever anything else that we can assist you with.

    We will gladly assist with any questions or issues you may be having.

    Have a great day further!

    Kind Regards,
    Abel

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.