Cinch

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 45 total)
  • Author
    Posts
  • in reply to: Events Calendar 3.0 Not Working with Theme #54304
    Cinch
    Participant

    Andy,

    Thanks for the override plugin idea. It’s doing it’s job and allowing me to override the plugin styles.

    I’m looking forward to the update, as TEC currently loads 7!!! stylesheets, including the override. I’d much prefer to turn them all off and load them myself through the theme for minify/concatenation purposes.

    Can you provide a full list of the correct dequeue ID’s? This: wp_dequeue_style( ‘full-calendar-style-css’ ); for example, is not working.

    Thanks again,
    ~ Bryan

    in reply to: Events Calendar 3.0 Not Working with Theme #54145
    Cinch
    Participant

    Jonah, do the updated override documentation include the events.css file? I can’t seem to override the css…

    Attempting to create a new tribe-events-theme.css file also fails to override the system css…

    in reply to: tribe_is_month() boolean returning true #54136
    Cinch
    Participant

    That was actually just a bit of a test… the $post_id there didn’t make a difference and I’ve removed it. Still testing…

    in reply to: tribe_is_month() boolean returning true #54124
    Cinch
    Participant

    I’d really like to transition now to 3.0 as we’re still in development. Can you think of any reason why normal WP conditionals might simply stop working when using the new version?

    This conditional also isn’t firing correctly:

    if ( get_post_type($post_id) == 'tribe_events' ) { ... }

    in reply to: tribe_is_month() boolean returning true #54093
    Cinch
    Participant

    I had a backup and was able to downgrade to v2.0.11 – which has solved all my conditional problems…

    I’ll have to stay at the older version until I can locate the issue.

    If I figure it out I’ll post back here.

    Thanks,
    ~ Bryan

    in reply to: tribe_is_month() boolean returning true #54082
    Cinch
    Participant

    I’m using it within footer.php

    I’m having a similar conditional issue here: https://theeventscalendar.com/support/forums/topic/cpt-conditionals-for-filters/

    Perhaps I’ve got something more systemic going on.

    Is it possible to downgrade back to v 2.xx? I don’t see it in the downloads.

    in reply to: tribe_is_month() boolean returning true #54074
    Cinch
    Participant

    Sorry… that code snip didn’t work… here it is again:


    if ( tribe_is_month() ) {
    get_sidebar( 'after-content' );
    }

    in reply to: tribe_is_month() boolean returning true #54073
    Cinch
    Participant

    Hi Barry,

    Odd, but this is returning true on every page as well:

    in reply to: tribe_is_month() boolean returning true #54065
    Cinch
    Participant

    I think your approach at conditionally showing the sidebar is the way I’ll go.

    The odd thing is that tribe_is_month() is returning true in this situation. The site is still in heavy development so I can’t say for 100% certainty that nothing else has changed, but this setup worked in the prior version.

    Anyway, I’m off to conditionally show the sidebar. Thanks for the idea.

    ~ Bryan

    in reply to: tribe_is_month() boolean returning true #54040
    Cinch
    Participant

    Hi Barry,

    Widget Logic is the only place I need to use this conditional. The example above was just a test run in a widget to see if it fires, which it did, even when not on a month view page. Perhaps that conditional is only available within the context of the plugin?

    How would you go about displaying a widget only on the main calendar page?

    Thanks for the quick reply,
    ~ Bryan

    in reply to: CPT conditionals for filters #53882
    Cinch
    Participant

    Hi Jonah,
    The main calendar page and a singular event.

    Thanks.

    Cinch
    Participant

    +1 for @Tim‘s request to change the order of the related events – preferably below everything else.

    in reply to: Default view for category archive pages #52267
    Cinch
    Participant

    That’s fantastic Jonah, thanks so much!

    in reply to: Show only today's events #48120
    Cinch
    Participant

    Just an update for anyone needing to show only today’s events.
    I decided to use `new WP_Query` with these query `$args`:

    `
    ‘tribe_events’,
    ‘showposts’ => 5,
    ‘start_date’ => $current_date,
    ‘end_date’ => $current_date
    ));
    ?>
    `

    in reply to: Show only today's events #48077
    Cinch
    Participant

    Thanks for the reply Barry. Sorry it took so long to reply but I must not have ticked the ‘notify me by email’ option…

    I’ll give this a try and get back with what I found. Ideally I’d like to push this into the template rather than use/create a widget.

Viewing 15 posts - 31 through 45 (of 45 total)