GD > Dynamic Content – Add Website URL to Listing

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 4 years, 7 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #539102

    Ian Mac
    Free User
    Post count: 19

    Hello.

    I have added the GD > Dynamic Content widget to the GD Page Details sidebar. As I am trying to match my detail page side to match the GDF Modern demo site (desired result also attached)https://wpgeo.directory/gdf-modern/places/united-states/california/san-francisco/tasty-food-inc/

    I wanted to add the hyperlink with fa-link icon to a listing as specified by the Website attribute. I have therefore added

    a href="%%website%%" target="_blank" rel="noopener noreferrer">Website</a

    to the text field of the Widget (see screenshot attached).

    Is there a GD shortcode for doing this instead of HTML so I can also add the fa-link icon? (tried a class=”fas fs-link”)

    Thanks

    #539188

    Alex Rollin
    Moderator
    Post count: 27815

    GD Post Meta can be used to output the website field.

    https://wpgeodirectory.com/docs-v2/design/gd-post-meta/

    You don’t need GD Dynamic Content unless…there is a condition under which you would not want to show the field.

Viewing 2 posts - 1 through 2 (of 2 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