Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help with PHP Please - Wordpress Style modification.

  • 31-03-2008 9:15am
    #1
    Moderators, Motoring & Transport Moderators, Music Moderators Posts: 12,781 Mod ✭✭✭✭


    Hey Guys, I'm stuck here and would really appreciate some help please:

    I've just started this blog. I want to modify the theme slightly.

    You'll see the sidebar on the right is split into two, a grey box and a black box. What I'd like is to merge them into one, i.e. move the menu items from the black box, (Links, archives, Meta) down underneath the grey box items (Categories and Recent Comments) and then get rid of the black box bit all together, and widen the space for the posts on the left.
    Also the text from the Links, Archive and Meta should match the same style as the Categories and Comments.


    Here is the code from the sidebar.php
    <div class="SR"><div class="SRL">
    
    <div class="Search">
    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
    <input type="text" name="s" class="keyword" />
    <div id="buttonsearch"><input name="submit" type="image" class="search" title="Search" src="<?php bloginfo('template_url'); ?>/images/ButtonTransparent.png" alt="Search" />
    </div>
    </form>
    </div>
    
    <center>
    <a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/feed.png" alt="RSS Feed" /></a> 
    
    </center>
    
    <!-- Start Flickr Photostream -->
    <?php if (function_exists('get_flickrrss')) { ?>
    <div class="Flickr">
      <h2>PhotoStream</h2>
      <ul>
       <?php get_flickrrss(); ?> 
      </ul>
    </div>
    <?php } ?>
    <!-- End Flickr Photostream -->
    
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar_left') ) : else : ?>
    
    <div class="widget widget_categories">
    <h2>Categories</h2>
     <ul>
      <?php wp_list_cats(); ?>
     </ul>
    </div>
        
    <!-- Start Recent Comments -->
    <?php if (function_exists('mdv_recent_comments')) { ?>
    <div class="widget widget_recent_entries">
    <h2>Recent Comments</h2>
     <ul>
      <?php mdv_recent_comments('10'); ?>
     </ul>
    </div>
    <?php } ?>
    <!-- End Recent Comments -->
    
    <?php endif; ?>
    </div><div class="SRR">
    
    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar_right') ) : else : ?>
    
    <div class="widget widget_links">
    <h2>Links</h2>
     <ul><?php get_links('-1', '<li>', '</li>', '', FALSE, 'id', FALSE, 
    FALSE, -1, FALSE); ?>
    </ul>
    </div>
    
    <div class="widget widget_archives">
    <h2>Archives</h2>
    <ul>
    <?php wp_get_archives('type=monthly'); ?>
    </ul>
    </div>
                    
    <div class="widget widget_meta">
    <h2>Meta</h2>
    <ul>
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <?php wp_meta(); ?>
    </ul>
    </div>
      
    
    <?php endif; ?>
    </div></div>
    
    
    Can anyone please help me?
    Thanks in Advance!


Advertisement