Is there a hook or something I can put in a custom section that forces a full-width page layout (i.e. no right or left sidebars) if the site default layout has a sidebar area?
Or maybe just something to put in functions.php that says "if CPT type = 'myowncpt', force full-width page layout" ?
Thank you.
Force Page Layout Type Within A Custom Section Or In Functions.php For A Cpt
Started by
Clifford P
, Oct 21 2012 09:49 AM
5 replies to this topic
#1
Posted 21 October 2012 - 09:49 AM
#2
Posted 21 October 2012 - 03:53 PM
Unfortunately, this question speaks to a coding customization that requires the assistance of a professional web developer, experienced with PageLines and WordPress.
As much as I'm eager to assist, most of us are not trained coders, and thus we provide a group of developer pros at
As much as I'm eager to assist, most of us are not trained coders, and thus we provide a group of developer pros at
#3
Posted 21 October 2012 - 04:46 PM
Simon or anyone else able to reply? Maybe point me to a developer documentation or video or just add some code here? Thank you.
#4
Posted 30 October 2012 - 04:24 PM
Not sure if this will help but it's a start:
#5
Posted 30 October 2012 - 04:26 PM
Not sure how that helps since it's not PageLines-specific. Are there some PageLines hooks to tie into -- one or more hooks / examples to point me to?
#6
Posted 30 October 2012 - 04:43 PM
A hook wouldn't be useful in this case (a hook is for adding content to certain parts of a layout). The adjustment would need to be done with another customization in the code.










