curioustoad
Forum Replies Created
-
Hi there,
Thanks for your work on this, really appreciate it. I’ve just had a chance to test this out and it’s working on my staging site. This is great – thank you!
There’s two things I’ve noticed which might help improve this:
- The wording of the option is a bit confusing – “Enable stop sending”. I would change the option label to “Disable sending emails on staging environments”.
- Not necessarily a problem but a potential for mistakes – if email sending is disabled, it’s still possible to go to the list of Subscribers and click “Send Instock Mail”, and the email will send. This may be intentional, or it could be accidentally clicked. It might be best to have a prompt/dialog box to ask “Emails are disabled on staging – are you sure you want to send this email?”
Finally, it might also be good to add a dashboard meta box when the option is enabled so admins are aware if this turned on or not.
Thanks again
Brilliant, thanks! Tested and working well. Thanks for the fix.
Thanks! I’ve created an issue there now.
thanks! Is there a github repo or similar where I can create an issue on in case need help debugging?
Thanks Sanjeev. I’ve already disabled all those options from the admin screen. What is the hook used for? If I don’t use the notifications there’s no sense leaving a process being scheduled?
Hi @andrewza,
I found this thread when I was looking into why I couldn’t get shortcodes such as pmpro_checkout to work in a template file with do_shortcode(), despite them working in the default post editor and in a custom field.
When you say it’s not a “real” shortcode, what do you mean? It’s really confusing, as in the docs it’s mentioned that you can use shortcodes within template files (and indeed, as a test, I got a user email to appear using [pmpro_member field=”last_name”] within a template). So are you saying that you can only use some shortcodes in templates? If so, which ones? It’s very misleading in the docs.
Second to that, is it possible to call the membership checkout form within a template file, or do you have to link to the page where the “shortcode” is added?
Many thanks
Rob
Sorry, looking back, I didn’t write the question very clearly.
I’m not experienced enough in PHP to know where to rip out/replicate the functionality in your plugin to use it for standard post types.
My guess is that your plugin makes the terms available for the permalink structure i.e. URL/%terms%/%postname%/ etc?
Thanks for the reply. Is there any functionality within your plugin that I can adapt to apply as a single function for Posts?