2013-04-13, 09:08:01
Hi, how do I find a page is private or not? what template tags i should use?
Thanks..
Thanks..
check a page is private or not?
|
2013-04-13, 09:08:01
Hi, how do I find a page is private or not? what template tags i should use?
Thanks..
2013-04-14, 08:23:37
I had replied to this, but my post disappeared. :-?
2013-04-14, 08:29:00
Me too dumbass site move bullshit
2013-04-14, 16:24:53
@whiteh0rs3
A possible way to check if the current page is private or not: PHP Code: <?php if (getPageField(get_page_slug(0),'private') == 'Y'): ?>
2013-04-15, 13:47:48
thanks Carlos..
I tried before in any other way (alternative), make use of plugins "GS_Shortcode" PageField. PHP Code: <?php if (do_shortcode('[pagefield field="private" /]') == 'Y') { ?>
2013-04-15, 13:56:15
|
« Next Oldest | Next Newest »
|