Support Forums

Where to find inline help on Redshift

Forum Navigation
Please to create posts and topics.

Adding GeoDirectory

12

Hi Doug

I'm struggling add GeoDirectory to the pages on my site (https://redshift.site/bizarray). Not sure if I'm missing something, or it's not possible for what I want to achieve.

I have created a parent site, that will firstly list social organizations. Each organization will have it's own sub-page where their specific business listings will appear with the search functionality, and below that I would like the form to appear for the adding of new entries, basically like the RedShift Local Shopping directory listing page.

So basically I need to be able to create individual GeoDirectories for each organization. Firstly is this possible? Secondly How do I add the GeoDirectory areas and form to me individual organization pages?

Appreciate the assistance

Regards

Greg

Hi Greg,

Geodirectory allows you to create a local directory. Businesses can enter their info via a form on the frontend and this will create an individual listing for each one. You can set custom fields and requirements. You can also choose what to show or not show on the listings pages.

Listings are added as a custom post type in your site. Then you need to use the shortcode builder to display them, wherever you want to display them. You use a shortcode to display the business entry form too!

Here is the WP directory listing for Geodirectory: https://wordpress.org/plugins/geodirectory/

And here is their documentation (see section on shortcode builder): https://wpgeodirectory.com/docs-v2/geodirectory/

I think that the "shortcode builder" (which is available above the tools in the text editor) is what you're looking for.

The biggest limitation of this version (free) of Geodirectory is that it limits you to entries in one city only (hence local directory).

If I did not fully answer your question, please ask for more info. If you can, please include a screenshot too, of the challenge you're having:)

Thanks

Doug

Hi Doug

Thanks for the answer, I will look through the shortcode builder again, didn't make sense the first time.

But you didn't really answer the primary question though. I can't use screenshots to explain it, but if you look at my site structure perhaps it would clearer.

I want to use GeoDirectory to create multiple, individual directories, within one site. Each directory is for a social organization, like a sports club, for them to create a business listing of all their members. Each organization will have their own sub-page under my parent site.

I don't see anything within the GeoDirectory settings to configure multiple listing databases, for each organization.

So does that mean I have to create a separate, full web site for each social organization that wants to have a business directory?

Regards

Greg

Hi Greg,

Use the category and/or tag structure for that. Categories and tags are how you can organize and sort a directory. So you create a category for each organization (this way, the same person could be on more than one organization too). Then you can set specific pages to show specific categories (build a shortcode to display a specific category).

Will that work?

You will find categories and tags under "places" in the left menu.

Hi Doug

Thanks for that insight, I think that could work very well.

Perhaps you can assist me with another couple things:

  1. Every time I go into the GD Places, I get an error message (see attached)
  2. I can set addresses on my Google Maps, even though I've generated an API, and added it settings
  3. How do show the directory search results on the same page, instead of it redirecting to another page. I want to keep everything simple, on a single page?

Thanks

Greg

 

Uploaded files:
  • You need to login to have access to uploads.

Hi Greg,

1 & 2 . Please use this API key and let me know if this works (& fixes that error you see): AIzaSyDbWEhHb2dA6yw18yvfDa_HjpDkujETXLA

3. Please could you give me a link to a page where this is happening? Then I will be able to tell you how to change it:)

Thanks

Doug

Hi Doug

Ok, thanks, that API key worked so solve the error message.

I have pasted these shortcode from the search page, into my own page:

[gd_notifications]
[gd_search]
[gd_loop_actions]
[gd_loop layout=2]
[gd_loop_paging]

The URL is: https://redshift.site/bizarray/welcome/organizations/jeppe/?listing_type=gd_place

However once you enter a search term it redirects to the actual search page: https://redshift.site/bizarray/search/?geodir_search=1&stype=gd_place&s=test&snear=&sgeo_lat=&sgeo_lon=

Regards

Greg

Hi Greg,

You cannot actually change that behaviour. The trick is to style your search page exactly like your main archive page. Or even make it the main archive page. That way people will search on a "main page" (search page) and get the results in the same place.

Does this work?

Thanks

Doug

 

Hi Doug

I tried that, with the main archive page, but it doesn’t behave as expected, the minute you click the search button, it directs to the default search results page.

This is a problem, as I need the results page customized, to show the respective organization info, plus the search results need to only show those related to the respective organization category.

Basically I would like my page to look and behave pretty much like the page you guys created for the Local Store Connector.

So the Search section, must have the default category ‘hard coded’, then the search results appear in the same page.

Perhaps some advice, I’m expecting perhaps 50-100 maximum businesses, per organization, should I even bother with a search option? Or simply list all the businesses, and they can just scroll through them?

Thanks for the help

Regards

Greg

Hi Greg,

"This is a problem, as I need the results page customized, to show the respective organization info, plus the search results need to only show those related to the respective organization category."

Supply the category in the 'search bar' short code. This way you limit searches to a specific category/organization.

This does mean you will have to create a category for each organization and a page for them too!

https://wpgeodirectory.com/docs-v2/design/gd_search/

https://wpgeodirectory.com/docs-v2/addons/advanced-search/#select

Search page template : https://wpgeodirectory.com/docs-v2/templates/search/

When creating a shortcode, see the blue advanced "settings" button.

Let me know

Thanks

Doug

 

12