Taxonomy and Slug terms

Home Forums Calendar Products Events Calendar PRO Taxonomy and Slug terms

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43061
    Steve
    Participant

    Hi there,

    I’m trying to pull the events into a slider using the code:

    ‘thumbel’,’post_type’=>’post’, ‘taxonomy’=>’category’,’term’=>’uncategorized’, ‘set’=>”, ‘offset’=>0 );
    get_slidervilla_slider_taxonomy($args);
    }
    ?>

    However, I’m unsure what to put under, “post type”, “taxonomy”, “term” in order to draw up events from a specific category.

    This is the link I’m using as help: http://slidervilla.com/taxonomy-addon/

    Many many thanks for any help or advice.

    #43064
    Barry
    Member

    The post type is tribe_events and depending on when your code is running you can obtain that by using the following constant:

    TribeEvents::POSTTYPE

    The taxonomy is tribe_events_cat and again there is a class constant for that:

    TribeEvents::TAXONOMY

    Term relates to the actual category you want to pull in, it will probably be either an ID or a slug (or both may be acceptable) – but refer to the slidervilla.com documentation for that 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Taxonomy and Slug terms’ is closed to new replies.