Jump to content
TourKick (Clifford P)

Force Page Layout Type Within A Custom Section Or In Functions.php For A Cpt

Recommended Posts

TourKick (Clifford P)

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.

Share this post


Link to post
Share on other sites
Rob

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 http://www.pagelines.com/pros


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
TourKick (Clifford P)

Simon or anyone else able to reply? Maybe point me to a developer documentation or video or just add some code here? Thank you.

Share this post


Link to post
Share on other sites
TourKick (Clifford P)

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?

Share this post


Link to post
Share on other sites
catrina

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.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

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


×