UNC Web Services

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • UNC Web Services
    Participant

    Hello?

    UNC Web Services
    Participant

    After a bit more research, this may have been caused by part of the patch I had to use to fix the previous version. I had it living in an mu-plugin, which was still active.

    I did 2 things which resolved the issue, but I will need to test if only doing #2 would work (in which case, the plugin is functioning ok again).
    1) Run the find/replace I mentioned above
    2) Removed a filter I still had in place for the asset URLs to fix http/https when necessary

    I’ll try to do some testing tomorrow to see if this is still an issue or not.

    in reply to: Exclude One Category from Upcoming Events List #47371
    UNC Web Services
    Participant

    Hey Jonah, I was trying to do the same thing, but I am getting these php errors from the snippet you posted.

    NOTICE: wp-content/themes/events/functions.php:137 – Undefined index: post_type
    NOTICE: wp-content/themes/events/functions.php:137 – Undefined index: eventDisplay

    In 137 is ln 3 in your query.

    in reply to: Exclude Category from Calendar View #47358
    UNC Web Services
    Participant

    Stumbled across this simliar thread:

    Exclude One Category from Upcoming Events List

    I didn’t need to exclude it from all views, but I was able to modify the solution to include a conditional statement for the month:

    || $query->query_vars[‘post_type’] == TribeEvents::POSTTYPE && $query->query_vars[‘eventDisplay’] == ‘month’

    I think I’m good now… 🙂

    in reply to: Replace Default tribe_events_cat archive page #47350
    UNC Web Services
    Participant

    Ha! I should have known y’all would have some easy way to do this. That was just what I needed.

    Thanks a ton as always!

    in reply to: query event by venue #47212
    UNC Web Services
    Participant

    Luke, I would love to see your query you used for this. I am creating a bunch of custom queries and that would be very helpful. I’m trying to figure out how to recreate the $first variable used in the list.php file. It is passed into the list.php page, but I don’t know from where.

    in reply to: Add Custom Event Options #46106
    UNC Web Services
    Participant

    Thanks Barry. I could do this, but I’m wondering if I could just use the custom fields feature in the events calendar pro already… I’ll look into both. Thanks.

    in reply to: Customize mini-ajax-arrow-sprite.png images. #46083
    UNC Web Services
    Participant

    Yeah, I should have done that. Sorry. This is great. Thanks man!

    in reply to: Get Advanced Widget Variables in Theme Template #46082
    UNC Web Services
    Participant

    Well, I think I’m half way there. It occurred to me I could use a standard query like this and then define the variables myself.
    ‘tribe_events’);
    $myposts = get_posts( $args );
    foreach( $myposts as $post ) : setup_postdata($post); ?>

    The var_dump shows I have everything… all categories for now, but I could narrow that down I guess. 🙂 Just need to get assign the variables now.

    Unless there is an easier way… 🙂

    in reply to: Customize mini-ajax-arrow-sprite.png images. #46065
    UNC Web Services
    Participant

    How does one make a different sprite? I’ve never done that before. Can I just edit the one that is included to have the right background, sizes, etc? Maybe point me to some info on sprite images? Sorry for being such a newbie…

Viewing 10 posts - 1 through 10 (of 10 total)