Move Dates from Right Sidebar

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #438898

    eic2010
    Full Member
    Post count: 209

    Hi
    I have events installed and wish to move the dates from the right sidebar to the main detail page, ideally under ‘More Info’ I use the listing view.
    Can you advise how to do this?
    Many thanks!

    #438899

    Alex Rollin
    Moderator
    Post count: 27815
    #440445

    eic2010
    Full Member
    Post count: 209

    Hi
    I have tried:

    function gd_detail_page_tab_event_schedule( $tab_array ) {
    if ( ‘gd_event’ == get_post_type() ) {

    $tab_array_new = array();

    foreach($tab_array as $key=>$tab){

    $tab_array_new[$key] = $tab;

    if($key==’post_profile’){
    $tab_array_new[‘event_schedule’] = array(
    ‘heading_text’ => __( ‘Date n Time’, ‘geodirevents’ ),
    ‘is_active_tab’ => false,
    ‘is_display’ => apply_filters( ‘geodir_detail_page_tab_is_display’, true, ‘event_schedule’ ),
    ‘tab_content’ => ”
    );
    }

    }

    return $tab_array_new;

    }

    return $tab_array ;
    }

    but it has done nothing?

    #440532

    Alex Rollin
    Moderator
    Post count: 27815

    We would be happy to take a look to see if we can find the problem.

    Please be sure to have completed all the steps for configuration, and do check to see that your plugins are all up to date.

    https://wpgeodirectory.com/docs/installing-addons/#updates

    To allow us to examine the site, please create a private reply and include all the information listed below so we can make a complete diagnosis.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket