derekshirk

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Correct way to exclude a category from related events #930186
    derekshirk
    Participant

    OK, that is helpful. Not I need to figure out how to property write the filter. would I do something like this?

     add_action( 'tribe_get_related_posts_args', 'excl_category_from_related' );
         
        function excl_category_from_related() {
            
            $args = array(
                'cat' => -18,
                );
    
            return $args ;
        }
    in reply to: Advanced Custom Fields Event values not saving to Event #858381
    derekshirk
    Participant

    Hi Josh,

    I’m checking back in to see if there has been any discussion from your dev team on this?

    in reply to: Advanced Custom Fields Event values not saving to Event #848312
    derekshirk
    Participant

    Hello,

    I’ve been emailing back and forth with Elliot from ACF, and here is his last response which I feel correctly identifies the issue.

    Elliot replied
    Oct 30 1:32pm
    Hi Derek

    Thanks for the info, I did a bit more testing and can now get the same result as you.

    I did some debugging of some ACF files and found something very odd.
    For some reason, when the post is saved, the $post_id parameter (within the save_post action) should be the value of the event being edited (3439), yet when I output the value, it is 3440344034403440

    I checked to see if this was the value 3440, and the function was being run 3 times, but no, for some weird reason, the events calendar plugin is modifying the $post_id value and changing it to something that doesn’t relate to tehe correct post. This is why ACF data is not saving – ACF is saving to the post 3440344034403440…

    I don’t think I can provide a fix from my end, but please keep me in the loop to see what events calendar devs make of this info.

    Thanks
    E

    Hopefully that will help you guys hone in on the issue. Is it possible to keep the POST_ID the same for recurring events?

    in reply to: Advanced Custom Fields Event values not saving to Event #816282
    derekshirk
    Participant

    Thank you. I will keep the conversation updated as I receive new info.

    in reply to: Advanced Custom Fields Event values not saving to Event #813154
    derekshirk
    Participant

    I’m having the same issues, and landed here looking for answers. Did anyone find any clarity on this issue? I also posted a thread on the ACF forum here: http://bit.ly/ZF2MP9

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