Title: virtous's Replies | WordPress.org

---

# virtous

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress core update, can't locate root directory](https://wordpress.org/support/topic/wordpress-core-update-cant-locate-root-directory/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wordpress-core-update-cant-locate-root-directory/#post-7329933)
 * I finally managed to fix this by temporarily changing the owner of all files 
   within /var/www/html.
 * I normally set the FTP user as the owner and www-data as the owning group.
 * 1) Change file owner
    `sudo chown www-data: -R /var/www/html`
 * 2) Update wordpress
 * 3) Change back ownership
    `sudo chown myftpaccount: -R /var/www/html`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress core update, can't locate root directory](https://wordpress.org/support/topic/wordpress-core-update-cant-locate-root-directory/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wordpress-core-update-cant-locate-root-directory/#post-7329932)
 * Hey thanks for your reply. I still haven’t managed to solve this issue despite
   reading through the article you linked.
 * I’m controlling permissions via terminal. If I knew which files/folders are handled
   during WordPress core upgrades I could see if those files/folders have the correct
   permissions set. Do you by any chance know which files/folders are relevant?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Test shop as a user from a different country.](https://wordpress.org/support/topic/test-shop-as-a-user-from-a-different-country/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/test-shop-as-a-user-from-a-different-country/#post-6881916)
 * Hi,
 * Yes, I managed to solve it by updating all WooCommerce extension plugins. For
   me it was the following:
    WooCommerce DIBS FlexWin Gateway WooCommerce Klarna
   Gateway WooCommerce PDF Invoices & Packing Slips Flat Rate per State/Country/
   Region for WooCommerce
 * Hope this helps! If you find the root of the issue feel free to share.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom attributes to the menu container with wp_nav_menu](https://wordpress.org/support/topic/custom-attributes-to-the-menu-container-with-wp_nav_menu/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [11 years ago](https://wordpress.org/support/topic/custom-attributes-to-the-menu-container-with-wp_nav_menu/#post-6319606)
 * Fixed!
 * Turned out to be very simple…
 *     ```
       wp_nav_menu('items_wrap' => '<ul id="%1$s" class="menu" foo="bar">%3$s</ul>' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact for WordPress] Event registration from my site](https://wordpress.org/support/topic/event-registration-from-my-site/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/event-registration-from-my-site/#post-5641190)
 * I went to the Constant Contact Developer Forums and found out that the CC API
   doesn’t support event registration. This feature might be implemented in the 
   future though.
 * Hope this information is helpful to anyone.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact for WordPress] Uncaught TypeError: undefined is not a function](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-10/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-undefined-is-not-a-function-10/#post-5631534)
 * I found a solution for the problem in this post
    [http://stackoverflow.com/questions/7975093/typeerror-undefined-is-not-a-function-evaluating-document](http://stackoverflow.com/questions/7975093/typeerror-undefined-is-not-a-function-evaluating-document)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirect as soon as possible on client device detection.](https://wordpress.org/support/topic/redirect-as-soon-as-possible-on-client-device-detection/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/redirect-as-soon-as-possible-on-client-device-detection/#post-5440050)
 * Hello, thank you for your quick reply.
 * I’m writing my own theme so using another one is not going to be an option for
   me.
 * The theme I’ve written is fully responsive, the problem lies with all files that
   are loaded and slows down the page. It isn’t optimal for mobile users with limited
   bandwidth.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [query fails, returns 0.](https://wordpress.org/support/topic/query-fails-returns-0/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/query-fails-returns-0/#post-5252262)
 * [@vtxyzzy](https://wordpress.org/support/users/vtxyzzy/), yes you are correct.
   I actually changed it %%% %% like below, and it works.
 *     ```
       $where .= " post_title LIKE '%%%" . $keyword . "%%' OR post_content LIKE '%%%" . $keyword . "%%' OR";
       ```
   
 * [@keesiemeijer](https://wordpress.org/support/users/keesiemeijer/), so since 
   I’m running 3.9.2 I should use the like_escape() function for the LIKE statement?
   Doesnt it get properly sanitized within the prepare() function?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Share, Social Login and Social Comments Plugin - Super Socializer] New installation, html gets rendered but is not visible?](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/#post-4953521)
 * Ahh there we go, added wp_head() in my file before closing </head>. Now it works!
   🙂
 * Question though, is it possible to remove the “more sharing service” (orange 
   icon)? Looks like it was added by default.
 * Also, the title text doesn’t seem to show up?
 * Thanks for the help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Share, Social Login and Social Comments Plugin - Super Socializer] New installation, html gets rendered but is not visible?](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/#post-4953519)
 * I’m not using get_header() in my theme, will this cause wp_head() hook to fail?
   I updated the file without success.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Share, Social Login and Social Comments Plugin - Super Socializer] New installation, html gets rendered but is not visible?](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/#post-4953515)
 * Ok thanks.
 * **Edit:**
    Will have a look when I get home in a few hours. Thanks for the quick
   support!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Share, Social Login and Social Comments Plugin - Super Socializer] New installation, html gets rendered but is not visible?](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/#post-4953509)
 * Check my latest update in my previous comment above^
 * Nothing happens when I click on the icons, and the title text that I chose in
   the admin section doesn’t show up either.
 * When I click the icons it says in console that theChampPopup is not defined.
 * Any ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Share, Social Login and Social Comments Plugin - Super Socializer] New installation, html gets rendered but is not visible?](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/)
 *  Thread Starter [virtous](https://wordpress.org/support/users/virtous/)
 * (@virtous)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/new-installation-html-gets-rendered-but-is-not-visible/#post-4953505)
 * I might be able to do that later tomorrow evening, as for now I did some more
   research. I can’t see where front.css is included to the page, where does this
   happen?
 * **Edit:**
    adding this line in the <head> of the document made all the icons 
   visible, but I nothing happens when I click on them. `<link rel="stylesheet" 
   type="text/css" href="<?php echo get_site_url();?>/wp-content/plugins/super-socializer/
   css/front.css">`

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