Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • As an option, I would first try to manually adjust the Order from either the Edit or Quick Edit view. Make Home = 0, then increase the number which will place them in order downward.

    Next, I would change the status of the published page (possible parent and child page) to a draft and save. So you have a page with Order = 1 (or anything other than 0) and a status of draft.

    Do this for both the parent and the child page and force a refresh in your browser (ctrl+shift+r) then try and edit the page and see if the dropdown is under the page attributes.

    I have tested these on new installs and it works along with previous workarounds. This doesn’t mean every server setup or database setup is the same.

    Finally, there is the tech/dev application which has worked every time. It’s not hard, all you need to do is FTP into your directory or use File Manager in cPanel or whatever management system you have and make the following update to your CORE WordPress Code.

    (IMPORTANT: Remember to make a backup of the file before saving or you may have a mess on your hands)

    1. Go to Line 290 (or close to 290, depends on your version) in /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php.
    2. Look for: $posts_query = new WP_Query();
      $query_result = $posts_query->query( $query_args );
    3. Replace with: $posts_query = new WP_Query();
      if (isset($query_args[‘orderby’]) && is_string($query_args[‘orderby’]) && $query_args[‘orderby’] == ‘menu_order’) {
      $query_args[‘orderby’] = [‘menu_order’ => ‘ASC’, ‘ID’ => ‘ASC’];
      }
      $query_result = $posts_query->query( $query_args );
    4. Save File and refresh your pages and test

    Screenshot: https://www.screencast.com/t/SqEjkt6yiOGk

    • This reply was modified 4 years, 4 months ago by colter. Reason: Added Dev/Tech solution
    • This reply was modified 4 years, 4 months ago by colter.

    There are plenty of workarounds, don’t feel strangled.

    Workaround #1: Publish the Page, then go to Pages and Quick Edit the page and choose the parent.

    Workaround #2: Download a Page Ordering plugin like Simple Page Ordering. Enable the plugin, then publish your page, go back to pages and drag your page under the parent.

    Workaround #3: Download the Classic Editor and use the good ol fashioned, original gangster.

    Thread Starter colter

    (@colter)

    Removed – moved to its own post

    • This reply was modified 5 years, 4 months ago by colter.

    He is correct, I am having the same issue on all my Contact 7 Forms – see here – https://www.screencast.com/t/eg5Mm1M4WRZV and here https://www.screencast.com/t/zLXElCZAi

    Live Link Here: Flowtech Energy

    By the way, I already tried applying default theme and disabling all plugins and reactivating them same problem.

    CODE WITH ISSUE
    This is the code that is causing the issue, you can see it is called twice (https://www.screencast.com/t/DKdr1pFHa):

    <div style="width: 300px; height: 60px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
    				<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;">				</textarea>
    			</div>

    and

    <div style="width: 300px; height: 60px; border-style: none; bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px; background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
    				<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;">				</textarea>
    			</div>

    ANOTHER UPDATE
    I commented out the code that was making the box which is in modules/recaptcha.php, line 382, you can see here – https://www.screencast.com/t/qbWrbpMHIjS

    REMAINING ISSUE
    The submit button is forced to the left side of the page and is no longer under the recaptcha box. This was a problem “before” commenting out the text in recaptcha.php – see the submit button here – https://www.screencast.com/t/2rpUNyffI

    SEND BUTTON ISSUE
    The send button is placed OUTSIDE of the col-inner class, see here – https://www.screencast.com/t/BE1VJmpFQFP – notice if i move it inside the col-inner class it is correct – https://www.screencast.com/t/QLzheL20K3

    I do not know where this is in the code to fix.

    • This reply was modified 6 years, 2 months ago by colter.
    • This reply was modified 6 years, 2 months ago by colter.
    • This reply was modified 6 years, 2 months ago by colter.
    • This reply was modified 6 years, 2 months ago by colter.
    • This reply was modified 6 years, 2 months ago by colter.
    • This reply was modified 6 years, 2 months ago by colter.

    rickjanusz, good job, a simple disabling of the news reference in settings works perfectly.

    Dean,

    I want to remove the left navigation completely, which file would i need to find and line to remove the left navigation?

    colter

    (@colter)

    I have the same issue but i am not using any other photo plugin, nothing in uploads root directory of images gets uploaded to CDN. I have an images directory in uploads, uploads/images and w3 knows of the image names but does not have the location correct.

    This is the same for the theme files and wp-includes.

    The W3 Total Cache upload shows this, wp-content/uploads/fun_image26.jpg Source file not found, when the file really resides in, wp-content/uploads/images/fun_image26.jpg

    So it is stripping the images directory. I also checked the wp_postmeta table and the meta value for the attached file is images/fun_image26.jpg

    Thread Starter colter

    (@colter)

    The benefit is that you are limited to how many buckets you can have and i want to use sub-domains and would like to keep the sub-domains organized under one bucket (directory) instead of making multiple buckets for each subdomain i have. If i have 20 sub-domains this can take 20 buckets instead of only taking one bucket with a sub-directory.

    Thread Starter colter

    (@colter)

    bump

Viewing 9 replies - 1 through 9 (of 9 total)