On GeoDirectory archive pages the listing title and image already link to the listing. If you want a clear button as well, add a GD > Post Badge to the archive item template and point its link at the listing URL.
- Go to GeoDirectory > Settings > General > Pages and open the page set as Archive item page.
- Add a GD > Post Badge block (or shortcode) where you want the button.
- Set the field key to Title and the condition to is not empty, so the badge shows on every listing.
- Enter your button text in Badge, for example View details.
- In the Click Action settings, set Link url to
%%post_url%%. - Pick a colour or set your own background and text colours, then update the page.
As a shortcode it looks like this:
[gd_post_badge key='post_title' condition='is_not_empty' badge='View details' link='%%post_url%%' bg_color='#0073aa' txt_color='#ffffff']
Use the read more link instead
GD > Post Content can end the excerpt with a link to the listing. The link only appears when you also set a word limit or a max height, so include one of them:
[gd_post_content key='post_content' limit='30' read_more='View details']
More examples are in GD > Post Badge.