Kiran
Forum Replies Created
-
AuthorPosts
-
April 19, 2019 at 10:56 am in reply to: No Records Found Sorry, no records were found. Please adjust your search criteri #481748This reply has been marked as private.
Hello,
FTP credentials are not working.
I checked in your site backend and found you are using “Supreme Directory” child theme v2.x. Supreme Directory v1.x is compatible with for GeoDirectory v1.x and Supreme Directory v2.x is compatible with for GeoDirectory v2.x.
Try to install Supreme Directory v1.x and let us know how it goes.
Kiran
Hello Mical,
There is a option in GeoDirectory > Advance Search to redirect page on a first time visit to the site. Currently it has enabled to redirect to default location, so it redirects the default city on first time visit.
Use following PHP code snippet to redirect to default country page instead of default city.
function _gd_custom_advanced_search_js_msg( $params ) { if ( ! empty( $params['onload_redirectLocation'] ) ) { $params['onload_redirectLocation'] = trailingslashit( geodir_get_location_link( 'base' ) ) . 'united-states/'; } return $params; } add_filter( 'geodir_advanced_search_js_msg', '_gd_custom_advanced_search_js_msg', 10, 1 );Kiran
April 19, 2019 at 9:06 am in reply to: No Records Found Sorry, no records were found. Please adjust your search criteri #481728Hello,
It still shows JavaScript that breaks map functionality.
There is a bug in header.php file, you have used “https:s://” at some places instead of “https://”. Replace “https:s://” with “https://” in this file and other files as well if you have used.
Let us know.
Kiran
This reply has been marked as private.Hello,
I have cleared “WP Recket Cache”, please try again after clearing your browser cache.
Let us know.
Regards,
KiranThis reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Hello Adam,
Please provide particular listing url so we can check there.
Kiran
This reply has been marked as private.Hello Jeff,
I noticed for supreme theme there’s a way to change button colors under customize. But, it doesn’t change all the button colors (see attached image). Is there somewhere else to change these or do I need to use CSS?
“Write a Review” is rendered via badge and it has own text color & background color. It is added via child theme so it can be modified directly in file. It is in file \wp-content\themes\supreme-directory\template-parts\header\header-single-top.php around line no. 116.
Here is code:$review_button_text = __("Write a Review","supreme-directory"); $review_button_shortcode = '[gd_post_badge size="large" key="post_title" condition="is_not_empty" link="#reviews" badge="'.$review_button_text .'" new_window="0" bg_color="#ed6d61" txt_color="#ffffff" alignment="center"]'; $review_button = apply_filters( 'sd_details_output_review_button_shortcode',$review_button_shortcode); $review_button = do_shortcode($review_button); echo apply_filters( 'sd_details_output_review_button', $review_button );It is also possible to filter “Write a Review” button via hook.
—
I also noticed changing font elements doesn’t really change the body. It would be so cool if the supreme theme had some generic customization features. But, CSS is easy enough to implement I suppose.
Please clarify with more details or with example or with screenshot.
Regards,
KiranHello Josh,
Use following snippet to dequeue lity js. It may affect some feature like GD contact form + ninja form and claim listing popup.
/** * Dequeue gd_lity JS. */ function gd_snippet_190417_dequeue_lity() { // Backend pages if ( wp_script_is( 'geodir-lity', 'enqueued' ) ) { wp_dequeue_script( 'geodir-lity' ); } // Frontend pages if ( wp_script_is( 'geodir_lity', 'enqueued' ) ) { wp_dequeue_script( 'geodir_lity' ); } } //add_action( 'admin_enqueue_scripts', 'gd_snippet_190417_dequeue_lity', 999 ); // Backend pages add_action( 'wp_enqueue_scripts', 'gd_snippet_190417_dequeue_lity', 999 ); // Frontend pages -
AuthorPosts