Diego Quintana
Forum Replies Created
-
Forum: Plugins
In reply to: [Broadcast] ACF repeater filed imagesWell I found another error. I also have a repeater field for multiple files, not images. Uploaded PDFs actually and they’re not getting broadcast.
Forum: Plugins
In reply to: [Broadcast] ACF repeater filed imagesWell that makes me feel dumb. Ok so I just updated to Premium Pack 2.15, and the images ARE getting broadcast but now they don’t show on the front end. All posts in the admin show their repeater field images, but when I see the post on the main site’s front end the repeater field images show, but on the children sites they’re missing.
I tried a few things out and the ACF loop detects there are fields through “if get_field” but on “while has_sub_field” it simply doesn’t read the fields.
SO I guess I’ll assume this is an ACF plugin bug, and not WPbroadcast’s. So I guess this is solved?
any pointers though would be greatly appreciated. Thanks so much Edward.
Forum: Plugins
In reply to: [Broadcast] ACF repeater filed imagesI’m actually on version 2.17.
At some point I added acf as a post type to be broadcasted. Maybe that messed something up?
Forum: Plugins
In reply to: [Broadcast] ACF repeater filed imagesI forgot to say that I am using the premium pack. And I’m on PHP 5.4.
Actually, there’s other image fields that do get transmitted correctly. Regular image fields. It’s the Image fileds INSIDE a repeater field that break.
Forum: Hacks
In reply to: get_calendar future posts and choose categoryhey @bcworkz thanks a lot on your reply. It sure did point me in the right direction.
In case it might work for someone else. I doubt it’s the cleverest of hacks, but it works for what I need at least.
I ended up solving it by cloning the get_calendar function from wp-includes/general-template.php and pasting it as a new function in my functions.php
Then I replaced the post_status from post_status = ‘publish’ to post_status IN (‘publish’,’future’) and added some code I found in another solution but worked.
I’m deep in the code now so I apologize for keeping the explanation so vague. If anybody needs it, I’d be glad to write an in-depth solution.
Thanks a lot!