Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-10T22:14:32-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16277 2011-12-10T22:14:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16277&p=56258#p56258 <![CDATA[Re: restriction options]]>
Thanks for your feedback and comments :)

Statistics: Posted by trc4949 — December 10th, 2011, 10:14 pm


]]>
2011-12-10T20:31:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16277&p=56254#p56254 <![CDATA[Re: restriction options]]>

About the prev/next links you mentioned, did you mean they show, or when you click those links you could actually go to the restricted pages although you were logged out? Just making sure.

Statistics: Posted by Cristián Lávaque — December 10th, 2011, 8:31 pm


]]>
2011-12-09T20:03:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16277&p=56169#p56169 <![CDATA[Re: restriction options]]>
http://codex.wordpress.org/Function_Reference/get_posts

Code:
<ul>
<?php
global $post;
$args = array( 'numberposts' => 5, 'offset'=> 1, 'tag_id' => 7 );
$myposts = get_posts( $args );
foreach( $myposts as $post ) :   setup_postdata($post); ?>
   <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>


so i just put 3 sections in the left sidebar which correspond to the three different types of TAGs of postings

so all the postings (or most recent 10 postings) show up on the left sidebar and depending on who is signed in and at what level, some postings will show when clicked on and then others will revert to the membership options page.

I can't believe I figured out how to hack the blog with PHP. The most I know is html. wow.

Statistics: Posted by trc4949 — December 9th, 2011, 8:03 pm


]]>
2011-12-09T11:28:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16277&p=56161#p56161 <![CDATA[restriction options]]>
I have 5 total postings. 3 of them have the 'free' tag. 1 of them has the 'members' tag and one has a general tag of 'cup and handle patterns'

Tags with 'free' are viewable by level 0 users and tags with 'members' are viewable by level 1 users.

I have all 4 check boxes checked in the "protect alternative views" restriction options section..

The problem is on the left sidebar of the home page

http://www.cupwithhandlepattern.com/

I have a section widget of 'Recent cup and handle posts'..... and so only one of the postings shows up in this list when no users are logged in at all.

But I would like all the 'recent cup and handle posts' to display regardless of who is signed in or if no one is signed in.

When I uncheck 'nav menus' in the protect alternate views section, then all the 'recent up and handle posts' do display in the widget on the left sidebar, but then all the postings are accessible to anyone through the 'previous posts' and 'next posts' nav menu at the bottom of posts on the home page...

so in summary:

thoughts on how to show all menu items at all times? but if not signed into appropriate member level just revert to the member options page

Statistics: Posted by trc4949 — December 9th, 2011, 11:28 am


]]>