Hide a div to subscribers(user role) in one page (is_page)
<p>Hello have been looking at this for quite a while and cant seem to resolve it was hoping someone more familiar with the wordpress core and php could share some idea.</p>

<p>What I want to accomplish essentially is to Hide a div that permits buddypress users (the subscrivers) from adding new topics to a group forum. But I dont want this to be hidden from all the forums just 1 of them. So I need 2 pieces 1 that determines whether someone is a subscriber or an admin. so its only hidden to the subscriber. and 2 that it hides it from only 1 page.</p>

<p>Example of potential code just need to fit it together (all code would go in the functions.php unless there is another way)</p>

<pre><code>&lt;?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?&gt;
have info link or whatever in here
&lt;?php } ?&gt; 
</code></pre>

<p>Thats for the frontpage but similarly you can get the page by ID </p>

<p>For role I saw this </p>

<pre><code>is_admin()
</code></pre>

<p>I would assume there is a </p>

<pre><code>is_subscriber()
</code></pre>

<p>and from there you can do an if in the php something like
  if is_subscriber() and is_page( 42 )
call .js file and from there add a class that hides the div I want to hide by jquery</p>

<p>Thats as far as I got from what I know and looking around. I would greatly appreciate any and all assistance.</p>
