nono5551212
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Header Tag – Add CSS linkThanks for the reply.
Open header.php
In between your <head> </head> tags add your code<script type="text/javascript" src="path/mootools-release-1.11.js"></script> <script type="text/javascript" src="path/rokbox.js"></script> <link href="path/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="path/rokbox-config.js"></script>
I was trying to get Rokbox to work. It’s like lightbox and thickbox but a little better… see a demo here https://www.rocketwerx.com/products/rokbox/demo … maybe someone else will have better luck than me.
Forum: Fixing WordPress
In reply to: pages and categories.Not sure how to pull that off…. But I’m looking to do the same exact thing…. When I figure it out I’ll update this post.
THIS MIGHT HELP IN THE MEANTIME
Have your categories display instead of pages.Simply edit your header.php (or where ever your wp_list_pages tag resides)
Look For (header.php):
<ul> <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?> </ul>
Replace With:
<ul> <?php wp_list_categories('depth=1exclude=300,700&title_li='); ?> </ul>
This will list your Categories in the navigation section of your theme.
If you wanted Categories & Pages to list:
<ul> <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?> <?php wp_list_categories('depth=1exclude=300,700&title_li='); ?> </ul>
Hope this helps!
[sig moderated]Forum: Fixing WordPress
In reply to: Pages into categories?Not sure how to relocate the pages somewhere else.
But to have Categories display where your Pages do in your navigation.
Simply edit your header.php (or where ever your wp_list_pages tag resides)Look For (header.php):
<ul> <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?> </ul>
Replace With:
<ul> <?php wp_list_categories('depth=1exclude=300,700&title_li='); ?> </ul>
This will list your Categories in the navigation section of your theme.
If you wanted Categories & Pages to list:
<ul> <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?> <?php wp_list_categories('depth=1exclude=300,700&title_li='); ?> </ul>
Hope this helps!
[sig moderated]Forum: Fixing WordPress
In reply to: Search Box – Adjust Width & Add ImageI Figured both of these out.
1) Adjusting the size of the text field can be controlled through you Style Sheet (CSS)
.textfield { width: 160px; font-family: arial, verdana, sans serif; font-size: 11pt; font-weight: bold; color: #000000; padding: 3px; background: #E7E9E4; border: 1px Solid #ffffff; }
2) Using an image as a submit button. Include your searchform.php file to your header.php file like so
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
Then add this code to your searchform.php
<form action="<?php bloginfo('home'); ?>/" method="post" id="srch-frm"> <div class="search"> <input type="image" value="Search" src="https://www.fusehouse.com/press.2.7/wp-content/themes/Fun.Theme/images/search.png" /> <input type="text" value="" class="textfield" name="s" id="s" /> </div> </form>