Nik
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
Hi Alex,
Thanks for your quick reply. GD Booster is not installed.
Nik
Thanks so much, Guust.
Your CSS codes work like a charm. I added padding to the top too.
.geodir_full_page{
margin: auto;
max-width: 1410px;
padding: 0 50px;
padding-top: 10px;
}Nik
This reply has been marked as private.Hi Alex,
Thanks for responding back. I’m not ready to engage a GD Expert. I have scoured the forum endlessly, and found different codes. Codes on the forum may have changed over time with GD plugin updates.
All I wanted to know was if the codes are still valid – and if not, are they the cause of the issues – and if there any suggestions to resolve the problems or at least point me to links where I can find a solution to resolve the issues.
Stiofan was looking into the issues.
At this point, I’m About to Give Up on GeoDirectory.
Below are the links I have reviewed for a solution to adding a new tab.
https://wpgeodirectory.com/add-a-new-tab-in-the-listing-detail-page/
https://wpgeodirectory.com/support/topic/new-tab-for-custom-field-and-tabs/
https://wpgeodirectory.com/support/topic/add-a-new-tab-in-the-listing-detail-page/
https://wpgeodirectory.com/docs/core-place-settings/#fieldset
https://wpgeodirectory.com/support/topic/adding-new-tab-with-translation/
https://wpgeodirectory.com/support/topic/adding-new-tab-to-listing-details/
https://wpgeodirectory.com/re-order-tabs-in-a-listing-detail-page/I had assessed many directory plugins and themes before deciding on giving GeoDirectory a try. GeoDirectory’s reviews sold me. https://wpgeodirectory.com/best-wordpress-directory-theme/
Your initial customer service was great. Guust was excellent.
If GeoDirectory customer support is unable to assist, let me know ASAP.
Thanks,
Nik
Hi Stiofan,
Sorry, the tabs were removed. Ran into php errors. I’ve revised the codes and added them back. This time, only one new tab (Flipbook) display, instead of two.
However, the text or shortcode in the Flipbook tab does not display. Am I missing codes or is the fatal error the cause of the issue. See attached php test.
WP admin access remain the same. Any suggestions to resolve the issues are much appreciated.
Thanks,
Nik
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.February 27, 2018 at 8:30 am in reply to: Listing page Issues: Location Switcher, Slider, Right Sidebar, Grid Column #419403Hi Kor,
Thanks for following up. I am good with using the custom link for the menu instead of the location switcher.
Cheers,
Nik
This reply has been marked as private.Hi Kor,
Appreciate your quick follow up. I prefer not to add another plugin to the site. Below are the tab issues as well as the location switcher issue in mobile view. The site is currently in development. The temp admin access will be sent in private reply following this mail.
1) NEW TAB ISSUE – How to resolve it? Need to add the new tab, “Flipbook” to all Custom Post Types.
I took out the codes I inserted yesterday and replace them with the codes below. When I added the codes below to the enfold child theme functions.php I ran into a Parse error: syntax error, unexpected ‘}’
——————————————————————————————
/*Add a new tab to GD listing page
*/add_filter(‘geodir_detail_page_tab_list_extend’, ‘geodir_detail_page_tab_list_extend’) ;
function geodir_detail_page_tab_list_extend($tab_array) {
$tab_array[‘my_new_tab’] = array(
‘heading_text’ => __(‘Flipbook’,GEODIRECTORY_TEXTDOMAIN),
‘is_active_tab’ => false,
‘is_display’ => apply_filters(‘geodir_detail_page_tab_is_display’, true,’my_new_tab’),
‘tab_content’ => ”);
return $tab_array ; }
add_action(‘geodir_after_tab_content’ ,’geodir_my_new_tab_content’);
function geodir_my_new_tab_content($tab_index)
{
if($tab_index ==’my_new_tab’)
{echo do_shortcode(‘[id=”3d-flip-book” title=”false”]’);}
}———————————————————————————————-
2) ADD ANOTHER 2 NEW TABS – What are the codes required?
3) ADD FRANCHISE CHANGE TO ALL CUSTOM POST TYPES. Are the codes below correct?
function geodir_franchise_change_franchises_tab_text($text, $post_type) {
if ($post_type == ‘gd_place’,’gd_service’,’gd_lifestyle’) {
$text = __(‘Branches’, ‘geodir-franchise’);
}
return $text;
}
add_filter( ‘geodir_franchise_franchises_tab_text’,
‘geodir_franchise_change_franchises_tab_text’, 10, 2 );
function geodir_franchise_change_all_link_text($text, $post_type) {
if ($post_type == ‘gd_place’,’gd_service’,’gd_lifestyle’) {
$text = __(‘View all branches’, ‘geodir-franchise’);
}
return $text;
}
add_filter( ‘geodir_franchise_all_franchises_link_text’,
‘geodir_franchise_change_all_link_text’, 10, 2 );
function geodir_franchise_change_add_link_text($text, $post_type) {
if ($post_type == ‘gd_place’,’gd_service’,’gd_lifestyle’) {
$text = __(‘Add Branch’, ‘geodir-franchise’);
}
return $text;
}
add_filter( ‘geodir_franchise_add_franchise_link_text’,
‘geodir_franchise_change_add_link_text’, 10, 2 );4) LOCATION SWITCHER DOES NOT WORK IN MOBILE VIEW.
Thanks for your help.
Nik
February 26, 2018 at 9:22 am in reply to: Listing page Issues: Location Switcher, Slider, Right Sidebar, Grid Column #419231Hi Alex and Guust,
Thanks for your prompt follow up. The location switcher works on the desktop and tablet mode, but not mobile. No worries, for ease of use, a custom link has been created to replace the location switcher.
Thanks for your great support.
Nik
-
AuthorPosts