Hmm I would assume this is an issue with Postmatic calling the shortcode multiple times. I’ll add this to my todo list still. Thanks!
I would make this post over on the Postmatic forum as well.
Yes, I have submitted the exact same request on the Buckets support forum as well.
Thank you!
Hey Matt,
Jason from Postmatic here. At quick glance it appeared that Buckets is calling the_content twice, and during the second calling is not respecting content filters. I didn’t investigate thoroughly but that might be a place to start.
Jason
I only call the_content once in all of my code and it goes through the filters. So I’m not sure where that might be happening. Do you know where specifically it’s doing this?
I believe it occurs when I add the family lineage to the bottom of the content within the Post.
An example would be:
Marcus Lowell --> Peter Benedict --> Michael Tibesar
Does that help?
Matt – if you need Admin access to the site please let me know your e-mail address and, I’ll arrange for an account to be made.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Please don’t give away access to your site. It looks like Matt is trying to help you out here instead of fiddling around with your installation. Please be patient.
Jason mentioned it being called twice and the second time it’s not being ran through the filters, but this is the single content call I do in the code. So I’m not sure where he is seeing the second call. That’s what I was asking if he knew where that was.
$return = apply_filters('the_content', get_post_field('post_content', $bucket_id));
Have you tried disabling other plugins? Does it duplicate on the the posts themselves or just in the emails?
I sent your question to Jason of Postmatic but he hasn’t replied yet.
Jason is the one who identified the conflict with Buckets.
It duplicates in the e-mails (not in the Posts themselves).
The content of the Post is listed only once but when I enter the buckets shortcode the Postmatic trailer below the Post indicates a duplication of information.
Hope this helps!