Giri
Forum Replies Created
-
AuthorPosts
-
Hi Chris,
This function fetches the url.
function sd_get_add_event_button() { if (is_user_logged_in()) { $link = geodir_get_addlisting_link('gd_event'); } else { $link = geodir_login_url(array('redirect_add_listing'=> urlencode(geodir_get_addlisting_link('gd_event')))); } return $link; }
You have add html code like this to display the button.
<a href="<?php echo sd_get_add_event_button(); ?>">Add Event</a>
Hi Chris,
I still don’t understand your request.
Correct me if i’m wrong.
You would like to display a “Add Event” button. If the user logged in then the user should be redirected to add-listing/listing_type=event page.
If not loggedin user should be redirected to login page but should be redirected to add-listing/listing_type=event page after successful login.
Is that what you are asking?
Hi Chris, Are you talking about whoop theme?
Hi Michael,
Can you tell me where you have placed that remove_action code? I couldn’t find that in your code snippets
You are welcome.
Hi Neil,
I have enabled GD Booster again and tested your issue in Macbook chrome and I can’t able to reproduce your bug.
Could you test once again? It might be cache issues. Since the cache cleared it might be working again.
Thanks
You are welcome
Hi Neil,
No you may have to exclude some js in this case.
Caching plugins minimize the js. So sometimes cache plugin cause js errors. So it was my guess.
Let me test.
This reply has been marked as private.Hi Chris,
Install this plugin.
https://wordpress.org/plugins/code-snippets/
Activate the plugin and then add the following code as a snippet.
add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend_profile'); function geodir_detail_page_tab_list_extend_profile($tab_array) { print_r($tab_array); }
Now activate that snippet. Visit any listing detail page.
You will see the code dump there.
If you still need help please provide admin login detail in a private reply.
Thanks
This reply has been marked as private.September 1, 2017 at 11:09 am in reply to: Supreme Directory – event filter button border-radius #393921Oh sorry. Yes i misunderstood your question.
I guess you are missing browser specific tags.
border-radius: 22px !important;
-o-border-radius: 22px !important; //for Opera
-webkit-border-radius: 22px !important; // for Chrome, Safari
-moz-border-radius: 22px !important; // for MozillaSeptember 1, 2017 at 11:06 am in reply to: Supreme Directory – category list view bug for grid views #393920Thanks Atilla.
I’ll add the code in supreme.
You might wanna use the body class .sd to target only superme theme. Otherwise you code will be applicable for all themes since the css part you mentioned coming from GD.
August 31, 2017 at 4:15 pm in reply to: Supreme Directory – event filter button border-radius #393789This reply has been marked as private.This reply has been marked as private. -
AuthorPosts