• Resolved golato

    (@golato)


    Hi,

    I’m interested in purchasing your plugin.

    Is it possible to display the actual url instead of the word “Website” in the listings?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi @golato,

    Sorry for the late reply; we missed your question.

    This is feasible. You need to edit the GD Details Page template. Instead of the GD Post Meta block or shortcode with “website” as key, replace it with an HTML block and add the following HTML:

    <a href="[gd_post_meta key='website' show='value-strip' font_size='0']">[gd_post_meta key='website' show='value-strip' font_size='0']</a>

    (Basically, you insert the shortcode equivalent of the GD Post Meta block twice inside the HTML of a link.) I’ve tested it, and it works. See the screenshot where I have both the GD Post Meta displaying the website and the link with the full URL as an anchor right below.

    View Screenshot

    It took me a couple of minutes to do this using our latest free Directory Theme.

    I hope this helps. Let me know if you have any other questions.

    Best regards,
    Paolo

    Thread Starter golato

    (@golato)

    Hi Paolo,

    Thanks for your reply. I have purchased and installed GeoDirectory and installed the new Directory theme and some dummy data. But I’m confused as to where exactly I am supposed to paste the code you shared. Can you be more specific about where to make the change?

    Many thanks,
    Lou

    Plugin Author Paolo

    (@paoltaia)

    Hi Lou,

    go to Appearance > Editor

    Select Templates > GD Single

    Scroll down till you see the Website custom field, click on it then click on the three dots icon (options) and select Add After > Type /html and select the Custom HTML block.

    Copy and paste the code I previously provided and Save.

    Now click again on the Website custom field > click on the three dots icon (options) and delete that block.

    See screenshot for visual reference.

    https://paste.pics/e8afac1b0629b6040005f7a77328c2f1

    Let me know how it goes.

    Thanks

    Thread Starter golato

    (@golato)

    Hi Paolo,

    Thanks for the detailed instructions. 

    After following the instructions, it does show the web url but when clicking the link it goes to a blank page. Here are a few screenshots, I opened the inspect tab in one of them so you can see the link settings.

    https://paste.pics/RRPI8

    https://paste.pics/RRPIH

    https://paste.pics/RRPIK

    Do you see what is wrong?

    Many thanks,

    Lou

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