Jump to content
Sign in to follow this  
agileapricot

Unable to add drag and drop sections to sidebar groups

Recommended Posts

agileapricot

I've put this in my functions.php of my child theme ...

function base_sections(){
		// Homepage sidebars
		pagelines_register_section('HomePrimarySidebar', 'sidebars', 'home_sb_primary', array('child' => true) );
	}
	
I have this file inside the folder /mychildtheme/sections/sidebars/ http://dl.dropbox.com/u/497583/code/section.home_sb_primary.php I've been able to register other sections just fine. There is something about...
	'workswith' 	=> array('sidebar1', 'sidebar2', 'sidebar_wrap'),
	

That is not working.

Share this post


Link to post
Share on other sites
agileapricot

Fixed. Need this

		/* Draw section using the section API */
			$settings = wp_parse_args( $registered_settings, $default_settings );
		   	parent:GDN__construct($name, $id, $settings);  

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×