Title: Plugin still show restricted posts
Last modified: August 22, 2016

---

# Plugin still show restricted posts

 *  [MariusNV](https://wordpress.org/support/users/mariusnv/)
 * (@mariusnv)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-still-show-restricted-posts/)
 * I am working on a WordPress website running [Knowledge Press Theme](http://pressapps.co/portfolio/knowledgepress/)
   that use the [Knowledge Base template](http://demo3.pressapps.co/knowledgepress/knowledge-base-3/)
   for the front page. There is nothing wrong with the ones previously mentioned
   but I want to describe in details the issue that I am having. The problem is 
   regarding the s2Member plugin which is not hiding the restricted posts on the
   homepage. They are still shown there even for not logged in users and when are
   clicked by them the following parameters are appended to the url:
 *  `_s2member_vars=post..level..0..post..1826..L2Nzcy1zZWxlY3QtY2xhc3MtZW5kaW5nLXBhdHRlcm4v&
   _s2member_sig=1415608512-4e3f55093a5916a01cd9d53e3478057f`
 * I’ve specified in the plugin settings on the access restrictions section the 
   correct ids of the posts that I want to be hidden from not logged in users. This
   being said I believe that the issue is somewhere in the [page template code](http://fiveofhearts.eu/nicePrint.php)
   which is still iterate through the restricted posts. There are no custom fields
   for the page regarding s2members plugin so I am really out of ideas how to fix
   this problem so any guidance or help is more than welcomed.
 * [https://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

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

 *  [KTS915](https://wordpress.org/support/users/kts915/)
 * (@kts915)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-still-show-restricted-posts/#post-5466338)
 * You can’t have restricted posts on the home page, because the home page itself
   cannot be restricted.
 * What you could do is use shortcodes on the home page to restrict certain content
   to logged-in users only.
 *  [krumch](https://wordpress.org/support/users/krumch/)
 * (@krumch)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-still-show-restricted-posts/#post-5466346)
 * Possible can load restricted page in a <iframe>, and this iframe to be shown 
   to allowed users only?

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

The topic ‘Plugin still show restricted posts’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [krumch](https://wordpress.org/support/users/krumch/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-still-show-restricted-posts/#post-5466346)
 * Status: not resolved