Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12174

    Hi there,

    I am using Display Theme and wondering whether I can add a “4th column widget” under the already exist Column 1, 2 and 3 widget on home page? I wish to add something similar to the Welcome Message (but a widget) underneath the rotating image with full width. The idea is to place a marquee widget that will have text scroll from right to left (on homepage).

    Thanks and looking forward for your help.

    Site: http://www.enzm.co.nz

    #74587

    Hi,

    In order to do add another widget, you’ll have to edit the template files. Note doing so will mean that if/when future updates are released you’ll loose this particular customization unless you may backups.

    To start, open widgets.php. Copy/paste the code below on line 29:

    if ( function_exists('register_sidebar') )
    register_sidebar(array(
    'name' => 'Homepage Fourth Column',
    'before_widget' => '<div id="%1$s" class="box_mini box widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h4 class="widgettitle">',
    'after_title' => '</h4>',
    ));

    Next go to index.php and paste this

    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar('Homepage Fourth Column') ) : ?>
    <?php endif; ?>

    below <div id="main"> on line 28.

    Hope this helps!

    Regards,

    Mya

    #74588

    Thanks Mya…didnt really rectified my problem but it gave me a hint on where to look/make changes etc …have also made adjustment to the css file so…Thanks heaps and well done!!…

    Regards

    #74589

    Well at least it was good for something. :) Let us know if you have other questions.

    Regards,

    Mya

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Mainpage Columns 4?’ is closed to new replies.