Static “like” pages
-
Question to clarify including/excluding categories.
I was reading This Post regarding including/excluding categories from being seen. I was wondering if any other users may be using this method to make a static like templated pages OR is there a better way?
Example on my page I have a section called “bio” this information will pretty much remain the same. So what I did was copy my index.php template save it as bio.php and add the following
?php /* Don’t remove these lines, they call the b2 function files ! */
$blog = 1;
$cat=”3″;
require_once(‘blog.header.php’);
and in my index.php file i excluded the bio cat 3 with $cat=”-3″; and added a link to the bio.php file
I guess my question is… is this a good wp way to do this or has someone found a better way?
you can see sample here using the “bio” link Still Tweeking so Ignore post
- The topic ‘Static “like” pages’ is closed to new replies.