Alex Rollin
Forum Replies Created
-
AuthorPosts
-
Thanks for letting us know Cheryl!
A
Hello,
Try …. restoring the default content.
The default contents are shown in
GD – Settings – Pages – Search – Default Content
Add that to a shortcode block.
No, you can search all your listings with a single search bar.
You will get pages for each city/region etc but those are created automatically to help with SEO (and as they are Location pages they have special properties like showing more than one post type at a time).
https://wpgeodirectory.com/docs-v2/geodirectory/page-design/
There is also a “Near Me” button that works exactly as you say, using the default search radius that you set in the search settings.
Try this:
/** * Exclude GD CPTs from WP Search. */ function gd_snippet_wp_search_exclude_cpts( $wp_query ) { if ( is_admin() || empty( $wp_query ) ) { return; } if ( ! ( $wp_query->is_main_query() && $wp_query->is_search() ) ) { return; } if ( geodir_is_page( 'search' ) ) { return; } $in_search_post_types = get_post_types( array( 'exclude_from_search' => false ) ); $post_types = geodir_get_posttypes(); if ( ! empty( $in_search_post_types ) && ! empty( $post_types ) ) { $search_post_types = array(); foreach ( $in_search_post_types as $post_type ) { if ( ! in_array( $post_type, $post_types ) ) { $search_post_types[] = $post_type; } } $wp_query->set( 'post_type', $search_post_types ); } } add_action( 'pre_get_posts', 'gd_snippet_wp_search_exclude_cpts', 10 );You can add that as a snippet with the code snippets plugin:
https://wpgeodirectory.com/docs/useful-plugins/#snippetsApril 3, 2019 at 9:57 am in reply to: How can I stop V2 auto updating and breaking my website? #477791For any normal WP site, if you don’t want to update, just don’t click the button to update 🙂 That would be the button/link under the plugin on the plugins page.
If your site is truly automatically updating and running updates without your intervention that must be because of another service or plugin that you have installed.
We can take a look and see if we can find the culprit, just share WP Admin and FTP details in a private reply.
The starter theme demo is here: https://wpgeo.directory/starter/
And the supreme demo is here: https://wpgeo.directory/supreme-directory/Any of the experts here can help you with upgrade and setup of any theme with GDV2.
https://geodirectoryexperts.com/
But if you have questions please do post them here and we will be happy to help! 🙂
I have flagged your question for the developers who are looking into a solution.
I see you are using BB lite on the search page.
You will need to use an advanced themer on the search page.
Try setting it back to the classical editor and restoring the default content.See: https://wpgeodirectory.com/docs-v2/integrations/builders/
You are a member so you should be able to see List Manager in your account: https://wpgeodirectory.com/downloads/list-manager/
You can download and install that, and that plugin also requires Posts 2 Posts which you should also download and install https://wordpress.org/plugins/posts-to-posts/
Once the upgrade is complete you can deactivate those if you dont need them right now, and add them back later if you want to try them out.
You can use the shortcode builder to configure the available options.
GD Listings is the most powerful element for listing listings and has many of the options you mention.
https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/
The FB sharing tool is not working and does not have a link attached.
However, when I share the CPT page I see the attached screenshot and it is sharing properly.
So it appears this is not a problem with the GD archive page.Open the WP Page called GD Details template and change what you find there.
You can adjust the menus in
WP – Appearance – Menus
There you can remove individual items, or choose a different menu to display.1. Showing the title is an option of GD Post Images. Adjust GD Post Images to hide the title. If it is showing on the details page, edit the GD Details template. Open WP Pages, search GD, edit GD Details template and change the GD Post images element.
2. V2 can import reviews from a CSV file through the GD Settings – Import Export – Reviews tab
3. Edit the Archive template – Open wordpress pages and search “GD” then edit the GD Archive template.
4. The Archive item template determines what is shown, and you can use settings to hide items for certain layouts or CSS for certain displays like GD Listings.https://wpgeodirectory.com/docs-v2/integrations/images/
https://wpgeodirectory.com/docs-v2/geodirectory/getting-started/Hi!
Great question, I will flag that for the developers.
-
AuthorPosts