Not working with Widget Content Blocks
-
Hi Kellen,
I am using https://www.ads-software.com/plugins/custom-post-widget, and this post type shows up on the settings page, which I enable and can see the Pixel meta box field in the edit mode of the content block, but when content block is displayed it does not insert the pixel code.
I have a custom widget content block displaying on the homepage based on a qualifier GET parameter and I would like the FB Conversion Pixel inserted. It seems that in fb_pxl_head(), the $post_type it gets from get_post_type() is “post” with an id of the first blog post of the home feed. Don’t think it looks through other post types being displayed on the home page.
Is there a way to insert the FB Conversion Pixel based on a widget content post type as in my use case?
Thanks!
P.S. Using version 1.3.1
https://www.ads-software.com/plugins/facebook-conversion-pixel/
- The topic ‘Not working with Widget Content Blocks’ is closed to new replies.