Make private products visible for Admin
-
Hi there,
I am adding some new products to my shop that are not yet available but should be visible to me (Admin) for testing purposes. So I made them ‘Private’ in the usual WP way.
Still they don’t show up on the product page when I’m logged in while using my homebuilt theme. But when I change the theme to the default WP Twenty-Twenty theme, they DO show up.Obviously, it’s not a plugin conflict, as they all remain active when switching themes.
But even when removing all files and coding from my own theme (except the mandatory index.php and empty stylesheet), they still don’t show up.So I’m assuming the Twenty Twenty theme contains some hidden code that allows private products to display, but I can’t figure it out. Checked the functions.php but that doesn’t seem to do the trick.
Anyone out here has any clues or tips where to look?
- The topic ‘Make private products visible for Admin’ is closed to new replies.