EH
Forum Replies Created
-
AuthorPosts
-
Okay thanks.
Thank you so much again!!
No problem. Thank you for the help!
Thanks Paolo!
Oh my gosh this helped so much! Thank you! I really didn’t think there was going to be a way to do what they were asking. Here is my function, hopefully it will help someone else in the future.
add_action ('geodir_before_description_on_listing_detail', 'geodir_my_new_tab_logo' ); function geodir_my_new_tab_logo() { global $wpdb; $id = get_the_ID(); $DirectoryLogo = $wpdb->get_var("SELECT geodir_directory_listing_logo FROM wp_geodir_gd_place_detail WHERE post_id = $id "); if ($DirectoryLogo) { echo '<img src="'; echo $DirectoryLogo; echo '"/>';} }
May 25, 2016 at 12:50 pm in reply to: Remove do_action('geodir_detail_sidebar'); from Listing preview #197890Actually I think I got it. I’m using:
//Remove Sidebar on GeoDirectory Preview Page function geodir_remove_sidebar (){ if (geodir_is_page('preview')) { remove_action( 'geodir_detail_sidebar', 'geodir_action_details_sidebar', 10 ); } } add_action ('genesis_after_header','geodir_remove_sidebar');
This is correct, right? It appears to be working…
May 25, 2016 at 12:39 pm in reply to: Remove do_action('geodir_detail_sidebar'); from Listing preview #197864Thanks Paolo,
I’m still having trouble removing the sidebar though. I think it has to do with the hook I’m using: remove_action(‘geodir_before_main_content’,’geodir_detail_sidebar’); If I don’t use a hook I get this error message:
Warning: Missing argument 2 for remove_action(), called in C:WampDeveloperWebsiteslocalhostwebrootehpublic_htmlwp-contentthemeselectronichousefunctions.php on line 481 and defined in C:WampDeveloperWebsiteslocalhostwebrootehpublic_htmlwp-includesplugin.php on line 642
That’s a much better way to handle it, thank you so much!
Actually they have some documentation on the conflict, here: http://docs.wedevs.com/docs/wp-user-frontend-pro/tutorials/solved-wp-user-frontend-geodirectory-conflict/
Yea, it was wp user front end that is the problem. I can’t just completely turn off that plugin since it’s supporting a important piece of this site. Please let me know if you hear of a work around to get this plugin to play nice with geo directory. I’m going to search there site now.
This reply has been marked as private.This reply has been marked as private.Hi I have another question about this topic. I wasn’t provided with the lat and long so for these listings so I am putting these in one by one on the backend. However on the backend it doesn’t seem to be letting me create a new location. I have to go into manage location add it and then I can add it in the listing. However it doesn’t do this on the front-end. Am I doing something wrong?
Nevermind I found it in the Location Manager language file. Thanks
I think so. How do they get a user name and password to claim their listing? Do I need to have the claim listing plugin installed. I have it licensed just not installed.
-
AuthorPosts