Support

Nature theme and theme tester and theme page (12 posts)

  1. rss nowickedwitch

    junior member


    rss Posted 3 years ago
    #

    I was trying to institute "Nature" on my blog I haven't activated it as yet. I was using theme tester to play with it.
    This happens to my admin panel in theme when I have Nature in the themes.
    http://img399.imageshack.us/my.php?image=natureiy2.jpg
    I originally thought it was the theme switcher and took the ode for that out but it is still happening and I'm not sure why - it also widens the theme tester page so it becomes unusable. Any thoughts on why this might be happening?

  2. rss nowickedwitch

    junior member


    rss Posted 3 years ago
    #

    I think i found the issue at least for now.

  3. rss nowickedwitch

    junior member


    rss Posted 3 years ago
    #

    One more thing. Can you give me a clue as to how you styled those links at the top of the page - on the main page nav bar? I added one for my links and I can't for the life of me style it with the lines like archives and topics.

  4. rss milo

    moderator


    rss Posted 3 years ago
    #

    The drop downs are dynamically built, but you can mimic the structure by wrapping the links in an ul li markup like this:

    <li class="Largenav"><h2>Links</h2>

    < ul>
    < li>< a href="http://abyss2hope.blogspot.com/" title="A rape survivor’s zigzag journey into the open"> abyss2hope< /a> A rape survivor’s zigzag journey into the open</ li>
    < li>< a href="http://www.abeautifulrevolution.com/blog/" title="Words and Art">a beautiful revolution< /a> Words and Art</ li>
    < li>< a href="http://www.afewgoodpens.com/blog">A Few Good Pens< /a></ li>
    < li>< a href="http://agirlnamedrio.blogspot.com/" title="returned">A Girl Named Rio returned</ li>
    < li>< a href="http://andrewlmoore.com/">Andrew L Moore< /a></ li>
    ...
    </ ul>

    this would be the hard coded way, dynamically building the links drop down is different, pls reply which way you need.

    Also you may edit the CSS, so your title works better:

    h1,h1 a,h1 a:hover{color:#47B895;margin:0;padding:0;float:right;font-variant:small-caps;font:25px century gothic,arial,verdana,serif;width:220px;overflow:hidden; text-align:right;background:transparent;}

    Suggestion: either increase the width by ten pixels or decrease the fontsize by 2px to 23px,
    then it should show up in one line.

  5. rss nowickedwitch

    junior member


    rss Posted 3 years ago
    #

    I was interested in how to do it dynamically. Thanks Milo.

  6. rss milo

    moderator


    rss Posted 3 years ago
    #

    Even easier:

    <li class="Largenav"><h2><?php _e('Links'); ?></h2>
    < ul><?php wp_list_bookmarks(); ?></ ul></ li>

    where you can use following arguments:

    $defaults = array(
    'orderby' => 'name',
    'order' => 'ASC',
    'limit' => -1,
    'category' => '',
    'category_name' => '',
    'hide_invisible' => 1,
    'show_updated' => 0,
    'show_description' => 1,
    'echo' => 1,
    'categorize' => 1,
    'title_li' => __('Bookmarks'),
    'title_before' => '<h2>',
    'title_after' => '</h2>',
    'category_orderby' => 'name',
    'category_order' => 'ASC',
    'class' => 'linkcat',
    'category_before' => '<li id="%id" class="%class">', 'category_after' => '</ li>'
    );

    i.e.
    <?php wp_list_bookmarks('order=5&categorize=0'); ?>

  7. rss nowickedwitch

    junior member


    rss Posted 3 years ago
    #

    Does that whole think go in the nav bar folder?
    I tried it splayed the page.

    Thanks for trying though I'm loving the thee. I'll figure something out eventually or take the links part of the navbar down.

  8. rss milo

    moderator


    rss Posted 3 years ago
    #

    Yes, right under the topics call like so:

    ...
    <li class="Largenav"><h2><?php _e('Topics'); ?></h2>
    <ul ><?php wp_list_cats('sort_column=name&hide_empty=0&optioncount=0&hierarchical=1'); ?></ ul></ li>

    <li class="Largenav"><h2><?php _e('Links'); ?></h2>
    < ul><?php wp_list_bookmarks(); ?></ ul></ li>
    </ ul>
    </ div>

    You can download the whole nav php file here → nav.php from my support folder.

    Although the markup is different in the get_bookmarks list it should work.

  9. rss nowickedwitch

    junior member


    rss Posted 3 years ago
    #

    In order to get the links to appe at all I had to change it slightly originally to
    <div id="nav">

      <?php wp_list_pages('title_li=' ); ?>

    <li class="Largenav"><h2><?php _e('Archives'); ?></h2>

    • <?php get_calendar(); ?>

    <li class="Largenav"><h2><?php _e('Recently'); ?></h2>

      <?php wp_get_archives('type=postbypost&limit=5'); ?>

    <li class="Largenav"><h2><?php _e('Topics'); ?></h2>

      <?php wp_list_cats('sort_column=name&hide_empty=0&optioncount=0&hierarchical=1'); ?>

    The links list does not work with the original code that way so I had to change it therefore probably have to change the array stuff to match it somehow.

    Thanks

    <li class="Largenav"><h2><?php _e('Links'); ?></h2>

      <?php wp_get_links(); ?>

    <li class="Largenav"><h2>"><?php _e('RSS'); ?></h2>

    </div>

  10. rss milo

    moderator


    rss Posted 3 years ago
    #

    Played with it this morning, this code works (valid CSS+html) :

    <?php wp_list_bookmarks('title_li=&categorize=0'); ?>

    works like a charm, please see screenshot.

    Nature links demo

  11. rss milo

    moderator


    rss Posted 3 years ago
    #

    One Q though: your menu jumps on frontpage about 10px low,
    while it stays perfect in singe post view (in FF2/3).
    How did that happen? Just curious, as it works fine here in all browsers.

  12. rss nowickedwitch

    junior member


    rss Posted 3 years ago
    #

    Wow, excellent thanks. I'm not sure at all about the jump. I am leaving for class but will try to figure it out later by looking at anything I might have changed.
    I really appreciate all the help. The theme is quite popular with my readers already.

    COOPER

Reply

You must log in to post.

Design by milo

Milo designs web sites that strike the perfect balance between professional high-class graphics, functionality, usability, user experience, and high performance.