1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, new accounts will need to make at least one (valid) post.
    Otherwise, we will periodically purge all users without posts or that haven't confirmed their account.

List by single cateory

Discussion in 'Wordpress' started by tesha, Oct 1, 2010.

Thread Status:
Not open for further replies.
  1. tesha

    tesha New Member

    I need one simple thing... every thing else works fine.

    a list display by category

    eg. on the entertainment page I need to display just the items in the category "entertainment"

    I simply don't know what code to use

    can anyone help?

    Thanks,
     
  2. Brian

    Brian EPC Developer Staff Member

    You're looking for the $showCat option.

    $showCat="X";
    Filter the list of events by category "X".

    Use the Advanced Filter option of the Event Manager to construct specific filters. While viewing the Advanced Filter screen after executing a filter (click Find / Filter then Advanced in the Event Manager), at the end of the yellow Filter table is a code. Add this code to the $showCat variable to perform this filter operation in your own pages. It will appear like "1|4|7 or a|2|5|9".

    Add this just before require("calendar/calendar.php");
     
  3. tesha

    tesha New Member

    thank you - but how are the lines constructed?


    <?php
    $showCat="5";
    require ("calendar/calendar.php");
    ?>

    produces a hover effect over the little calendar. I'm just looking for a static list.
     
  4. Brian

    Brian EPC Developer Staff Member

    Use the List Mode calender (Integration / List Mode in the instructions).
     
  5. tesha

    tesha New Member

    thank you - I got it...

    sometimes my mind can't put 2 and 2 together.... unless someone says
    "Add them!"


    thanks again!
     
Thread Status:
Not open for further replies.

Share This Page