Dont use the text widget. Use the pages widget in sidebar. that will solve your issue. I think issue is very minor..or you can copy paste the following code in sidebar.php file:
<ul>
<?php wp_list_pages('sort_column=menu_order&title_li=<h2>' . __('Prose') . '</h2>' ); ?>
</ul>
[email address removed]
Thread Starter
JD
(@jennyintagliocreative)
Okay, I found the answer in doing some research. But I’m going to put the answer here incase anyone like me enters this forum and needs help.
I found the answer in this article: http://www.nathanrice.net/blog/wordpress-2-8-and-the-body_class-function/
Basically there is a line of php code that should exist inside the header.php file inside the body tag that looks like this:
<body <?php body_class(); ?>>
If it’s not in the theme you are using, replace the normal body tag with the one above. When a page is loaded, the source code could look something like this:
<body class=”page page-id-3 parent-page-id-0 page-template-default”>
This creates styling hooks that can be used in the css to allow for custom css on each page. If you need to create a different “current” state for each page, the css code could look something like this:
body.page-id-124 #main-nav ul li#about a {}
As you can see, the style is for the main navigation menu located inside a list and inside each list is an id. This styling is for the “About” page/about menu list item.
I hope this helps.
Thread Starter
JD
(@jennyintagliocreative)
For much more detail on the body_class() function please see the link below…VERY helpful:
http://www.nathanrice.net/blog/wordpress-2-8-and-the-body_class-function/