Hi jrothra,
that code works also with latest Customizr version, have you had any problems with that?
I actually hadn’t tried it yet after reading the cautionary notice. The site isn’t up and won’t go live until closer to the book’s release, so there’s nothing to show anyone. I’ll give the code snippets a test later this weekend.
Correction to above: “which is now version 4+” should be “which is now version 3.3+” instead.
Okay, I thought I followed the instructions. I inserted the code as specified into the child theme’s functions.php file, changing only the following to reflect the pages that should be the “sections”:
'ids' => array( 28 , 32 , 36 , 34 ) ,
When I refresh, all I see is the default Customizr look: slide show, three featured pages (not setup via the customize section of WP), and list of posts (only the “Hello World” one) beneath. The sections do not work.
I’m using Customizr 3.3.1 on WP 4.1.1.
There is no live site (not going live until closer to book’s release — the site is to promote the book), so a link would serve no purpose.
Screen shot image: https://drive.google.com/file/d/0B4mnNZ1F-EDseVV4RVhXbDk2Tk0/view?usp=sharing
Update
I just discovered that when I try to view a single page that I created, e.g., “About the Author,” nothing shows. Here’s the screenshot of the About the Author page (all pages show the exact same look): https://drive.google.com/file/d/0B4mnNZ1F-EDsUWpqS0EtRTNkWXM/view?usp=sharing
I suspect it’s one of three issues:
1. Something in the settings of the Appearance > Customize section of WordPress (should I restore the default settings? If so, is there an easy way?)
2. I’m using the free Customizr, not the Pro version (is this design only available to Pro users?)
3. I’ve done something wrong with the code in the functions.php file. Here’s the entire contents of that file (BTW, only the code to make the one-page look is there): http://pastebin.com/bRHvqey4
Update
I removed all content from the child theme’s functions.php file and tried to view the page referenced above. With the code removed, the page content appeared: https://drive.google.com/file/d/0B4mnNZ1F-EDsVFRBSnVocXN3S2c/view?usp=sharing
This seems to indicate something is wrong with the code (which I can’t find) or there is a conflict with the customizing options in Appearance > Customize.
Moving this to a new thread since my questions are not really related to the original post. This thread’s OP question is resolved.
New thread: https://wordpress.org/support/topic/section-based-single-landing-page-code-not-working-for-me