• Hi!

    Is there any events calendar plugin out there which uses the new custom post types of WP3.0?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello!

    I’m looking for the same kind of calendar. Maybe ‘The Events Calendar’ plugin could be adapted. I will try.

    ??

    You can try adding this line in addEventBox() function on plugins/the-events-calendar/the-events-calendar.class

    add_meta_box( 'Event Details', __( 'The Events Calendar', 'Events_textdomain' ),array( $this, 'EventsChooserBox' ), 'your_custom_type_name', 'normal', 'high' );

    It will enables the ‘Events chooser Box’ in your custom type post.

    I hope it helps!

    Hey Pixow,

    I have the same issue. I tried to add the code to the the-events-calendar.class but it seems as if it broke my wordpress theme. Do you know where I should add this code in the the-events-calendar.class file?

    Thanks!

    Hi geoill,

    You should add it inside the addEventBox() function. Something like this:

    public function addEventBox( ) {
    			add_meta_box( 'Event Details', __( 'The Events Calendar', 'Events_textdomain' ),
    		                array( $this, 'EventsChooserBox' ), 'post', 'normal', 'high' );
                            add_meta_box( 'Event Details', __( 'The Events Calendar', 'Events_textdomain' ),
    		                array( $this, 'EventsChooserBox' ), 'Viatges', 'normal', 'high' );
    		}

    I hope it helps!

    It worked! I’m gonna test it.

    the above code does put the events calendar into a custom post type but it breaks ical functionality. every ical feed is now blank so i assume its trying to query posts from the regular post type and not the custom? any idea how to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Events calendar plugin and custom post types’ is closed to new replies.