dobie

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Custom Layout for Organizer and others #1474504
    dobie
    Participant

    I have added a field ‘test’ which is a text area for testing and also added the following in the functions.php
    However, it appears on the event edit page, but not for organizer. I want to add fields in the organizer, not only email, telephone and Url, but also business profile and etc. Have I done any wrong or missing anythings?

    additional field “test”

    Followings added to functions.php

    /**
    * Enable custom field support for organizer posts.
    *
    * @param array $args
    * @return array
    */
    function tribe_organizers_custom_field_support( $args ) {
    $args[‘supports’][] = ‘custom-fields’;
    return $args;
    }

    add_filter( ‘tribe_events_register_organizer_type_args’, ‘tribe_organizers_custom_field_support’ );

    in reply to: Custom Layout for Organizer and others #1472938
    dobie
    Participant

    I added the following as suggested in my theme’s functions.php, but don’t see them appearing anyway. There are quite number of fields that I created using advanced custom field and they appear in the event editor, but none appears with only the default time, url and phone. The field group is “Business member profile” in the advanced custom field. Should I replace the “custom-fields” with this name “Business member profile”? Furthermore, I am not sure what are the custom fields you are referring to? From other plugin or not?

    /**
    * Enable custom field support for organizer posts.
    *
    * @param array $args
    * @return array
    */
    function tribe_organizers_custom_field_support( $args ) {
    $args[‘supports’][] = ‘custom-fields’;
    return $args;
    }

    add_filter( ‘tribe_events_register_organizer_type_args’, ‘tribe_organizers_custom_field_support’ );

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