Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter nono5551212

    (@nono5551212)

    Thanks 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.

    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]

    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]

    Thread Starter nono5551212

    (@nono5551212)

    I 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>
Viewing 4 replies - 1 through 4 (of 4 total)