Closed renzms closed 9 years ago
Hey! :-) Great to see you working on KBAs like this. Thank you!
Can I Add The New EOT Shortcode To PRO Login Widget?
Questions can be written without title-case. e.g., Can I add the new EOT Shortcode to the Pro Login Widget?
Note that:
Yes, you should be able to add it using PHP code
I realize this is just a draft, but try to refrain from using words like "should" or "might" or "maybe". You want the article to present an official answer to the question. Words like should or maybe suggest that it might be the right answer, and that's not what people want to see in the official KB for the software.
Remember you can always ask one of us if you're unsure.
The Pro Login Widget supports arbitrary XHTML/PHP and even shortcodes. So I don't think it's absolutely necessary to install something like ezPHP to answer this question. I think mentioning ezPHP is great, but we should also mention that the Pro Login Widget has these fields that you can use. In fact, you could even insert the [s2Eot /]
shortcode right into these fields.
In fact, you could even insert the
[s2Eot /]
shortcode right into these fields.
@jaswsinc Interesting. I was not even aware of that. :-) Should any WordPress shortcode work there? If so, maybe we can change those field titles to "Additional XHTML/PHP Code or Shortcode?"
@jaswsinc
Thanks for the feedback and guidance! I'll take note of the changes and edit the draft. I didn't know you could just use the short code straight into the widget fields, so thanks for that too. I'll make the article explain that shortcode can be used to show EOT and also the method for using PHP as an additional method to show EOT. That should cover all bases.
"Additional XHTML/PHP Code or Shortcode?"
@jaswsinc and @raamdev , I agree with Raam, maybe it should include the words "and Shortcodes". But like he asked, are there any limitations on the shortcodes that should work, or is it only applicable to certain s2member shortcodes?
Should any WordPress shortcode work there?
Yes. Any shortcode should work here. I'm opening an issue here. I agree. https://github.com/websharks/s2member/issues/691
@renzms Latest improvements look good! :-)
KB Article Creation Checklist
draft
and eitherquestions
ortutorials
draft
label, adddraft-finalized
label)draft-finalized
label, addpending
)pending
label, addpublished
label)Published @ s2Member.com: http://s2member.com/kb-article/can-the-eot-time-be-added-to-the-pro-login-widget/
View Markdown File