set parent page
-
Hej,
there should be a native functionality within wordpress to set parent pages for normal pages. But it looks like laytheme deactivated these settings. How can i use/set parent pages? I know, i can achieve something similar with setting the slug, but thats not the same.
Thanks!
-
Just figured out, laytheme is really removing this feature in the
setup/setup.php:797
line 797 AND 808:remove_post_type_support( 'post', 'page-attributes' );
commenting this function call out shows the select for the parent page again.
fyi @arminunruh the function call is is called in line 797 AND 808, i think only one is necessary. :)
-
oh yea i disabled this
im not sure why i disabled it :|
maybe there is a good reason for itwhy do you need to use this feature?
-
@arminunruh to have the urls properly nested to create something like /newsletter/unsubscribe and /newsletter/archive etc. :)
-
ok i will remove that line of code for the next update
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it