• Danny

    (@youreventfree)


    When first setting up Events Manager, I enabled an event attribute “_ATT{Kid friendly}{No|Yes}” – I then updated the wording to “Child friendly”, and then later on, a whole new attribute “_ATT{Suitable For Families and Children}{No|Yes}”

    (My reason for doing this was because users were listing all sorts of unsuitable events as ‘Kid friendly’ or Child friendly’ and it looked to me as if these words were not emphatic enough.)

    In Events Manager Settings, only the “_ATT{Suitable For Families and Children}{No|Yes}” attribute is listed in the submission form. When someone joins and lists their event, BOTH the ‘Child friendly’ and ‘Suitable for Families and Children’ custom fields appear in the form they are to fill in for their Event. And when an Event is published and viewed by the world, only the ‘Child friendly’ attribute appears. An example of this is in the link given below: only ‘Child friendly’ is showing in the listing, not ‘Suitable for Families and Children’ which is the only attribute that is listed in Event manager settings.

    Can someone please advise on how to correct this?

    • This topic was modified 9 months, 1 week ago by Danny.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • In the General tab of Events Manager settings look in the Event Settings section and in the Event Atttributes field make sure only _ATT{Suitable For Families and Children} is in that field. The Edit Event form should then only have that one Event Attribute.

    Thread Starter Danny

    (@youreventfree)

    The only attributes I have in this box are as follows:

    • _ATT{Suitable For Families and Children}{No|Yes}
    • _ATT{Online Only Event}{No|Yes}
    • _ATT{Ticket Prices}
    • _ATT{Website}
    • _ATT{Telephone}

    Yet the problem persists.

    Do you have the following in the Location Attributes?

    #_ATT{Kid friendly}{No|Yes}
    Thread Starter Danny

    (@youreventfree)

    The Location Attributes box is empty, and ‘Enable Location Attributes’ is set to ‘no’.

    Get the Code Snippets plugin and add the following code:

    $placeholders = get_option('dbem_placeholders_custom');
    if ( ! empty($placeholders) && strpos($placeholders, '#_ATT{Suitable For Families and Children}{No|Yes}' ) !== false ){
        $placeholders = str_replace('#_ATT{Suitable For Families and Children}{No|Yes}', '', $placeholders); 
        update_option('dbem_placeholders_custom', $placeholders);
    }

    Set the option to only run once and click on the “Execute Once” button.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Field still appearing after deletion’ is closed to new replies.