Support

2Colors Theme (10 posts)

Languages

de | fr | es | 日本語

About This Topic

Tags

  1. rss nicci

    junior member


    rss Posted 3 years ago
    #

    Seven sidebars came with the theme. I have only been able to widgetized
    sidebar #1. The second sidebar shows the hardcoded widget type information
    (i.e. Your twitter entry,) which is fine. I don't want to make changes
    there. How can I access the other sidebars,3-7?

    Is there a way to remove the Flickr comment on the theme. I use NexTGen to display my own thumbnails.

    There seems to be a problem with the Calendar. Just the name of the Month
    and day appear.

    I use Gravatar a lot on my posts (especially since I'm a LJ poster.) Is it
    possible to use the Gravatar in place of the article/lead image?

    I resolved my Category archive page. My website is here: www.niciasus.com

    Thanks,

    Nicci

  2. rss milo

    moderator


    rss Posted 3 years ago
    #

    Detailed help file appears tomorrow here.

  3. rss milo

    moderator


    rss Posted 3 years ago
    #

    Calendar:
    find this lines

    #wp-calendar{text-align:center;margin:0;width:95%;}
    #wp-calendar td{line-height:10px;font-size:10px;color:#fff;}
    #wp-calendar td a{display:block;color:#fff;text-decoration:none;line-height:10px;border:1px solid #fff;}
    #wp-calendar #prev a{width:30px;}
    #wp-calendar #next a{width:30px;margin:0 0 0 30px;}
    #wp-calendar #today{background:transparent;color:#999;}
    #wp-calendar #today a{color:#fff;font-weight:700;border:1px solid #ccc;}
    #wp-calendar caption{text-align:center;width:100%;margin:0 0 5px 0;text-transform:lowercase;}

    and change to this

    #wp-calendar{text-align:center;margin:0;width:95%;}
    #wp-calendar td{line-height:10px;font-size:10px;color:#333;}
    #wp-calendar td a{display:block;color:#000;text-decoration:none;line-height:10px;border:1px solid #ccc;}
    #wp-calendar #prev a{width:30px;}
    #wp-calendar #next a{width:30px;margin:0 0 0 30px;}
    #wp-calendar #today{background:transparent;color:#999;}
    #wp-calendar #today a{color:#000;font-weight:700;border:1px solid #ccc;}
    #wp-calendar caption{text-align:center;width:100%;margin:0 0 5px 0;text-transform:lowercase;}

    Flickr:
    open /inc/feature.php and find this line:

    <div class="ff">
    <h2>flick<span>r</span></h2>
    <div class="fff">
    <?php get_flickrRSS(6); ?>
    </div></div>

    either delete it or replace

    <?php get_flickrRSS(6); ?>

    with the nextgen php code.

    Widgets:
    Open functions file, search this lines:

    register_sidebars(7, array(

    replace with this

    register_sidebars(2, array(

    and this

    'before_title' => '<h3>',
    'after_title' => '</h3>
    and replace with this:

    with this

    'before_title' => '<h2>',
    'after_title' => '</h2>

    Widget should work properly then, as all sidebars have its own parameter.

  4. rss nicci

    junior member


    rss Posted 3 years ago
    #

    Hi Milo,

    The full Calendar came up beautifully.

    I'm having additional problems. The change in sidebar realized to two sidebars instead of seven. On sidebar two, I new get this error when I added the Recent Comment widget:

    Recent Comments

    Fatal error: Call to undefined function mw_recent_comments() in /home/.grizabell/whimsycat/niciasus.com/wp-content/themes/2colours/functions.php on line 679

    With WP PagNav I get:

    Fatal error: Cannot redeclare wp_pagenavi() (previously declared in /home/.grizabell/whimsycat/niciasus.com/wp-content/themes/2colours/functions.php:24) in /home/.grizabell/whimsycat/niciasus.com/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 164

    I like the hardcoded function on sidebar 2 before the change and was hoping to have access to sidebars 3 to 7 for added functionality.

    Thanks for your help.

  5. rss nicci

    junior member


    rss Posted 3 years ago
    #

    Uploading "Get Recent Comments" plugin seemed to have eliminated the error condition. However, I'm not using the widget from the plugin because I like the styling of the hardcode. Therefore, I won't be able to use sidebar2.

  6. rss milo

    moderator


    rss Posted 3 years ago
    #

    Page navi is built into theme, no need for an additional plugin.

    How to enable only certain parts in sidebars to be widgetized:

    Open sidebar.php (at /wp-content/themes/2colours/inc),
    find this lines for leftsidebar:

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
    <?php endif; ?>

    and place it wherever you want in the leftsidebar code (!impo)

    Find this lines for rightsidebar:

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>
    <?php endif; ?>

    and place it wherever you want in the rightsidebar code (!impo)

    The above codes are the widgetized areas, it's important to stay within the sidebar tags

  7. rss nicci

    junior member


    rss Posted 3 years ago
    #

    This looks a little more complicated but I'm willing to give it whirl.

    Thanks for your help, Milo!

  8. rss milo

    moderator


    rss Posted 3 years ago
    #

    Send sidebar files with specific places for your widgets to milo317[at]googlemail[dot]com, then I will code it.

  9. rss nicci

    junior member


    rss Posted 3 years ago
    #

    What changes are needed to utilize the threaded comment feature WP 2.7 offers. Is it possible to assign a specific category to one of the menu items on the header.

    Thanks!

  10. rss milo

    moderator


    rss Posted 3 years ago
    #

    Threaded comments plugin for now, update of theme in Jan 09 with threaded comments.

    Updated sidebar template in post per mail today, check your mail account.

    Menu via cat: open navigation.php in /2colors/inc/ folder,
    check this lines:
    <?php $my_query = new WP_Query('showposts=6&cat='); ?>
    and add "cat=" your cat ID's by the cat ID number.

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.