Is it possible to add a "Go Back" button to single locations?
This topic contains 21 replies, has 3 voices, and was last updated by alchemi design 5 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
January 14, 2020 at 8:21 pm #525598
Hi there,
When you click on a single location (example location page:http://destinationsouthernmaryland.alchemidesign.com/places/annmarie-sculpture-garden-arts-center/) from our listings pages (example parent listings page: http://destinationsouthernmaryland.alchemidesign.com/explore-legends/museums-historical-sites/), there is no way to go back to the listings page from the individual location except the browser back button.
Is there any way I can add a “back to listings” page that will take them to the parent category listing page for each listing? When visitors click on listings from google, we want for them to easily navigate further into the website or understand that there are more listings than just the page they visit, which is why this would be helpful.
Thanks!
January 15, 2020 at 5:19 am #525642Unfortunately that isn’t available right now but I have taken it up as a suggestion.
For now it would require a customization. A quick search revealed this is relatively easy to do with a snippet:
https://www.google.com/search?q=wordpress+go+back+shortcode&oq=wordpress+go+back+shortcodeJanuary 15, 2020 at 4:48 pm #525797Thank you, unfortunately the customizations I’ve been able to find only go back to the previous page of one’s history rather than going to a specific page or listings. I’m hopeful that it will be incorporated into a future update of GeoDirectory!
January 15, 2020 at 7:12 pm #525821Ah, ok, I understand.
For that purpose, breadcrumbs are created. It looks like you aren’t using breadcrumbs.
If your theme doesn’t have them, Yoast or Rank Math, both SEO plugins, have a shortcode that will add breadcrumbs for you. They can really help users browse and find their way back.
You should also consider adding category links to all the Gd template pages and the location switcher if you want to help users navigate to specific locations like a town or city.
January 15, 2020 at 7:45 pm #525828We’re using Ocean WP, do you happen to know if they have breadcrumbs? We also wouldn’t want breadcrumbs on all pages, likely just on listing detail pages.
How can we go about adding category links to GD template pages or the location switcher?
We previously had the GD Category widget in the sidebar on single listing pages, clicking on the category links would only take users to related listings, and for some categories, nothing would show up at all. Is that normal?
January 16, 2020 at 8:54 am #525909Looks like OceanWP recommends Yoast for SEO.
For adding GD Categories to the detail page, the default for the shortcode should work.
[gd_categories post_type="0" title_tag="h4" sort_by="count" max_level="1" max_count="all" max_count_child="all"]
If you don’t want the links in the categories to have location, you can disable that feature in the Locations tab
Look for the option “Archive URLs on the details page”
https://wpgeodirectory.com/docs-v2/addons/location-manager/
You can also use GD Post Meta for categories.
January 16, 2020 at 5:47 pm #526022Thank you, I did disable the feature in the Locations tab!
Regarding the breadcrumbs, when I go into Yoast and enable breadcrumbs, I see the panel visible in the attached screenshot.
What do I need to input for a breadcrumb trail to appear on GD Detail pages? I don’t want breadcrumbs on the other pages.
January 16, 2020 at 9:31 pm #526073Add the shortcode to the details or archive template or other pages.
https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
January 17, 2020 at 4:00 pm #526170In the GD Detail template, what shortcode do I add to the page?
January 17, 2020 at 10:18 pm #526243The shortcode is on this page: https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
[wpseo_breadcrumb]
January 21, 2020 at 3:56 pm #526707I input that code on the Detail template page and nothing shows up. Is there some additional step that I’m missing?
January 21, 2020 at 7:30 pm #526754Hi alchemi design,
Thanks for your reply. Could you share WP admin access here in private reply so that we could check on it?
January 21, 2020 at 7:36 pm #526758This reply has been marked as private.January 21, 2020 at 7:50 pm #526761To use the Yoast shortcode you will need to install Yoast SEO plugin and turn on the breadcrumbs feature as described here: https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
January 21, 2020 at 7:55 pm #526762This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket