Title: powercliff's Replies | WordPress.org

---

# powercliff

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/powercliff/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/powercliff/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/powercliff/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] back to top button not showing](https://wordpress.org/support/topic/back-to-top-button-not-showing-3/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [8 months ago](https://wordpress.org/support/topic/back-to-top-button-not-showing-3/#post-18746470)
 * Edit: sorry for posting this misleading feedback. Some UBO scripts hide the button.
   It’s not caused by Generatepress.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder] PopupMaker is unable to create & save cached assets for your popup styling](https://wordpress.org/support/topic/popupmaker-is-unable-to-create-save-cached-assets-for-your-popup-styling/)
 *  [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/popupmaker-is-unable-to-create-save-cached-assets-for-your-popup-styling/#post-16461854)
 * Same problem. The plugin uses JS and CSS files under plugins/popup-maker instead
   of uploads/pum. Related settings can’t be saved successfully.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CAOS | Host Google Analytics Locally] Google Analytics real-time location not working in STEALTH mode](https://wordpress.org/support/topic/google-analytics-real-time-location-not-working-in-stealth-mode/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/google-analytics-real-time-location-not-working-in-stealth-mode/#post-14905805)
 * After removing the code, I can successfully view the real-time ip location. Thank
   you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CAOS | Host Google Analytics Locally] Google Analytics real-time location not working in STEALTH mode](https://wordpress.org/support/topic/google-analytics-real-time-location-not-working-in-stealth-mode/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-real-time-location-not-working-in-stealth-mode/#post-14859678)
 * I use:Cloudflare, fastCGI page cache and autoptimize.
    I did the following: do
   not use fastCGI; deactivate all optimization plugins… the bug still exists. Then
   I think this is probably related to USING NGINX. I tested my site on Apache this
   morning (and keep other settings almost the same), the geo location function 
   worked normal.
 * ———–
    By the way: After the most recent update, the plugin is letting analytics
   connect ‘doubleclick.net’.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[OPcache Manager] It’s a pity to exclude php files in /wp-content/](https://wordpress.org/support/topic/its-a-pity-to-exclude-php-files-in-wp-content/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/its-a-pity-to-exclude-php-files-in-wp-content/#post-14848959)
 * And, after the update today, the initial opcache memory consumption (before site
   warm-up) has greatly decreased (decreased 15% or so); the wasted memory (about
   15%) began to appear after I completed “warm-up”. I the past versions, the init
   opcache memory consumption is always fixed (15% more than today’s) before site
   warm-up, and there’s always 0 MB wasted memory.
    I am sure that I do restart 
   php-fpm service before these steps.
    -  This reply was modified 4 years, 11 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
    -  This reply was modified 4 years, 11 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] .htaccess in nginx](https://wordpress.org/support/topic/htaccess-in-nginx/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/htaccess-in-nginx/#post-14844750)
 * So I guess, generally, it can be described as below:
    If an NGINX user installs
   Wordfence and does the default operations followed by Wordfence’s instructions,
   the .php direct access in wflogs may still breach the virtual host’s PATH, and
   even Wordfence’s scanning cannot detect and warn for it. The .php files in wflogs
   do not contain such code:
 *     ```
       if ( ! defined( 'ABSPATH' ) ) {
       	exit;
       }
       ```
   
 * Not all NGINX users block direct .php access in wp-content/* . Is it possible
   for Wordfence to warn the user about this harmful loophole and guide the user
   to add related NGINX config code snippets?
    -  This reply was modified 4 years, 11 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
    -  This reply was modified 4 years, 11 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CAOS | Host Google Analytics Locally] Google Analytics real-time location not working in STEALTH mode](https://wordpress.org/support/topic/google-analytics-real-time-location-not-working-in-stealth-mode/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-real-time-location-not-working-in-stealth-mode/#post-14843744)
 * I’m using Analytics.js, and other settings are just normal and CAO’s default 
   settings (e.g. Plugin Handling: safe mode;Compatibility Mode:None…etc)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CodeMirror Blocks] Cannot show the last 1~2 lines in full screen view](https://wordpress.org/support/topic/cannot-show-the-last-12-lines-in-full-screen-view/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/cannot-show-the-last-12-lines-in-full-screen-view/#post-14751107)
 * Sorry I wanted to reply to this thread again. If you don’t mind, could you tell
   me the css code that solves this problem in advance? That way I can use it in
   my wordpress code snippets first. Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CodeMirror Blocks] Cannot show the last 1~2 lines in full screen view](https://wordpress.org/support/topic/cannot-show-the-last-12-lines-in-full-screen-view/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cannot-show-the-last-12-lines-in-full-screen-view/#post-14622559)
 * Thanks for your help. I will re-check my config again.
    -  This reply was modified 5 years, 1 month ago by [powercliff](https://wordpress.org/support/users/powercliff/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CodeMirror Blocks] Cannot show the last 1~2 lines in full screen view](https://wordpress.org/support/topic/cannot-show-the-last-12-lines-in-full-screen-view/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cannot-show-the-last-12-lines-in-full-screen-view/#post-14622531)
 * The test link is in this image:
    [https://sm.ms/image/fnwipYJCtUa6GmF](https://sm.ms/image/fnwipYJCtUa6GmF)
 * Sorry that I have to share my link in this way, it is a pure IP address.
 * In fact, it’s not just using the wordpress default theme that causes this problem,
   using other themes can also cause this problem.
    -  This reply was modified 5 years, 1 month ago by [powercliff](https://wordpress.org/support/users/powercliff/).
    -  This reply was modified 5 years, 1 month ago by [powercliff](https://wordpress.org/support/users/powercliff/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Search Lite - Live Search & Filter] keyword Highlighting without blank space](https://wordpress.org/support/topic/keyword-highlighting-without-blank-space/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/keyword-highlighting-without-blank-space/#post-14601852)
 * It worked. Thank you! 🙂
    -  This reply was modified 5 years, 1 month ago by [powercliff](https://wordpress.org/support/users/powercliff/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajaxify Comments - Ajax and Lazy Loading Comments] message changed after updating to wordpress 5.6](https://wordpress.org/support/topic/message-changed-after-updating-to-wordpress-5-6/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/message-changed-after-updating-to-wordpress-5-6/#post-13865048)
 * I created two blank wordpress sites(version 5.6 and 5.5.3). Both two sites are
   newly built without any other plugins, and the settings in ‘discussion’ are identical.
   
   However, this plugin works different in two sites.
    -  This reply was modified 5 years, 7 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
    -  This reply was modified 5 years, 7 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPvivid — Backup, Migration & Staging] what should I do when switching from apache to nginx](https://wordpress.org/support/topic/what-should-i-do-when-switching-from-apache-to-nginx/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/what-should-i-do-when-switching-from-apache-to-nginx/#post-13836315)
 * update:
    I will learn more about nginx config file rule. Thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals] Cannot cache all sitemap xml files](https://wordpress.org/support/topic/cannot-cache-all-sitemap-xml-files/)
 *  Thread Starter [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/cannot-cache-all-sitemap-xml-files/#post-13821344)
 * Hi [@salvatorefresta](https://wordpress.org/support/users/salvatorefresta/) ,
 * I think it is related to a logical operators ‘&& ||’ bug,
    I just edited the 
   file ‘cache_controller.class.php’:
 * > [View post on imgur.com](https://imgur.com/a/jOchFch)
 * 
    and all the sitemap files were cached as expected.
    -  This reply was modified 5 years, 7 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
    -  This reply was modified 5 years, 7 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Table of Contents] How to display TOC as a tab on left side of screen](https://wordpress.org/support/topic/how-to-display-toc-as-a-tab-on-left-side-of-screen/)
 *  [powercliff](https://wordpress.org/support/users/powercliff/)
 * (@powercliff)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/how-to-display-toc-as-a-tab-on-left-side-of-screen/#post-13801186)
 * Hi [@tradeshark2](https://wordpress.org/support/users/tradeshark2/),
 * I will try to describe the steps as clearly as I can:
    There are three main steps:
   1, [https://wordpress.org/plugins/amr-shortcode-any-widget/](https://wordpress.org/plugins/amr-shortcode-any-widget/),
   to use the TOC widget by shortcode 2, embed the TOC widget in a popup window 
   3, create a floating button (the codes are shown below) to toggle the popup window
   using code snippet ([https://wordpress.org/plugins/code-snippets/](https://wordpress.org/plugins/code-snippets/))
 * —————————-
    images： [https://firealpaca.com/get/elFxkuYE](https://firealpaca.com/get/elFxkuYE)
   [https://firealpaca.com/get/sxD8bxCf](https://firealpaca.com/get/sxD8bxCf) [https://firealpaca.com/get/9y9XTa7k](https://firealpaca.com/get/9y9XTa7k)
 * and a code snippet:
    `add_action( 'wp_head', function () { ?><style>.button-toc-
   popup{position:fixed;z-index:999;left:10px;-webkit-border-radius:5px;-moz-border-
   radius:5px;border-radius:5px;color:#0059A0;padding:5px;background-color:#87CEFA;
   border:solid #0059A0 1px;text-decoration:none;cursor:pointer}.button-toc-popup:
   hover,.button-toc-popup:active{background-color:#00BFFF}.button-toc-popup{top:
   30%;height:52px;width:52px}</style><?php } );add_action( 'wp_footer', function(){
   echo '<img src="data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJsaXN0LXVsIiBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtbGlzdC11bCBmYS13LTE2IiByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTQ4IDQ4YTQ4IDQ4IDAgMSAwIDQ4IDQ4IDQ4IDQ4IDAgMCAwLTQ4LTQ4em0wIDE2MGE0OCA0OCAwIDEgMCA0OCA0OCA0OCA0OCAwIDAgMC00OC00OHptMCAxNjBhNDggNDggMCAxIDAgNDggNDggNDggNDggMCAwIDAtNDgtNDh6bTQ0OCAxNkgxNzZhMTYgMTYgMCAwIDAtMTYgMTZ2MzJhMTYgMTYgMCAwIDAgMTYgMTZoMzIwYTE2IDE2IDAgMCAwIDE2LTE2di0zMmExNiAxNiAwIDAgMC0xNi0xNnptMC0zMjBIMTc2YTE2IDE2IDAgMCAwLTE2IDE2djMyYTE2IDE2IDAgMCAwIDE2IDE2aDMyMGExNiAxNiAwIDAgMCAxNi0xNlY4MGExNiAxNiAwIDAgMC0xNi0xNnptMCAxNjBIMTc2YTE2IDE2IDAgMCAwLTE2IDE2djMyYTE2IDE2IDAgMCAwIDE2IDE2aDMyMGExNiAxNiAwIDAgMCAxNi0xNnYtMzJhMTYgMTYgMCAwIDAtMTYtMTZ6Ij48L3BhdGg
   +PC9zdmc+" class="button-toc-popup">'; });add_action( 'wp_footer', function (){?
   > <script>if(document.getElementById("ez-toc-container")==null) document.getElementsByClassName('
   button-toc-popup')[0].style.visibility='hidden';</script> <?php } );`
 * If you cannot reproduce this, please let me know, and I will post a more specific
   guide 🙂
    -  This reply was modified 5 years, 7 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).
    -  This reply was modified 5 years, 7 months ago by [powercliff](https://wordpress.org/support/users/powercliff/).

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

1 [2](https://wordpress.org/support/users/powercliff/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/powercliff/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/powercliff/replies/page/2/?output_format=md)