Hi there,
Try the following manual condition:
post_type_is( 'post' ) && is_singular()
Hope that helps, good luck!
oh that didn’t work. It gave me the following error.
Fatal error: Call to undefined function post_type_is() in /home/houseofvanityjag/public_html/wp-content/plugins/scroll-triggered-boxes/includes/class-public.php(71) : eval()’d code on line 1
So I had.
If Post Type Is field = blank
Manual condition is = post_type_is( ‘post’ ) && is_singular()
Thanks.
Hi there,
Oops, that’s my bad. It should be the following.
get_post_type() === 'post' && is_singular()
That works perfectly! You’re the best… Thank you.
Hi!
I’m having the same issue, that the box is showing up on my posts AND my product pages. I’m using WooCommerce.
I tried the above manual condition together with “If Post Type Is field = blank”, but it didn’t work.
Could you please give me some guidance on how I should resolve this, I’m really lost. I only want the box to show on my posts.
Much apppreciate any help!
/ Ida
( here’s an example of a product page of mine: http://creativfriskvard.se/shop/tiger-balsam-vit/ )
If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic. This topic has been resolved.