Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    set parent page

    General Discussion
    2
    5
    32
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • maybach
      maybach last edited by

      Re: Parent and Child Pages

      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!

      https://yes.patrick.works

      1 Reply Last reply Reply Quote 0
      • maybach
        maybach last edited by maybach

        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.
        85428e6e-f468-4fa9-8283-337f7131bd29-image.png

        fyi @arminunruh the function call is is called in line 797 AND 808, i think only one is necessary. :)

        https://yes.patrick.works

        1 Reply Last reply Reply Quote 0
        • arminunruh
          arminunruh Global Moderator last edited by

          oh yea i disabled this

          im not sure why i disabled it :|
          maybe there is a good reason for it

          why do you need to use this feature?

          maybach 1 Reply Last reply Reply Quote 1
          • maybach
            maybach @arminunruh last edited by

            @arminunruh to have the urls properly nested to create something like /newsletter/unsubscribe and /newsletter/archive etc. :)

            https://yes.patrick.works

            1 Reply Last reply Reply Quote 0
            • arminunruh
              arminunruh Global Moderator last edited by

              ok i will remove that line of code for the next update

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Post a link to where the problem is if possible, please <3
              I don't answer or check forum DMs, please just post on the forum.
              Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

              Before you post:

              Use the Search Feature. Maybe there is already a solution to your issue.

              1. Update Lay Theme and all Lay Theme Addons
              2. Disable all Plugins
              3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
              4. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
              Go here, see if your problem is listed here:
              Troubleshooting

              When you post:
              1. Post a link to where the problem is
              2. If the problem is difficult to explain, post screenshots / link to a video to explain it

              Thanks!

              Online Users

              Recent Topics

              • Search as icon instead of text?

              • FILTER Categories showing all projects

              • H

                Vimeo embed with autoplay and loop is really slow...help!

              • A

                website not loading on iphone safari

              laytheme.com