• Resolved snoogy

    (@snoogy)


    Hello, I have a question that is bothering me: I can’t find a way so that when event-editor.php displays the form, tags are processed; To find another solution I have tried to use custom attributes, but then the problem is that “EM_Events::get” or the [event_list] shortcode does not filter the results to show only those that contain that custom attribute. I would be very grateful if you could give me a solution for this issue. Greetings

Viewing 1 replies (of 1 total)
  • If you have a custom attribute called “myattribute” You could do something like this to output just the events with that attribute:

        $events = EM_Events::get( $args );
        foreach( $events as $event ){
           $val = get_post_meta($event->post_id, 'myattribute');
           if ( $val )
                echo $event->output( $args );
        }
Viewing 1 replies (of 1 total)

The topic ‘event-editor.php does not process tags’ is closed to new replies.