supreme, event calendar, link business, map
This topic contains 21 replies, has 3 voices, and was last updated by Stiofan O’Connor 7 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: event calendar, link business, map, Supreme
-
AuthorPosts
-
March 17, 2017 at 3:38 pm #368112
I’m using supreme theme
1. Events calendar is always loading.
2. I linked an event to a place.
In place page I have a tab «events».
In event page I have «go to» in detail sidebar. Can I have this link or/and the place description in a tab? Can I change the place where the link «go to» appears?3. I have a CPT gd_buzz and I select * CPT to disable physical location / * Hide post type and category on map. I want to display this type gd_buzz without map / ocean map in archive & search pages – so I must have a full page without right sidebar.
I searched in the forum and I tried
a) CSS
.post-type-archive-gd_buzz aside#gd-sidebar-wrapper, .search_gd_buzz aside#gd-sidebar-wrapper {
display:none;
}
.post-type-archive-gd_buzz #geodir_content, .search_gd_buzz #geodir_content {
flex-basis: 100%;
width: 100% !important;
}b) In CODE SNIPPET PLUGIN
add_filter(‘body_class’,’gd_search_cpt_custom_body_class’);
function gd_search_cpt_custom_body_class($classes) {
if (isset($_GET[‘stype’]) == ‘gd_buzz’) {
$classes[] = ‘search_gd_buzz’;
}
return $classes;
}And it does not work! Can you help me, please?
March 17, 2017 at 3:59 pm #368120Hi Maria,
Please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below.
March 17, 2017 at 4:42 pm #368128This reply has been marked as private.March 17, 2017 at 6:40 pm #368153Hi maria,
We are good but not that good, we will need to know the URL of the site too 🙂
Stiofan
March 17, 2017 at 6:52 pm #368159This reply has been marked as private.March 17, 2017 at 7:13 pm #368163Thanks for the info 🙂
#1 The one in the footer? It seems to load for me?
#2 We would need to use hooks to change the location, where would u like it?
#3 i think flex-basis: 100% !important; is the key, try something like
.post-type-archive-gd_buzz #geodir_content { width:100% !important; flex-basis: 100% !important; } .post-type-archive-gd_buzz #gd-sidebar-wrapper { display: none; }
Stiofan
March 17, 2017 at 7:28 pm #368169This reply has been marked as private.March 17, 2017 at 7:41 pm #368174#1 seems to load ok for me, how can i replicate, what browser are u using?
#2 not tested but somthing like this?
add_filter('geodir_detail_page_tab_list_extend', '_my_test',10,1); function _my_test($arr_tabs){ global $post; $post_type = geodir_get_current_posttype(); $all_postypes = geodir_get_posttypes(); if ( !empty( $post ) && $post_type == 'gd_event' && geodir_is_page( 'detail' ) && isset( $post->geodir_link_business ) && !empty( $post->geodir_link_business ) ) { $linked_post_id = $post->geodir_link_business; $linked_post_info = get_post($linked_post_id); if( !empty( $linked_post_info ) ) { $linked_post_type_info = in_array( $linked_post_info->post_type, $all_postypes ) ? geodir_get_posttype_info( $linked_post_info->post_type ) : array(); if( !empty( $linked_post_type_info ) ) { $linked_post_title = !empty( $linked_post_info->post_title ) ? $linked_post_info->post_title : __( 'Listing', 'geodirevents' ); $linked_post_url = get_permalink($linked_post_id); $arr_tabs['link_link" href="'.$linked_post_url.'"'] = array( 'heading_text' => __( 'Testing', 'geodirectory' ), 'is_active_tab' => false, 'is_display' => true, 'tab_content' => '' ); } } } return $arr_tabs; }
Stiofan
March 17, 2017 at 7:59 pm #368177#1 mozilla firefox
March 18, 2017 at 12:27 pm #368253Hello,
For #1 can you please provide FTP and i will debug this.
Thanks,
Stiofan
March 18, 2017 at 1:19 pm #368268This reply has been marked as private.March 18, 2017 at 2:01 pm #368314#1 details seem wrong, can you double check them please
#3 seems to be working when i check?
Stiofan
March 18, 2017 at 2:13 pm #368317This reply has been marked as private.March 18, 2017 at 3:10 pm #368323#1 fixed, (u provided wrong username)
#3 did u add soemthing like this so u can target it on search page body class?
add_filter(‘body_class’,’gd_search_cpt_custom_body_class’); function gd_search_cpt_custom_body_class($classes) { if (isset($_GET[‘stype’]) == ‘gd_buzz’) { $classes[] = ‘search_gd_buzz’; } return $classes; }
Stiofan
March 19, 2017 at 9:34 am #368402This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket