Title: [Plugin: Password Content ShortCode] Add a shortcode within your php?
Last modified: August 20, 2016

---

# [Plugin: Password Content ShortCode] Add a shortcode within your php?

 *  [bhomatude](https://wordpress.org/support/users/bhomatude/)
 * (@bhomatude)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-password-content-shortcode-add-a-shortcode-within-your-php/)
 * Hello, I’m trying to add a simple contact form shortcode within your php in order
   to include the form with the password submit field/button… This would then hide
   the contact form once the password is submitted… And show the protected content.
   I would like the contact form shortcode to appear above the password submit button.
 * I’m pretty sure that
 * `echo do_shortcode('[contact form shortcode]');`
 * would go somewhere in here:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Do you have any suggestions? Thanks much!
 * [http://wordpress.org/extend/plugins/password-content-shortcode/](http://wordpress.org/extend/plugins/password-content-shortcode/)

Viewing 1 replies (of 1 total)

 *  [hetul](https://wordpress.org/support/users/hetul/)
 * (@hetul)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-password-content-shortcode-add-a-shortcode-within-your-php/#post-2722594)
 * I am trying to use Next Gen gallery Short Code with this plugin…
 * version 2.1 just doesnt work… and 2.0 login works, but next gen gallery short
   code doesnt…
 * Any way to get this to work?

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Password Content ShortCode] Add a shortcode within your php?’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/password-content-shortcode.svg)
 * [Password Content ShortCode](https://wordpress.org/plugins/password-content-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/password-content-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/password-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/password-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/password-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/password-content-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [hetul](https://wordpress.org/support/users/hetul/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-password-content-shortcode-add-a-shortcode-within-your-php/#post-2722594)
 * Status: not resolved