Title: Niwa's Replies | WordPress.org

---

# Niwa

  [  ](https://wordpress.org/support/users/laniwa/)

 *   [Profile](https://wordpress.org/support/users/laniwa/)
 *   [Topics Started](https://wordpress.org/support/users/laniwa/topics/)
 *   [Replies Created](https://wordpress.org/support/users/laniwa/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/laniwa/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/laniwa/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/laniwa/engagements/)
 *   [Favorites](https://wordpress.org/support/users/laniwa/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pixel Caffeine] Mandatory Two-Factor Authentication Facebook???](https://wordpress.org/support/topic/mandatory-two-factor-authentication-facebook/)
 *  [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/mandatory-two-factor-authentication-facebook/#post-13475597)
 * I would like to add – how do I turn this warning off? I already have 2FA and 
   I would like to turn this notification off!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap 404 error](https://wordpress.org/support/topic/sitemap-404-error-6/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/sitemap-404-error-6/#post-13054943)
 * I have indeed given up on trying to figure this out haha! I tried disabling plugins,
   resetting things, and just nothing works. I went ahead and did what you said 
   about submitting the alt version and it seems to be working just fine now.
 * As always, thank you for your amazing support throughout the years!!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Sitemap 404 error](https://wordpress.org/support/topic/sitemap-404-error-6/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/sitemap-404-error-6/#post-13050256)
 * Hi 🙂
 * Thanks for helping me with this!!
 * I contacted my webhost and they’re trying to help me through those settings, 
   so far nothing has resolved the issue.
 * I am using Cloudflare, any chance that’s having an issue with accessing the sitemap?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Toolbelt] Move Related Posts Block](https://wordpress.org/support/topic/move-related-posts-block/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [6 years ago](https://wordpress.org/support/topic/move-related-posts-block/#post-12872452)
 * Awesome!!! Thank you so much 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] SEO Options on Pages??](https://wordpress.org/support/topic/seo-options-on-pages/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/seo-options-on-pages/#post-11264630)
 * Thank you for ALL your help Sybre!! Unfortunately it seems to have come down 
   to a corrupted install or something. I did a fresh install on my site and it 
   works now.
 * You went above and beyond to try to help me – I am a fan and supporter of your
   work now and forever!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] SEO Options on Pages??](https://wordpress.org/support/topic/seo-options-on-pages/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/seo-options-on-pages/#post-11228355)
 * Hey there, thanks for the quick reply. I am using the Block editor, and Page 
   SEO Settings is missing from the Advanced Panel! 🙁 I will disable plugins and
   see if I can find the culprit. 🙁
 * Edit – I have disabled all plugins ( I don’t have many) and it didn’t seem to
   fix the issue. Could it be theme related in any way??
 * Edit again – I just switched themes and nothing happens either. I don’t know 
   what to do anymore 🙁
    -  This reply was modified 7 years, 3 months ago by [Niwa](https://wordpress.org/support/users/laniwa/).
    -  This reply was modified 7 years, 3 months ago by [Niwa](https://wordpress.org/support/users/laniwa/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Google says “Page noindex” but that’s not true?](https://wordpress.org/support/topic/google-says-page-noindex-but-thats-not-true/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-says-page-noindex-but-thats-not-true/#post-11167410)
 * Hi Sybre,
 * Thanks so much for your follow up. It looks like the issue has been resolved!
   I ran a coverage issue report on their end to re-validate my site, and now I 
   have 0 errors!! I guess they are just a bit behind in their reporting!
 * Thank you so much for your prompt reply to me though. Case solved 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [http to https – WP in Subfolder issues](https://wordpress.org/support/topic/http-to-https-wp-in-subfolder-issues/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-wp-in-subfolder-issues/#post-8368769)
 * RESOLVED
 * This is probably the dumbest solution but I figured out the issue. since I have
   the WordPress installation in a subfolder, I had some conflicting redirects in
   the .htaccess on the root directory.
 * I was not aware that the WordPress htaccess needed to be just in the folder and
   not on the root. Once I removed that from the root everything started working
   just fine.
    -  This reply was modified 9 years, 7 months ago by [Niwa](https://wordpress.org/support/users/laniwa/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [http to https – WP in Subfolder issues](https://wordpress.org/support/topic/http-to-https-wp-in-subfolder-issues/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-wp-in-subfolder-issues/#post-8368441)
 * Thanks for your reply. I have changed the code to this following that page:
 *     ```
       RewriteEngine On 
       RewriteCond %{HTTP_HOST} ^grandcanyonplanning\.com [NC]
       RewriteCond %{SERVER_PORT} 80 
       RewriteRule ^(.*)$ https://grandcanyonplanning/$1 [R,L]
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 * and I am still having the same issue.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [http to https – WP in Subfolder issues](https://wordpress.org/support/topic/http-to-https-wp-in-subfolder-issues/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/http-to-https-wp-in-subfolder-issues/#post-8365052)
 * I can’t seem to edit my previous post, but currently I have changed my code to
   be this:
 *     ```
       RewriteEngine On
       RewriteCond %{HTTPS} off
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 * Feel free to look at the site to see it in action: [http://www.grandcanyonplanning.com](http://www.grandcanyonplanning.com)
 * The WEIRD thing is that when there is a child page such as [http://grandcanyonplanning.com/services/estate-planning/](http://grandcanyonplanning.com/services/estate-planning/)
 * it redirects it to [https://grandcanyonplanning.com/gcpa/services/estate-planning/](https://grandcanyonplanning.com/gcpa/services/estate-planning/)
   which is not valid (notice the gcpa/ subfolder appears)
 * but [https://grandcanyonplanning.com/services/estate-planning/](https://grandcanyonplanning.com/services/estate-planning/)
   works just fine!
 * Weirdly enough this only affects those child pages and I am not sure HOW to fix
   this!
    -  This reply was modified 9 years, 7 months ago by [Niwa](https://wordpress.org/support/users/laniwa/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gallery by BestWebSoft - Customizable Image and Photo Galleries for WordPress] Sorting the appearance of Galleries](https://wordpress.org/support/topic/sorting-the-appearance-of-galleries/)
 *  [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/sorting-the-appearance-of-galleries/#post-5151996)
 * I was looking to do the same thing, and figured out how to do it. Under the gallery-
   template.php file, locate this area:
 *     ```
       $args = array(
       'post_type'	=> 'gallery',
       'post_status'	=> 'publish',
       'orderby'	=> 'post_date',
       'posts_per_page'=> $per_page,
       'paged'		=> $paged
       );
       ```
   
 * I then changed the orderby to menu_order (which is affected by the page order)
   and then ordered it to descending (for my purposes). It now looks like this:
 *     ```
       $args = array(
       'post_type'		=> 'gallery',
       'post_status'		=> 'publish',
       'orderby'		=> 'menu_order',
       'order'			=> 'desc',
       'posts_per_page'	=> $per_page,
       'paged'			=> $paged
       );
       ```
   
 * Give that a shot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Front End Users] How can I edit user profile?](https://wordpress.org/support/topic/how-can-i-edit-user-profile/)
 *  [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/how-can-i-edit-user-profile/#post-4874067)
 * Here is a link to mine, having the same issue: [http://thewordonwealth.net/gcpatest/](http://thewordonwealth.net/gcpatest/)
 * I have username test with password test setup.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Google Bookshelves] Grid Thumbnails](https://wordpress.org/support/topic/grid-thumbnails/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/grid-thumbnails/#post-4079417)
 * I figured it out – was looking at the wrong CSS code 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display 5 posts on front page, 6 on the rest](https://wordpress.org/support/topic/display-5-posts-on-front-page-6-on-the-rest/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/display-5-posts-on-front-page-6-on-the-rest/#post-3473986)
 * Update:
 * So I found this code on a website:
 *     ```
       add_action( 'pre_get_posts',  'set_posts_per_page'  );
       function set_posts_per_page( $query ) {
   
         global $wp_the_query;
   
         if ( ( $query === $wp_the_query ) && ( $query->is_search() ) ) {
           $query->set( 'posts_per_page', 6 );
         }
         elseif ( ( $query === $wp_the_query ) && ( $query->is_archive() ) ) {
           $query->set( 'posts_per_page', 5 );
         }
         // Etc..
   
         return $query;
       }
       ```
   
 * I used it on my site, and it works for the search page. I am just not sure how
   to write in “if not on the home page” portion.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Firelight Lightbox] [Plugin: Easy FancyBox] Issue with getting FancyBox to show my images](https://wordpress.org/support/topic/plugin-easy-fancybox-issue-with-getting-fancybox-to-show-my-images/)
 *  Thread Starter [Niwa](https://wordpress.org/support/users/laniwa/)
 * (@laniwa)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-easy-fancybox-issue-with-getting-fancybox-to-show-my-images/#post-2252396)
 * Thank you!!
 * You are a genius! 🙂 I never knew the importance of WP_Footer until now. Thank
   you again for your help (and it probably explains why none of the other scripts
   were ever working) 🙂

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