Community Forums › Forums › Archived Forums › General Discussion › Duplicate Widget
- This topic has 8 replies, 3 voices, and was last updated 12 years ago by
whiskymac.
-
AuthorPosts
-
February 3, 2014 at 9:56 am #88347
whiskymac
MemberHi,
I'm having a bit of a problem with the widgets I'm using on my website, on the homepage they seemed to have duplicated and I can't seem to find out where they are, i have checked the widgets and the css but can't seem to locate them. I can see them on Firebug but can't find them in the widgets. Anyone got any ideas as to how I get rid of the duplicated widgets?
Thanks,
John
http://www.underthechristmastree.co.ukFebruary 4, 2014 at 9:24 am #88517whiskymac
MemberHi,
Im still not getting anywhere with this, I have now tried de-activating plugins that I am using but not making any difference. Does anyone have any idea how I fix this?
Thanks,
John
February 4, 2014 at 9:27 am #88518Davinder Singh Kainth
MemberCan you specify or indicate clearly which widget(s) is appearing twice ?
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 5, 2014 at 4:44 am #88735whiskymac
MemberHi,
Thanks for replying,
On the homepage, if you scroll right down to the bottom the primary sidebar widgets are displaying on the homepage and I have no idea how to get them to not appear on the homepage.
Thanks,
John
February 5, 2014 at 7:38 am #88746Davinder Singh Kainth
MemberYou did not mention your current blog layout. However, to remove primary sidebar from the homepage, you can add following code to functions.php file.
`
/** Force full width layout */
add_filter( 'genesis_pre_get_option_site_layout', 'child_do_layout' );
function child_do_layout( $opt ) {
if ( !is_single() ) { // Modify the conditions to apply the layout to here
$opt = 'full-width-content'; // You can change this to any Genesis layout
return $opt;
}
}Refer here for more - http://wpsites.net/web-design/change-layout-genesis/ and http://genesissnippets.com/force-a-layout/
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesFebruary 5, 2014 at 10:23 pm #88906essaysnark
Participant@whiskymac, this is a complete guess but I'm wondering if you've accidentally copied the same text widget containing the links to the YouTube video and all into two separate widget areas, the Home Middle 3 area, and the Home Bottom area?
February 6, 2014 at 10:17 am #88949whiskymac
MemberHi,
Thanks for the code, I will give it a try.
essaysnark I have no idea. I have tried adding in Widget Logic to exclude them from the homepage but it still shows Primary Sidebar widget at the bottom?
Thanks,
John
February 11, 2014 at 4:24 am #89762whiskymac
MemberHi,
I'm still having this problem, does anyone have any suggestions as how to get rid of this? Could it be a plugin conflict?
Thanks,
Mandy
February 11, 2014 at 10:15 am #89836whiskymac
MemberUpdate: I have fixed this, it was a plugin conflict, thanks to everyone for their help!
Thanks again,
John
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.