Creating a Page
-
So basically, I’d like to create a “sub directory” for my blogs.
On buddypress you get the default http://www.yoursite.com/blogs directory for all your blogs.
However, I just want to create another page where I’ll categorize a few of the blogs manually.
My problem is I need to know where to save my php file, and how to link to it?
Here’s how I would like to have the stuff laid out:
On mysite.com/blogs, in the side bar have a button that links to mysite.com/subblogs
On mysite.com/subblogs (the .php file I created) the code looks like this :
<?php get_header() ?>
<div id="content">
RED BLOG LINK
BLUE BLOG LINK
GREEN BLOG LINK
ETC LINKS
</div>
<div id="sidebar" class="directory-sidebar">
SIDE STUFF
</div>
<?php get_footer() ?>So where to I put this php file, and how do I get it set up so that the link for it is : mysite.com/subblogs
Thank you
- The topic ‘Creating a Page’ is closed to new replies.