Custom fields not showing up in the user info (PaidMembershipsPro)
The problem was that I was redirecting users to the main page after registration, which apparently messes with PMPro, so I just removed that.
The problem was that I was redirecting users to the main page after registration, which apparently messes with PMPro, so I just removed that.
Adding category base to url in custom post giving 404?
Error in Fetching Custom Post Type parent Category URL (slug)
I could see this being a really common issue for page speed where you don’t want to lose the plugin, but you do want your homepage to rank well and come nice and fast from cache and it doesn’t need various cookie wielding plugins breaking cache on the homepage. If that was the case… could … Read more
Those are not admin notices. It’s not enough to echo text on the admin_notices hook, it needs to be wrapped in specific HTML. Here is an example taken from the official WP doc for admin_notices: function sample_admin_notice__success() { ?> <div class=”notice notice-success is-dismissible”> <p><?php _e( ‘Done!’, ‘sample-text-domain’ ); ?></p> </div> <?php } add_action( ‘admin_notices’, ‘sample_admin_notice__success’ … Read more
How to add gallery to post and make seperate album page with gallery link to post?
Allow a particular user to access a particular plugin?
Show prices with tax Inclusive in Minicart widget
Show views count for pop up post
If you want this to work for woocommerce categories you can start by limiting the logic to only woocommerce categories with is_product_category, that will help with preventing the code running when you don’t need it to. Using WordPress get_ansestors you can get the top lvl category (taxonomy) of the current category no matter how deep … Read more