Cick to view phone number

This topic contains 7 replies, has 3 voices, and was last updated by  Naveen Giri 4 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #519295

    josechugomez
    Expired Member
    Post count: 31

    I found this old post which ends in one suggested way to add this code in template.
    https://wpgeodirectory.com/support/topic/click-to-view-phone-number/
    Now in Version 2 is suggested to add hooks or filters:
    https://wpgeodirectory.com/docs-v2/faq/customizing/

    My question is:
    For adding this “Click to view phone” in the Listing Details page, also in the Map Bubble, which is better / faster / cleaner?….
    1- some hook / filter or way to do it without customizing template?
    2- or customizing the templates as said on first link?

    Also, I am doing frequent copies of my whole site…
    Is better that for saving my customizations for an plugin upgrade?

    Thank you.

    #519296

    josechugomez
    Expired Member
    Post count: 31

    Because the files structure under plugins>geodirectory>templates… seems to have change from V1 to V2 and I want to figure out where to touch for this “click to view”.
    The HTML code obtained from here:
    https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_toggle_hide_show
    Is nice and working.
    Where to put it for listings and map bubble?
    Thanks.

    #519297

    josechugomez
    Expired Member
    Post count: 31

    I add this to my post because I think is the way, but NOT working.

    I was trying adding a code snippet for “Showing icons instead of category links in list and grid view” (the last topic)
    by following this steps (link is under version 1 section):
    https://wpgeodirectory.com/docs/common-code-snippets/

    Using code snippets and then CSS added under WP>Customize>Add CSS…

    Nothing happens… the categories are still text and not icons for all my places.

    How could I move forward in Version 2?

    Thanks.

    #519307

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I will ask the developers to take a look at your question

    #519335

    josechugomez
    Expired Member
    Post count: 31

    Thanks

    #519431

    josechugomez
    Expired Member
    Post count: 31

    Hello Mr. Rollin.

    A couple of things:

    – I could do the “Click to Reveal” phone using an external plugin only for this purpose: “Show-Hide / Collapse-Expand” By Bunte Giraffe.
    Is quite nice, because it add a block in your Classic Editor and you can add the code as a shortcode, in which I inserted the GD_meta_phone (finally I am starting to understand it and get rid of my pumpers of coding knowledge); then I tested it copying and pasting as custom HTML widget into sidebar and is working well. It permits to create customized shortcodes and then copy-paste in the “expand – view”and also is fast to make expand – view parts of the text.
    – I would suggest the team (because I read somewhere in the forum that this is one possible option for future release) to do something like that… is so cool (in my opinion… maybe your team can do in a even smarter / faster / cleaner way…).

    SO NO MORE SUPPORT NEEDED ABOUT THIS CLICK TO VIEW QUIMERA…(at the moment).

    About the other point… I followed the steps for the snippets and it did not work, but deleted all again, so I will be trying again these days.

    Thanks.

    #519448

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #519760

    Naveen Giri
    Moderator
    Post count: 1559

    Hi josechugomez,

    for v2 to show category icons you can try below code. if you still have any issue.
    please share the site details in private reply.

    Thanks

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