Giri
Forum Replies Created
-
AuthorPosts
-
August 3, 2016 at 10:20 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239703
Hi there, please test the login credentials before posting here.
Me and Kc tried to login. Your login credentials not working for both of us.
August 3, 2016 at 9:24 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239664I’m still unable to login to your site. You might have Geo IP restrictions
August 3, 2016 at 9:23 am in reply to: Split: "Get Directions" button to Open Google Maps Link #239663Hi there, I have missed this thread yesterday. Let me check on that issue now. Sorry for the delay
Nice to hear that sylvester. Feel free to open new threads if you need help
Thanks
You are welcome 🙂
I do not know what Yelp is, so not sure what this means.
Yelp is a popular business listing website. Its one of the top 50 websites in US.
We actually cloned the features of that site, since many of our users interested in it.
But to create a list, it is only based on your past reviews. There is no way to add “my favorite” listings” to the list without reviews?
Yes you can’t add any listing unless you left a review on that business.
As far the tab reorder try this code in child theme’s functions.php file
function override_whoop_filters() { remove_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend'); add_filter('geodir_detail_page_tab_list_extend', 'custom_geodir_detail_page_tab_list_extend'); } add_action('init', 'override_whoop_filters'); function custom_geodir_detail_page_tab_list_extend($tab_array) { global $preview; if ($preview) { return $tab_array; } $new_tab_array = array(); if (isset($tab_array['post_profile'])) { $new_tab_array['post_profile'] = $tab_array['post_profile']; // set in new array $new_tab_array['post_profile']['is_active_tab'] = '1'; unset($tab_array['post_profile']);//unset in old one } if (isset($tab_array['reviews'])) { $new_tab_array['reviews'] = $tab_array['reviews'];// set in new array unset($tab_array['reviews']);//unset in old one } if (isset($tab_array['post_map'])) { $new_tab_array['post_map'] = $tab_array['post_map'];// set in new array unset($tab_array['post_map']);//unset in old one } if (isset($tab_array['special_offers'])) { $new_tab_array['special_offers'] = $tab_array['special_offers'];// set in new array unset($tab_array['special_offers']);//unset in old one } if (isset($tab_array['post_info'])) { $new_tab_array['post_info'] = $tab_array['post_info'];// set in new array unset($tab_array['post_info']);//unset in old one } if (isset($tab_array['post_images'])) { $new_tab_array['post_images'] = $tab_array['post_images'];// set in new array unset($tab_array['post_images']);//unset in old one } if (isset($tab_array['post_video'])) { $new_tab_array['post_video'] = $tab_array['post_video'];// set in new array unset($tab_array['post_video']);//unset in old one } if (isset($tab_array['special_offers'])) { $new_tab_array['special_offers'] = $tab_array['special_offers'];// set in new array unset($tab_array['special_offers']);//unset in old one } // now we set any remaining tabs that have not been assigned an order foreach ($tab_array as $key => $tab) { $new_tab_array[$key] = $tab; } return $new_tab_array; }
Hello Brian, “To err is Human”
It seems like I have missed buddypress in the prerequisites.
Remember Whoop is a Yelp clone. GD Lists is created for Whoop theme and to setup whoop properly as per our demo you need BuddyPress
And I have written GD lists docs after finishing whoop documentation. If you have followed whoop docs I have mentioned BuddyPress there.
I’m glad it works. 🙂
August 2, 2016 at 12:42 pm in reply to: Split: "Get Directions" button to Open Google Maps Link #239052Could you provide correct admin login details?
You need to have buddypress installed for that
Hi there, I have applied supreme code changes in your site. However going forward we have decided to use a plugin called “Code Snippets” to manage supreme theme custom codes. So your code changes won’t get lost when you upgrade
https://wordpress.org/plugins/code-snippets/
So please install that plugin, activate it.
Add the code added by me above and then activate it.
Let me know if it doesn’t work.
Thanks
Hi there, i have added some filters in supreme. You need to apply the changes in your website and then use the following code in supreme functions.php
Please post your ftp details. I’ll apply the changes
function sd_permalink_city_name($name, $post) { $location_link = geodir_get_location_link('base'); if ( get_option('permalink_structure') != '' ) { $location_link .= $post->city_slug; } else { $location_link .= '&gd_city='.$post->city_slug; } return '<a href="'.$location_link.'">'.$name.'</a>'; } add_filter( 'sd_detail_city_name', 'sd_permalink_city_name', 10, 2 ); function sd_permalink_region_name($name, $post) { $location_link = geodir_get_location_link('base'); if ( get_option('permalink_structure') != '' ) { $location_link .= $post->region_slug; } else { $location_link .= '&gd_region='.$post->region_slug; } return '<a href="'.$location_link.'">'.$name.'</a>'; } add_filter( 'sd_detail_region_name', 'sd_permalink_region_name', 10, 2 ); function sd_permalink_country_name($name, $post) { $location_link = geodir_get_location_link('base'); if ( get_option('permalink_structure') != '' ) { $location_link .= $post->country_slug; } else { $location_link .= '&gd_country='.$post->country_slug; } return '<a href="'.$location_link.'">'.$name.'</a>'; } add_filter( 'sd_detail_country_name', 'sd_permalink_country_name', 10, 2 );
Great
Hello brian, your theme is fine now. You don’t have to worry about upgrade for now since you have the latest version. OpenSSL upgrade is required if you are planning to updated the theme automatically in the future.
For now the only thing you need to do is just fix the keys
-
AuthorPosts