Giri
Forum Replies Created
-
AuthorPosts
-
March 13, 2017 at 8:46 am in reply to: Supreme Directory – List view: right area, content, left area #366916
function custom_sd_theme_actions() { //unregister_sidebar('geodir_listing_left_sidebar'); unregister_sidebar('geodir_listing_right_sidebar'); //unregister_sidebar('geodir_search_left_sidebar'); unregister_sidebar('geodir_search_right_sidebar'); if(isset($_REQUEST['geodir_dashbord'])){ unregister_sidebar('geodir_author_left_sidebar'); unregister_sidebar('geodir_author_right_sidebar'); } // listings page if (get_option('geodir_show_listing_right_section', true)) { add_action('geodir_listings_sidebar_right_inside', 'sd_map_show'); //remove_action('geodir_listings_sidebar_left', 'geodir_action_listings_sidebar_left', 10); } else { add_action('geodir_listings_sidebar_left_inside', 'sd_map_show'); //remove_action('geodir_listings_sidebar_right', 'geodir_action_listings_sidebar_right', 10); } // search page if (get_option('geodir_show_search_right_section', true)) { add_action('geodir_search_sidebar_right_inside', 'sd_map_show'); //remove_action('geodir_search_sidebar_left', 'geodir_action_search_sidebar_left', 10); } else { add_action('geodir_search_sidebar_left_inside', 'sd_map_show'); //remove_action('geodir_search_sidebar_right', 'geodir_action_search_sidebar_right', 10); } // author page if (get_option('geodir_show_author_right_section', true)) { if(isset($_REQUEST['geodir_dashbord'])){ add_action('geodir_author_sidebar_right_inside', 'sd_map_show'); } remove_action('geodir_author_sidebar_left', 'geodir_action_author_sidebar_left', 10); } else { if(isset($_REQUEST['geodir_dashbord'])){ add_action('geodir_author_sidebar_left_inside', 'sd_map_show'); } remove_action('geodir_author_sidebar_right', 'geodir_action_author_sidebar_right', 10); } } remove_action('widgets_init', 'sd_theme_actions', 15); add_action('widgets_init', 'custom_sd_theme_actions', 15);
March 13, 2017 at 8:45 am in reply to: Supreme Directory – List view: right area, content, left area #366915Comment out this line in my previous code.
unregister_sidebar('geodir_search_left_sidebar');
Hi Gautam,
Can you give me credentials for normal user?
I’ll test and let you know whats wrong.
thanks
Thanks but i am still getting the same error.
Can you give me the error message? So i can debug properly.
Thanks
Hi there,
I was able to connect to your ftp successfully.
I have added an empty check for lat and lon. However I see different results when testing in both pages.
I think you have set default location incorrectly. Please deactivate multilocation manager plugin. Set the default location and then activate it again.
If it doesn’t work, i’ll debug the problem on monday.
Thanks
This reply has been marked as private.Maybe you have enabled geo ip block or something?
Even stiofan and kc can’t able to login. So please contact your hosting support and let us know.
Thanks
This is what i see.
https://www.dropbox.com/s/ru0374lqwt0j0bu/Screenshot%202017-03-10%2022.42.23.png?dl=0
Please check your credentials
Hi Lance, can you provide correct FTP?
Hi,
can you post your ftp?
Thanks
March 10, 2017 at 8:42 am in reply to: Supreme Directory – List view: right area, content, left area #366521You are welcome 🙂
Belen,
Attached the uwp_geodirectory zip file.
Thanks
March 9, 2017 at 9:27 am in reply to: Supreme Directory – List view: right area, content, left area #366297Sorry Atilla for the late reply. I missed this thread.
Try this code in code snippet.
function custom_sd_theme_actions() { //unregister_sidebar('geodir_listing_left_sidebar'); unregister_sidebar('geodir_listing_right_sidebar'); unregister_sidebar('geodir_search_left_sidebar'); unregister_sidebar('geodir_search_right_sidebar'); if(isset($_REQUEST['geodir_dashbord'])){ unregister_sidebar('geodir_author_left_sidebar'); unregister_sidebar('geodir_author_right_sidebar'); } // listings page if (get_option('geodir_show_listing_right_section', true)) { add_action('geodir_listings_sidebar_right_inside', 'sd_map_show'); //remove_action('geodir_listings_sidebar_left', 'geodir_action_listings_sidebar_left', 10); } else { add_action('geodir_listings_sidebar_left_inside', 'sd_map_show'); //remove_action('geodir_listings_sidebar_right', 'geodir_action_listings_sidebar_right', 10); } // search page if (get_option('geodir_show_search_right_section', true)) { add_action('geodir_search_sidebar_right_inside', 'sd_map_show'); remove_action('geodir_search_sidebar_left', 'geodir_action_search_sidebar_left', 10); } else { add_action('geodir_search_sidebar_left_inside', 'sd_map_show'); remove_action('geodir_search_sidebar_right', 'geodir_action_search_sidebar_right', 10); } // author page if (get_option('geodir_show_author_right_section', true)) { if(isset($_REQUEST['geodir_dashbord'])){ add_action('geodir_author_sidebar_right_inside', 'sd_map_show'); } remove_action('geodir_author_sidebar_left', 'geodir_action_author_sidebar_left', 10); } else { if(isset($_REQUEST['geodir_dashbord'])){ add_action('geodir_author_sidebar_left_inside', 'sd_map_show'); } remove_action('geodir_author_sidebar_right', 'geodir_action_author_sidebar_right', 10); } } remove_action('widgets_init', 'sd_theme_actions', 15); add_action('widgets_init', 'custom_sd_theme_actions', 15);
This will enable left sidebar. Place you widget there. Make sure to enable both left and right section in setting.
Thanks
Just discussed with stiofan.
He said, you can use
geodir_is_page('cpt')
for CPT pages and
geodir_is_page('listing')
for category pages.
Let us know if that doesn’t work.
Thanks
Hi Belen,
I hope you are talking about the
Crear cuenta
link. If thats the case the code i given earlier is right. Just add !important tag.
.uwp-register-now { clear: both !important; }
-
AuthorPosts