Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No output with filters p2p_widget_html and p2p_shortcode_html #471

Open
DeluxePunkt opened this issue Mar 6, 2015 · 1 comment
Open

Comments

@DeluxePunkt
Copy link

Hi

I use p2p plugin to connect portfolio custom post type to woocommerce product and it works very well.

I just wanted to change the output of the p2p widget to get a thumbnail with the list of connected portfolios.
I followed all instructions here : https://github.com/scribu/wp-posts-to-posts/wiki/Actions-and-filters

But doing this make the widget ouput empty. The template is loaded succesfully but with no content.
the return $html; works also perfectly well.
Is there a bug with custom post type connections like this and this template hook?

@fl0ri
Copy link

fl0ri commented Dec 16, 2016

Same thing here. I used the p2p_widget_html and p2p_shortcode_html feature to modify output. Somewhere in the last updates it stopped working. Any fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants