Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
can you provide wp-admin settings and we can check your setting.
Thanks,
Stiofan
September 22, 2014 at 4:41 pm in reply to: "Upload Image" button not working in Version 1.2.3 #16153Great 🙂
the user u sent me does not have admin or something as i have not option to edit theme files.
Stiofan
September 22, 2014 at 1:12 pm in reply to: Details page: How to move rating stars from sidebar to content area? #16123sorry i had not tested the code…
Here is a tested veriosn…
add_action( 'geodir_details_main_content', 'comments_template_change_position',65,5); function comments_template_change_position(){ echo comments_template(); }
Stiofan
That code worked fine for me apart from the single quote marks being weird.
This is what i used that worked.
add_filter('geodir_event_cal_single_day_sunday', 'geodir_event_cal_single_day_sunday_filter',10,1); function geodir_event_cal_single_day_sunday_filter($day){ return 'D'; }
Hi Jonah,
There is no easy way to do this, off the top of my head i would maybe just add a little bit of JS to the page that submits the next page as soon as the page loads, you could also even hide the page with CSS and show a loading image or something while the page loads(only about 1 second or less)
Stiofan
September 22, 2014 at 9:47 am in reply to: Stripe payment gateway for GD – BETA. Pls download and test #16091@greg, yes, i have pinged u on skype.
Stiofan
September 22, 2014 at 9:40 am in reply to: Details page: How to move rating stars from sidebar to content area? #16090Hi wu,
This is how you would remove the reviews tab:(not tested)
EDIT: There is now an option in GD>design>details>Exclude selected tabs from detail pageadd_filter('geodir_detail_page_tab_is_display','geodir_detail_page_tab_is_display_filter',10,2); function geodir_detail_page_tab_is_display_filter($value,$type){ if($type=='reviews'){return false; } else{return $value;} }
This is how you would add comments below tabs
add_action( 'geodir_details_main_content', 'comments_template',65);
this is how you would sort the tabs,
add_filter('geodir_detail_page_tab_list_extend','geodir_detail_page_tab_list_extend_filter',10,1); function geodir_detail_page_tab_list_extend_filter($arr_tabs){ // Do some sorting of the array, maybe user print_r($arr_tabs); to see what is available return $arr_tabs; }
I have removed the WARNING, (NOT an error)
Thanks,
Stiofna
Yes that’s a setting i selected in Geodirectory>design> first option
Stiofan
September 21, 2014 at 3:47 pm in reply to: Details page: How to move rating stars from sidebar to content area? #16050That is added via this hook,
add_action('geodir_after_edit_post_link' , 'geodir_add_to_favourite_link',1) ;
You can use remove_action to remove it…
What is it u want to do with the tabs?
Hi Adrian,
Glad you found it, the whole widget thing is basic wordpress, if you are new to wordpress i suggest watching a few youtube videos to help the learning process. 🙂
Thanks,
Stiofan
I have no idea what he is on about here, what comes bundled with cpanel? This is a PHP setting which would not be overwritten on cpanel update.
Who is ur hosting with? please point him to this… http://php.net/manual/en/mbstring.installation.php
Stiofan
September 21, 2014 at 3:27 pm in reply to: Details page: How to move rating stars from sidebar to content area? #16044'geodir_social_sharing_buttons', 'geodir_share_this_button', 'geodir_detail_page_google_analytics', 'geodir_edit_post_link', 'geodir_detail_page_review_rating', 'geodir_detail_page_more_info'
If you wanted to remove an element you would add it to the above example array like:
$elements_to_remove = array('geodir_detail_page_review_rating','geodir_social_sharing_buttons');
Stiofan
Hi Robert,
That does not look right to me but i’m not sure what control panel you are using, PHP will have to be rebuilt. If you are not sure then just ask your server admin it will take him 2 minutes.
Thanks,
Stiofan
-
AuthorPosts