Title: Nested Short Codes
Last modified: August 24, 2016

---

# Nested Short Codes

 *  [williamscreative](https://wordpress.org/support/users/williamscreative/)
 * (@williamscreative)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/nested-short-codes/)
 * I’ve used short coded generated by Content Protector to password protect a section
   of a page where I’ve inserted short codes from Bookly, an appointment booking
   plug in. The Bookly short code section is nested inside the Content Protector
   short codes. The Bookly appointment form is hidden by Content Protector. When
   a password is entered, however, the Bookly appointment form is not rendered properly.
   Instead, this short code appears as text instead of the rendered Bookly appointment
   form: [[bookly-form category_id=”0″ hide_categories=”1″ service_id=”1″ staff_member_id
   =”1″ hide_date_and_time=”1″]
 * Is there a fix to this situation? Thanks.
 * [https://wordpress.org/plugins/content-protector/](https://wordpress.org/plugins/content-protector/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [williamscreative](https://wordpress.org/support/users/williamscreative/)
 * (@williamscreative)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/nested-short-codes/#post-6058118)
 * I forgot to mention that the Bookly short code appears after I click on the Content
   Protector Submit button. However, when I refresh the page, the fully rendered
   Bookly appointment form replaces the Bookly short code.
 *  [K. Tough](https://wordpress.org/support/users/kjvtough/)
 * (@kjvtough)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/nested-short-codes/#post-6058293)
 * Hi, williamscreative.
 * Are you using the `ajax` attribute in your shortcode? What happens when you remove
   it?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Nested Short Codes’ is closed to new replies.

 * ![](https://ps.w.org/content-protector/assets/icon-256x256.png?rev=2206760)
 * [Passster - Password Protect Pages and Content](https://wordpress.org/plugins/content-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/content-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-protector/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [K. Tough](https://wordpress.org/support/users/kjvtough/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/nested-short-codes/#post-6058293)
 * Status: not resolved