Hay, I need help setting the default column type used in page-columnist. It reverts to WordPress – Next Page (default), however i need it Ordinary Plain Page.
I look through the code and on line 456 we have an array of ‘page_transitions’. the first item in the array is set to
'default'=> true
but changing the second item to ‘default’=>true doesn’t seem to do anything.
Any ideas?
Quick solution, seems that the “default” option doesn’t do anything.
In your templates ‘function.php’ file add this code,
Then in your themes js/ folder, add a file called “page_Column_Change_Default.js” and it’s content should be
Basically the first snippet gets the current URL and compares it the “add post” URL (post-new.php?post_type=page). This determines if we’re on the “new post” page. If we are, it gets a javascript file and displays it in the proper place.
The second snippet (the javascript file), using jquery to deselect the first radio button, and select the second one.