Daniel

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • in reply to: Disable 768px Stylesheet #1362406
    Daniel
    Participant

    Works great! Thanks.

    in reply to: Recurring Event – Only Show One Week Ahead #1362354
    Daniel
    Participant

    Thanks!

    in reply to: Recurring Event – Only Show One Week Ahead #1361720
    Daniel
    Participant

    Ah, I meant doubles as in Java, like a decimal value.

    Concerning that button, I believe that works! It will update to the next recurring instance after the next recurring event has passed correct?

    • This reply was modified 6 years, 6 months ago by Daniel.
    in reply to: Disable 768px Stylesheet #1361714
    Daniel
    Participant

    Hi there, one last question, can that PHP code be put anywhere in that file? Or does it need to be in a specific function?

    • This reply was modified 6 years, 6 months ago by Daniel.
    in reply to: Recurring Event – Only Show One Week Ahead #1359981
    Daniel
    Participant

    It looks to me like that function is for cleaning up old events, but I am trying to change how many recurring events show up? Are you sure I would mess with that function? Plus, I would have to change the submission form to allow for doubles. Correct?

    in reply to: Disable 768px Stylesheet #1358677
    Daniel
    Participant

    Is this the functions.php in my theme folder? Otherwise, where is functions.php?

    in reply to: Recurring Event – Only Show One Week Ahead #1358467
    Daniel
    Participant

    Wouldn’t it be easier to create code that says if the recurring event option is divisible by .25, then only show that many events ahead? So .75, .5, .25.

    in reply to: Recurring Event – Only Show One Week Ahead #1358158
    Daniel
    Participant

    This doesn’t help, because this is a church service. The church service never ends. I just don’t want to have to show four church services when people are looking through the list of events, I only want to show one.

    in reply to: Disable 768px Stylesheet #1358132
    Daniel
    Participant

    I am confused.

    You can’t have PHP in a CSS file. So where is the PHP file that has the function tribe_events_mobile_breakpoint at?

    in reply to: Tribe Events Styles – Text Wrap Right of Image #1349740
    Daniel
    Participant

    In addition, would changing the styles make it easier to configure? What would you do to make it less difficult?

    • This reply was modified 6 years, 7 months ago by Daniel.
    in reply to: Tribe Events Styles – Text Wrap Right of Image #1349729
    Daniel
    Participant

    Could you please use the code tags to copy and paste in the code?

    You just need to press code to start the code block, and press code when you are done pasting in the code after the code block.

    in reply to: Tribe Events Styles – Text Wrap Right of Image #1349377
    Daniel
    Participant

    Are you able to provide some CSS to move the text to the right of the image? I tried every stylesheet, and every CSS code I could find on the forums before asking on here.

    The URL for the events page is http://www.gatewaybible.org/events/

    Thanks:)

    • This reply was modified 6 years, 7 months ago by Daniel.
    in reply to: Tribe Events Styles – Text Wrap Right of Image #1349041
    Daniel
    Participant

    In addition, when I created this post, a suggestion box came up below the title, suggesting other forum posts. The blue on gray is pretty hard to read, picture attached.

    in reply to: PHP – If Event Has Featured Image #1349036
    Daniel
    Participant

    Nevermind. I don’t know why it updated all of a sudden, but it did. Ignore that last post. The page now says hello where it originally had the php code.

    Thank you for the helpful code and tips!

    in reply to: PHP – If Event Has Featured Image #1349029
    Daniel
    Participant

    Ok, in my themeFolder/tribe-events/list/single-event.php I have

    
    <!-- Event Image -->
    <?php echo tribe_event_featured_image( null, 'medium') ?>
    <?php
    if(has_post_thumbnail($event_id)) {
      echo '<div>Hello</div>'; 
    }
    ?>
    

    But on the page it prints

    
    if(has_post_thumbnail($event_id)) { echo '
    Hello
    '; } 
    

    I didn’t replace the image code like you said, but added it in under so the image would show up.

    • This reply was modified 6 years, 7 months ago by Daniel.
    • This reply was modified 6 years, 7 months ago by Daniel.
    • This reply was modified 6 years, 7 months ago by Daniel.
    • This reply was modified 6 years, 7 months ago by Daniel.
    • This reply was modified 6 years, 7 months ago by Daniel.
Viewing 15 posts - 1 through 15 (of 22 total)