If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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.
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') )
'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; ?>
<div id="main"> on line 28.
Hope this helps!
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!!…
The topic ‘Mainpage Columns 4?’ is closed to new replies.