affariproject

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Additional fields not saving through front-end #1130530
    affariproject
    Participant

    Okay, I confess. My code was the culprit. I’d forgotten that I’d made some modifications to the values that were being submitted with the form and it wasn’t matching the values stored through the PRO additional fields interface.

    in reply to: Additional fields not saving through front-end #1130488
    affariproject
    Participant

    Oh, and trying to save from the front-end doesn’t only just not save that field. It also clears out any value that was previously set for that radio field.

    in reply to: Remove posts from main loop based on meta field #1115021
    affariproject
    Participant

    Yeah, I considered that method. However, that will mess with the number of posts listed on each list view page. If you’re allowing ten posts to show, but six match the meta field, you’ll only see four. Then you might see all ten on the next page if none match the meta. Creates an inconsistent user experience.

    in reply to: Add Custom Event Options 2015 #986347
    affariproject
    Participant

    Hi Geoff,

    Thanks for the reply. ACF is the route I was planning to go if this still wasn’t a built-in option for TEC. Thanks for the heads up. I’ll suggest it as a feature.

    in reply to: White Screen of Death Instead of 404 #943824
    affariproject
    Participant

    Considering this is only happening on an events single page, do you have any recommendations on where to start deleting code to test?

    in reply to: White Screen of Death Instead of 404 #943815
    affariproject
    Participant

    Hi Brian,

    I fixed the $event variable notice, but I’m still getting the white screen. I did, however, break down and switch my theme to 2015 briefly. Sure enough, no white screen, so I suppose it’s something in my theme but I don’t know what. There are currently no errors being generated when I visit the offending white page or a working events single page.

    in reply to: White Screen of Death Instead of 404 #943142
    affariproject
    Participant

    The only error that comes up for the events single page is this:

    PHP Notice: Undefined variable: event in /home/content/50/7552150/html/wp-content/themes/newcitychurch/tribe-events/single-event.php on line 62

    The code on that line is this:

    echo '<p class="datetime"><strong>Time:</strong> ' . tribe_get_start_date($event, true, 'g:ia') . ' - ' . tribe_get_end_date($event, true, 'g:ia') . '<br /><strong>Date:</strong> ' . tribe_get_end_date($event, true, 'F d, Y') . '</p>';

    I don’t explicitly define $event in my code. I suppose I thought it was defined as part of the default $post for the single page. Could that be the problem? If so, how would I fix it?

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