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:797line 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?
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login