• Resolved fxbyy

    (@fxbyy)


    Hey! I added custom additional fields and now they are displayed on the single event page under “Additional Events”. Is it possible to show the additional fields on the right side like the default fields? (see screenshot below)

    Or could you maybe hide the “Additional Details” banner?

    Thanks in advance for your help and have a great day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support jathinhelp

    (@jathinhelp)

    Hello,
    @fxbyy Could you please provide us the direct link of the page so that we can assist you.



    Regards,
    WP Event Manager.

    Thread Starter fxbyy

    (@fxbyy)

    Plugin Author Rita Kikani

    (@kikanirita)

    Hi @fxbyy,

    If you want to just hide additional block from single event page, then you need to add below code in your child theme functions.php file.

    add_filter('event_manager_show_additional_details', 'wpem_event_manager_show_additional_details');
    function wpem_event_manager_show_additional_details($flag){
    	return false;
    }

    But, if you want to change place of additional info from single event page, then you need to override template file called “content-single-event_listing.php”, you need to just copy file from “wp-content\plugins\wp-event-manager\templates\content-single-event_listing.php” to “wp-content\themes\YUOR_CHILD_THEME\wp-event-manager\content-single-event_listing.php” and then at your theme side file, you need to cut code of additional info blog and paste it in same file where you want to show.

    ex. cut code ”?if ($show_additional_details) :” this entire if condition and paste it ”?<?php do_action(‘single_event_sidebar_end’); ?>” before this line.

    You can get more info about how to override template file from https://wp-eventmanager.com/knowledge-base/template-files-override/

    I hope this will help you, but if yu have still any query then please continue in this thread, we will help you.

    Thank you.

    Thread Starter fxbyy

    (@fxbyy)

    Hi @kikanirita

    Thank you! I could do what I wanted to!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to move additional fields to the side on the single event page?’ is closed to new replies.