Title: [Content_control logged_out]
Last modified: September 30, 2019

---

# [Content_control logged_out]

 *  Resolved [mb299](https://wordpress.org/support/users/mb299/)
 * (@mb299)
 * [7 years ago](https://wordpress.org/support/topic/content_control-logged_out/)
 * Hi [@danieliser](https://wordpress.org/support/users/danieliser/),
    I am using
   the below shortcode {content_control logged_out] along with another defined shortcode[
   url]
 * [content_control logged_out][url href=”[https://www.thetrainernetwork.in/login”%5DClick](https://www.thetrainernetwork.in/login”%5DClick)
   here to login[/url]
 * [content_control logged_out] shortcode is not working as the [url] shortcode 
   is displaying the intended message(hyperlink) “Click here to login” – for Logged
   in users as well. Can you please help me with this?
 * The other shortcodes [content_control] [/content_control] and [content_control
   message =” “] are working perfect with my latest WordPress version.
 * Awaiting an early resolution please.
    thanks / Manish
    -  This topic was modified 7 years ago by [mb299](https://wordpress.org/support/users/mb299/).

Viewing 1 replies (of 1 total)

 *  [Jungle Plugins (Deprecated)](https://wordpress.org/support/users/jungleplugins/)
 * (@jungleplugins)
 * [7 years ago](https://wordpress.org/support/topic/content_control-logged_out/#post-12019430)
 * [@mb299](https://wordpress.org/support/users/mb299/) – It could be that the [
   url] shortcode is not returning a value, but rather rendering it directly. Shortcodes
   should never render/echo content, they should return it as a string which can
   then be rendered or passed on.
 * In this case if they echo while we are processing if it should be shown or not,
   then we can’t prevent it from rendering.
 * So you may need to check how that shortcode was set up, or with the author of
   that shortcode to see how to correct it.
 * Hope that helps.

Viewing 1 replies (of 1 total)

 The topic ‘[Content_control logged_out]’ is closed to new replies.

 * ![](https://ps.w.org/content-control/assets/icon-256x256.gif?rev=2968535)
 * [Content Control - The Ultimate Content Restriction Solution! Restrict Content, Create Conditional Blocks & More](https://wordpress.org/plugins/content-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-control/)
 * [Active Topics](https://wordpress.org/support/plugin/content-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-control/reviews/)

## Tags

 * [logged out](https://wordpress.org/support/topic-tag/logged-out/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jungle Plugins (Deprecated)](https://wordpress.org/support/users/jungleplugins/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/content_control-logged_out/#post-12019430)
 * Status: resolved