Title: HackYaaaaa's Replies | WordPress.org

---

# HackYaaaaa

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Perfect Brands for WooCommerce] Change permalink](https://wordpress.org/support/topic/change-permalink-30/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/change-permalink-30/#post-13684280)
 * that has nothing to do with the plugin.
 * you need to change permalink structure of your WordPress setup.
 * If your WP is installed at /blog folder, you can’t get rid of /blog from your
   url.
 * Actually, there is but it’s complicated & you don’t want to mess around with 
   rewrite rules if you are not a developer.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multisite Language Switcher] Language flag size](https://wordpress.org/support/topic/language-flag-size/)
 *  Thread Starter [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/language-flag-size/#post-13656779)
 * sorry. didn’t realize I can set the custom url for the flags.
    -  This reply was modified 5 years, 6 months ago by [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Super Progressive Web Apps] Super PWA is very slow loading…](https://wordpress.org/support/topic/super-pwa-is-very-slow-loading/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/super-pwa-is-very-slow-loading/#post-13576862)
 * you can build a lightning fast PWA (as fast as native app) if you deploy RESS
   technique when you are creating your WP theme.
 * RESS is offload all desktop elements, css, js on mobile view. mobile detect comes
   with WordPress core although there are much more accurate php libraries you can
   use.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Super Progressive Web Apps] How To Trigger Install Prompt With BUTTON](https://wordpress.org/support/topic/how-to-trigger-install-prompt-with-button/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/how-to-trigger-install-prompt-with-button/#post-13576857)
 * [@mrphunin](https://wordpress.org/support/users/mrphunin/),
 * You might be able to roll your own prompt until the plugin is updated.
 * [https://medium.com/@suncommander/how-to-show-pwa-install-banner-add-to-homescreen-for-your-website-b1fbe6ebfdb5](https://medium.com/@suncommander/how-to-show-pwa-install-banner-add-to-homescreen-for-your-website-b1fbe6ebfdb5)
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[ToneDen Player Shortcode] Music bar has been fantastic](https://wordpress.org/support/topic/music-bar-has-been-fantastic/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/music-bar-has-been-fantastic/#post-8106743)
 * The simplest way to make the music player “seamless” (you mean uninterrupted 
   playing when url changes) is creating a popup html & embedding the shortcode 
   in it.
 * I didn’t realize there are plugins for soundcloud & built the whole thing from
   scratch myself. LOL
 * You can check out how I built it at hackya.com/kr (Click on the “Login” button
   on top left of the page & you will see the orange Soundcloud button)
 * Let me know if you want this kind of setup. I might write a tutorial on it if
   people are interested.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Page Speed Optimization] completely messed up site](https://wordpress.org/support/topic/completely-messed-up-site/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/completely-messed-up-site/#post-8093668)
 * To move your css to the footer, this is all you have to do.
 *     ```
       function hackya_load_css() {
       wp_enqueue_style('style', get_stylesheet_uri());
       }
       add_action('wp_footer', 'hackya_load_css');
       ```
   
 * No need for this bloated plugin.
 * Of course you need to aync load it as well. For that, you can use loadCSS.
 * [https://github.com/filamentgroup/loadCSS](https://github.com/filamentgroup/loadCSS)
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Page Speed Optimization] Nah](https://wordpress.org/support/topic/nah-2/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/nah-2/#post-8106082)
 * Lowered actual load time on pingdom tools & lowered google page speed as well.
 * Tested the plugin on 3 different sites. All same result.
 * I am actually pissed that I wasted my time on this plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Mobile Detect] What kind of cache plugin is compatible with WP Mobile Detect?](https://wordpress.org/support/topic/what-kind-of-cache-plugin-is-compatible-with-wp-mobile-detect/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [10 years ago](https://wordpress.org/support/topic/what-kind-of-cache-plugin-is-compatible-with-wp-mobile-detect/#post-6535955)
 * Mobiledetect will only work properly if whatever cache plugin you are using does
   not cache the mobile version of the site.
 * But page load speed is far more critical in mobile view.
 * [https://github.com/serbanghita/Mobile-Detect/issues/180](https://github.com/serbanghita/Mobile-Detect/issues/180)
 * You want to cache the site so that the site loads faster. You also want to use
   mobile detect to speed up the site by not loading resources that will slow down
   mobile view.
 * So this has been pretty frustrating experience for me but it seems that there
   isn’t any workable solution at the moment.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SyntaxHighlighter Evolved] Please do not use !important in plugin css](https://wordpress.org/support/topic/please-do-not-use-important-in-plugin-css/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/please-do-not-use-important-in-plugin-css/#post-6037220)
 * [@coope](https://wordpress.org/support/users/coope/),
 * I should have seen your reply. My solution was to override !important declaration
   by appending a new css with javascript.
 * Alternatively, you can dequeue the plugin style and replace it with your own.
 * But I agree with Jay & you that using !important in plugin style is less than
   ideal.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disqus Conditional Load] dcl-functions.php line 89 throws an error](https://wordpress.org/support/topic/dcl-functionsphp-line-89-throws-an-error/)
 *  Thread Starter [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/dcl-functionsphp-line-89-throws-an-error/#post-6510588)
 * Hey!! You da man!!!
 * You rock.
 * I’ve been busy with a project for past couple of months.
 * Just downloaded your plugin to study how you’ve done it.
 * Your plugin is super clean.
 * It’s so weird. The script I hacked together to load js on scroll is very similar
   to how you did it in your plugin.
 * if(document.body.scrollHeight < window.innerHeight){ (your code)
 * if ($(this).scrollTop() + $(window).height() > scrollFromTop){ (my hack)
 * hahaha
 * Anyhow Congragts!!!
 * I will promote your plguin to everybody I know as your plugin is just awesome.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AngularJS for WordPress] Should I hold off until AngularJS2 ships?](https://wordpress.org/support/topic/should-i-hold-off-until-angularjs2-ships/)
 *  Thread Starter [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/should-i-hold-off-until-angularjs2-ships/#post-6570865)
 * Thank you for your succinct clarification on theme vs plugin approach.
 * May I ask what your opinions are or if you have any opinion concerning ReactJS
   or Riot.JS?
 * I really don’t like how ReactJS/Riot.JS bundles html and javascript together 
   and turns it into one chunk of component/mess. Something just bothers me about
   mixing html & javascript together. Reminds me of horribly coded inline javascripts
   without event handler I used to see many many years ago.
 * Nevertheless, React Native seems to be/at least promises to be that holy grail
   every front-end developer has been seeking.
 * Honestly, I hate the ReactJS way of doing things but I am afraid everyone will
   end up using React Native down the line.
 * Any thought?
 * Oh, I will definitely check out your AngularJS theme!!! I am very excited to 
   learn from your theme.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disqus Conditional Load] dcl-functions.php line 89 throws an error](https://wordpress.org/support/topic/dcl-functionsphp-line-89-throws-an-error/)
 *  Thread Starter [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dcl-functionsphp-line-89-throws-an-error/#post-6510365)
 * That’s super awesome to hear!!!
 * I actually solved the problem by moving the js portion of dcl-functions.php outside
   of the php & creating a separate js file. LOL
 * But obviously, that’s not an universal nor a proper solution for the plugin.
 * I really look forward to your solution so that I can learn (I am a self-taught
   hacker, not a programmer) from your code.
 * Disqus is by far one the biggest pageload performance culprits & I am surprised
   your plugin is not more popular or widely used.
 * I will be promoting your plugin to anyone who are using/intending to use Disqus.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [10, 2 50, 2 driving me nuts!!!](https://wordpress.org/support/topic/10-2-50-2-driving-me-nuts/)
 *  Thread Starter [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/10-2-50-2-driving-me-nuts/#post-5943167)
 * ♥♥♥♥ Thank you very much!! ♥♥♥♥♥
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to delete google analytics code?](https://wordpress.org/support/topic/how-to-delete-google-analytics-code/)
 *  [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/how-to-delete-google-analytics-code/#post-3679195)
 * your google analytics code is being generated from some sort of packaged SEO 
   pack (it’s a plugin you are using)
 *     ```
       <!-- /all in one seo pack -->
       		<script type="text/javascript">
   
       		  var _gaq = _gaq || [];
       		  _gaq.push(['_setAccount', 'UA-39914369-1']);
       		  _gaq.push(['_setDomainName', 'http://www.body-rhythm.com']);
       		  _gaq.push(['_trackPageview']);
   
       		  (function() {
       		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
       		  })();
   
       		</script>
       ```
   
 * _[Unnecessary comment moderated]_
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [adding a class to a div w/o touching the core file](https://wordpress.org/support/topic/adding-a-class-to-a-div-wo-touching-the-core-file/)
 *  Thread Starter [HackYaaaaa](https://wordpress.org/support/users/hackyaaaaa/)
 * (@hackyaaaaa)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-a-class-to-a-div-wo-touching-the-core-file/#post-3677172)
 * Someone at stackoverflow suggested that perhaps I should talk to WordPress organization
   about this.
 * <h3 id=”reply-title”>
 * This h3 tag resides in core file and there isn’t a way to add a class to it in
   pure php. As someone [@stackoverflow](https://wordpress.org/support/users/stackoverflow/)
   pointed out, and I concur, once the page loads, php has no way of altering the
   already loaded html.
 * If there is, I wouldn’t know how to go about it. What I ended up doing was by
   hooking the comment_form in comments.php, I’ve inserted a sub element (span tag)
   below/inside the <h3> tag.
 * This does the job & this does not involve jQuery but I am not happy with it as
   this adds extra element to the html (extra span tag), making my code looking 
   ugly. 🙁
 * I really feel like some guru programmer needs to sort this out for WP community.(
   I’ve encountered other developers struggling with this same subject.)
 * Either you roll your dice with jQuery hoping no one is visiting your site with
   javascript disabled or you end up with ugly html.
 * Neither is ideal.

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

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