Giri
Forum Replies Created
-
AuthorPosts
-
August 16, 2016 at 11:33 am in reply to: Updating Listing Address Details – Address and Map Problems #247582This reply has been marked as private.August 16, 2016 at 11:26 am in reply to: When enabled it stops the buddypress menu options for users. #247580
Yes it will be added in next GD release.
Thanks
August 16, 2016 at 10:55 am in reply to: When enabled it stops the buddypress menu options for users. #247576Hi there, Can you try editing this file and replacing the code?
File to edit: wp-content/plugins/geodirectory/geodirectory-functions/ajax_handler_functions.php
Line number: ~ 73 to 75
Replace this part
if (get_option('geodir_allow_wpadmin') == '0' && is_user_logged_in() && !current_user_can('manage_options')) { show_admin_bar(false); }
with
if (get_option('geodir_allow_wpadmin') == '0' && is_user_logged_in() && !current_user_can('manage_options') && !class_exists('BuddyPress')) { show_admin_bar(false); }
Let me know how that goes.
Thanks
August 16, 2016 at 10:21 am in reply to: When enabled it stops the buddypress menu options for users. #247571Hi i’m unable to login using the credentials you provided. So i’m trying to reproduce your problem in my local.
Can you help me by answering some of my questions?
1) Have you tried by deactivating other plugins except the following GD, BuddyPress, BuddyPress integration
2) What is the simplest way to reproduce your problem?
August 16, 2016 at 9:40 am in reply to: When enabled it stops the buddypress menu options for users. #247564I see incorrect password error. can you check and let me know.
If possible post your FTP details too.
Thanks
August 16, 2016 at 9:39 am in reply to: When enabled it stops the buddypress menu options for users. #247563Ok Thanks. I’ll let you know once i fix this issue. Thanks
Ernest, I’m working on it. I’ll let you know today once i’m done.
Thanks
August 16, 2016 at 8:39 am in reply to: When enabled it stops the buddypress menu options for users. #247555Have you activated BuddyPress integration addon?
If yes, can you post your wp admin credentials? So I can take a look.
Thanks
Hello Chris, I have added the hook in your site’s whoop theme.
Now you can use the following line just above the code mentioned in this page.
https://wpgeodirectory.com/docs/changing-the-layout-of-addresses/I believe you added that already. Just add only the following line.
add_filter('whoop_get_address_html_filter', 'geodir_change_address_order' , 100 , 2) ;
This reply has been marked as private.Because supreme is a child theme. if you add it in functions.php file, when you overwrite our update in the future, changes will be gone.
Hope that helps
Please remove your existing code before use my code. Otherwise it will throw fatal error
Hi Roman, Please try this code. Use code snippets plugin.
https://wordpress.org/plugins/code-snippets/
add_action('geodir_before_listing_listview', 'my_call_to_action'); function my_call_to_action() { if ( geodir_is_page('listing') || geodir_is_page('search') ) { if (geodir_is_page('listing')) { $post_type = get_query_var('post_type'); } else { $post_type = sanitize_text_field($_GET['stype']); } if (in_array($post_type, geodir_get_posttypes())) { $data = get_post_type_object( $post_type ); echo '<div class="your-place">Your '.$data->labels->singular_name.' not listed? Please <a href="'.geodir_get_addlisting_link($post_type).'">click here</a> to add your '.strtolower($data->labels->singular_name).' now.</div>'; } } }
Use this plugin to add the codes
I hope you already have added the css code i posted earlier.
If yes please try this code in your child theme or using code snippets plugin
add_filter( 'embed_oembed_html', 'geodir_oembed_filter', 10, 4 ) ; function geodir_oembed_filter($html, $url, $attr, $post_ID) { $return = '<div class="geodir-video-wrapper">'.$html.'</div>'; return $return; }
Let me know how that goes.
-
AuthorPosts