Title: erredeco's Replies | WordPress.org

---

# erredeco

  [  ](https://wordpress.org/support/users/erredeco/)

 *   [Profile](https://wordpress.org/support/users/erredeco/)
 *   [Topics Started](https://wordpress.org/support/users/erredeco/topics/)
 *   [Replies Created](https://wordpress.org/support/users/erredeco/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/erredeco/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/erredeco/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/erredeco/engagements/)
 *   [Favorites](https://wordpress.org/support/users/erredeco/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pie Register – User Registration, Profiles & Content Restriction] Restricted page content block with shortcode to Pie Register form](https://wordpress.org/support/topic/restricted-page-content-block-with-shortcode-to-pie-register-form/)
 *  Thread Starter [erredeco](https://wordpress.org/support/users/erredeco/)
 * (@erredeco)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/restricted-page-content-block-with-shortcode-to-pie-register-form/#post-16794897)
 * I can confirm the patch you provided me for the redirect case is working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pie Register – User Registration, Profiles & Content Restriction] Fatal error on redirect](https://wordpress.org/support/topic/fatal-error-on-redirect/)
 *  Thread Starter [erredeco](https://wordpress.org/support/users/erredeco/)
 * (@erredeco)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-on-redirect/#post-16794875)
 * The problem is in file pie_register.php, line 1659
   `if ( !empty($redirect_page)&&(
   $update['after_login'] == '-2' ) && !is_user_logged_in() && !is_home() && !is_front_page()&&!
   is_shop())`if WooCommerce is not present, the function is_shop() cannot be verified.
   After contacting the support, the line should be replaced with: _`if ( !empty(
   $redirect\_page) && ( $update['after\_login'] == '-2' ) && !is\_user\_logged\
   _in() && !is\_home() && !is\_front\_page() && ( function\_exists( 'is\_shop' )&&!
   is\_shop() ) )`_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pie Register – User Registration, Profiles & Content Restriction] Restricted page content block with shortcode to Pie Register form](https://wordpress.org/support/topic/restricted-page-content-block-with-shortcode-to-pie-register-form/)
 *  Thread Starter [erredeco](https://wordpress.org/support/users/erredeco/)
 * (@erredeco)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/restricted-page-content-block-with-shortcode-to-pie-register-form/#post-16793489)
 * The redirect method has its own flaws: see [https://wordpress.org/support/topic/fatal-error-on-redirect/](https://wordpress.org/support/topic/fatal-error-on-redirect/)
   
   I asked if there is a list of the accepted shortcodes or if there is a way to
   use HTML code inside the field.thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pie Register – User Registration, Profiles & Content Restriction] Restricted page content block with shortcode to Pie Register form](https://wordpress.org/support/topic/restricted-page-content-block-with-shortcode-to-pie-register-form/)
 *  Thread Starter [erredeco](https://wordpress.org/support/users/erredeco/)
 * (@erredeco)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/restricted-page-content-block-with-shortcode-to-pie-register-form/#post-16785081)
 * Thank you for your answer. 
   On the page I provided I changed the shortcode within
   the field “Block Content” with`[pie_register_login]`And it works pretty well.
   And actually I think it’s the correct one to be used.The non-working shortcode
   was`[pie_register_form id="1" title="true" description="true" ]Which leads to
   the message ** “Incorrect shortcode used.”**So… the real question is: which shortcodes
   are allowed within that field?Further question: is it possible to use html code
   within the field? How?Thank you for your answer and best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pie Register – User Registration, Profiles & Content Restriction] Redirect from restricted page not working](https://wordpress.org/support/topic/redirect-from-restricted-page-not-working/)
 *  Thread Starter [erredeco](https://wordpress.org/support/users/erredeco/)
 * (@erredeco)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/redirect-from-restricted-page-not-working/#post-16785077)
 * Please close this issue as duplicate of [https://wordpress.org/support/topic/fatal-error-on-redirect/](https://wordpress.org/support/topic/fatal-error-on-redirect/)

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