empirikal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Tabs in PagesI didn’t know that information existed, could have made my life easier.. LOL
Forum: Fixing WordPress
In reply to: Tabs in Pagesor I could have read techgnomes post. LOL
Forum: Fixing WordPress
In reply to: Tabs in PagesOK, So I’m gonna do a basic run down of what I just did, you will most likely have to customize this on your own, and I dont take any responsibility should you blow up your computer or something.
I first located the function in the “wp-includes” folder in the file “template-functions-post.php”
On line #324 in the above file I simply changed
echo '<li id="pagenav">' . $r['title_li'] . '<ul>';to this
echo '<ul>';On line #355 I removed the following
</li>Then this is basically your turn to style it however you want, but I simply copied
<?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>
from the sidebar.php in your theme folder and changed it to<?php wp_list_pages(); ?>I dropped that into my header.php wrapped in a div with an ID and styled it in my styles.css.
Works great. Hope this helps.
//edit, looking back over, you could probably just get away with just removing this from line #324
. $r['title_li'] . 'and style the id’s that are already there.. but whatever works for you.Forum: Fixing WordPress
In reply to: Tabs in PagesI just need to find where the “wp_list_pages” function is originally created and edit that slightly… then just add some custom css to a div like I’ve already done on my previous post and violá.
Forum: Fixing WordPress
In reply to: Tabs in Pagesmaybe If I get bored enough, Ill try making a plugin/hack for this… shouldn’t take too long… just need to dig through this stuff.
Forum: Fixing WordPress
In reply to: Tabs in PagesI’m also looking for something similar, I made the pages and manually went in and wrote the html for http://www.zenwindows.com
But If I rename the pages, or make new pages, I have to go back in manually and update them.
Any ideas?