Force full-width layout with Genesis and CPTs
I needed to force a full-width-layout on my single custom type page. After a bit of trial and error, I ended up with this code:
Just replace CPTNAME with your custom post type name and you’re good to go.
Great snippet, thanks!
Perfect, thanks so much!
This is great what; but I’m wondering … what if you have more then one CPT that you want to force full width??
Honestly, the easiest thing to do would be to create a second function; just change CPTNAME to match your second CPT. You could do it all in one function by creating an array and checking against it, but I don’t have time to write it up and test it right now.
Ok great I understand 😉 Thank you for the reply!