• Resolved Paul Buijs

    (@paulbuijs)


    1. The organizer archive page uses my theme’s default template with sidebar. How do I force this info to be displayed using Elementor Full Width template instead? Please do not say Template overide :). Example URL: https://www.functionalfitnessworld.com/event-organizer/hyrox-2/

    2. The organizer info at the bottom of single event does not display organizer email despite an email field in the organizer section in back end. Please include an email icon in the Organizer section of event single. Screenshot: https://share.getcloudapp.com/9ZuXKn7o.
    Or is this excluded so we have to buy the contact organizer add on?

    3. Please add instagram social field.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please refer this: https://www.hostinger.in/tutorials/remove-sidebar-wordpress to remove sidebar.

    >> Please add the following code in the Functions.php file of your child theme to add Instagram (similarly you can add any other social media links. )

    add_action( 'single_event_listing_organizer_single_social_end', 'wpem_organizer_social_media' ); 
    function wpem_organizer_social_media($organizer_id)
    {
    	$organizer_instgram  = get_post_meta($organizer_id, '_organizer_instagramn', true);
    	if (!empty($organizer_instgram))
        {
            ?>
            <div class="wpem-social-icon wpem-instgram">
                <a href="<?php echo esc_url($organizer_instgram); ?>" target="_blank" title="Get Connect on instgram"><?php _e('Instgram', 'wp-event-manager'); ?></a>
            </div>
        <?php }
    }
    • This reply was modified 5 years, 9 months ago by Priya Goenka.
    Thread Starter Paul Buijs

    (@paulbuijs)

    Hi Priya,

    Thank you again for your help!

    1. I am not looking to remove the sidebar from that template, I want to use a different template choice for organizer archive. Please let me know steps to do this (using Elementor)

    2. Thank you for the code, but I ask that your team consider adding a field for Instagram in the plugin. All of these codes get wiped out with plugin updates and it is too much for me to keep track of with all the plugins installed on my site.
    Also placing that code in functions.php did not work for me – there was no new field for Instagram in organizer info created.

    3. Can you please answer question regarding organizer email address?

    • This reply was modified 5 years, 9 months ago by Paul Buijs.

    Hi Paul,

    1. For that, you need to set the default layout from your theme side as per your need. It is not possible with the elementor.

    2.get_event_organizer_email(),
    display_organizer_email()
    you will get an organizer email using these 2 functions and override single event template files at your theme side and display email in it.

    3. For Instagram social field, you can add a field in the organizer detail section of the field editor at your admin-side, and use it in the single-event template file with template override functionality.

    To get field value at single event template file, you can idea to write code from here: https://wp-eventmanager.com/knowledge-base/fields-on-single-event-page/

    Regards
    Priya

    • This reply was modified 5 years, 9 months ago by Priya Goenka.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Organizer Info’ is closed to new replies.