Title: Looic's Replies | WordPress.org

---

# Looic

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Multisite setup – can’t add SiteKit on a sub website.](https://wordpress.org/support/topic/multisite-setup-cant-add-sitekit-on-a-sub-website/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/multisite-setup-cant-add-sitekit-on-a-sub-website/#post-18221635)
 * Hi
 * Seems like it worked ! Site Kit is now installed on both of my network sites.
   Thanks and happy new year !
 * Loic.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Multisite setup – can’t add SiteKit on a sub website.](https://wordpress.org/support/topic/multisite-setup-cant-add-sitekit-on-a-sub-website/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/multisite-setup-cant-add-sitekit-on-a-sub-website/#post-18220176)
 * Hi
 * Thanks for your feedback. The Site Health information does not show anything 
   unusual, here is an extract. I’ve filled the Google Forms with all the details
   enclosed about my installation.
 * About the site verification, my website (and the subfoder) already shows as verified
   under the Search console. See below.
 * ![](https://wordpress.org/e29adabe-8331-4224-b2c4-024bc20a434b)
 * If you have an idea, let me know.
 * Many thanks!
 * Loic.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [rest_no_route when trying to edit the widgets](https://wordpress.org/support/topic/rest_no_route-when-trying-to-edit-the-widgets/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/rest_no_route-when-trying-to-edit-the-widgets/#post-17361665)
 * Awesome, thanks ! I’ll have a look at the classic widget editor for the short-
   term and work on updating my plugin then. Many thanks !
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [rest_no_route when trying to edit the widgets](https://wordpress.org/support/topic/rest_no_route-when-trying-to-edit-the-widgets/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/rest_no_route-when-trying-to-edit-the-widgets/#post-17360606)
 * Thanks for your reply ! I have also developed one plugin for my website and I
   get the same error. Can you kindly tell me or head me to a resource to understand
   what’s missing here ? Is that linked to the widget functions ?
    -  This reply was modified 2 years, 4 months ago by [Looic](https://wordpress.org/support/users/looic/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to load WP in command-line mode without the plugins ?](https://wordpress.org/support/topic/how-to-load-wp-in-command-line-mode-without-the-plugins/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/how-to-load-wp-in-command-line-mode-without-the-plugins/#post-6416090)
 * Hi,
    I cannot do that, because the same WordPress installation is also working
   behind Apache (for frontend users).
 * So what I am looking is a hook or something like that, to specifically prevent
   plugins from loading when I call wordpress in CLI mode (so that the plugins continue
   to work when loaded with Apache).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPMovieLibrary] Link several posts with a movie entry](https://wordpress.org/support/topic/link-several-posts-with-a-movie-entry/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/link-several-posts-with-a-movie-entry/#post-5926191)
 * Hi,
 * I developped a quick plugin to achieve that, and it works quite good.
    It works
   with tags and combo boxes for admin user interface.
 * It could be easily integrated and improved in your plugin if you wish! Let me
   know.
 * Looic.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AnsPress - Question and answer] Display ask form with function call](https://wordpress.org/support/topic/display-ask-form-with-function-call/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/display-ask-form-with-function-call/#post-5886196)
 * Thank you for your answer.
 * I tried with alpha-2, it lacks some widgets and CSS styles are quite different
   from 1.4 version. Is that the same as the beta version you mention ?
 * Thanks,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AnsPress - Question and answer] Display ask form with function call](https://wordpress.org/support/topic/display-ask-form-with-function-call/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/display-ask-form-with-function-call/#post-5886157)
 * I checked the plugin, in fact what I need is being able to use the shortcode 
   outside the base page.
 * Is there a way to do that ?
    Thanks, Looic.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [get_terms : query by exact term_name, help needed](https://wordpress.org/support/topic/get_terms-query-by-exact-term_name-help-needed/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/get_terms-query-by-exact-term_name-help-needed/#post-4725904)
 * Thank you for your answer. My bad : I omit the “hide_empty” parameter.
 * However, the issue is not resolved, as the search does a %LIKE% match, not an
   exact one.
 * In the following situation, searching for ‘GG’ returns me two objects :
 *     ```
       A
       \-- fooGGfoo
       \-- GG
       ```
   
 *     ```
       *** New Query=Array
       (
           [parent] => 804
           [search] => GG
           [hide_empty] =>
       )
       select statement=SELECT t.*, tt.* FROM wpmutest_63_terms AS t INNER JOIN wpmutest_63_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ('my_tax') AND tt.parent = '804' AND ((t.name LIKE '%GG%') OR (t.slug LIKE '%GG%')) ORDER BY t.name ASC
        -> Output get_terms()=Array
       (
           [0] => stdClass Object
               (
                   [term_id] => 1644
                   [name] => fooGGfoo
                   [slug] => fooggfoo
                   [term_group] => 0
                   [term_taxonomy_id] => 2027
                   [taxonomy] => my_tax
                   [description] =>
                   [parent] => 804
                   [count] => 0
               )
   
           [1] => stdClass Object
               (
                   [term_id] => 1643
                   [name] => GG
                   [slug] => gg
                   [term_group] => 0
                   [term_taxonomy_id] => 2026
                   [taxonomy] => my_tax
                   [description] =>
                   [parent] => 804
                   [count] => 0
               )
   
       )
       ```
   
 * Is there a way to get the object by EXACT match (not %LIKE%), so that I can avoid
   making a if/foreach search for the right object ?
 * Also I have another issue with “&” and “‘” characters in searched terms, but 
   I will open a new thread 🙂
 * Thank you,
    Looic.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite for 50.000 posts for each blog ?](https://wordpress.org/support/topic/multisite-for-50000-posts-for-each-blog/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multisite-for-50000-posts-for-each-blog/#post-4472429)
 * Hi Patrick,
    Thank you for your answer. Regarding the stats you mention, probably
   WP will fit my needs 🙂
 * For now I will start using a private server,if my project works I will migrate
   to a solution that allows more agility using a VPS and the plugin you mention.
 * Thank you,
    Looic.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP UI - Tabs, Accordions, Sliders] Tabs no longer displaying](https://wordpress.org/support/topic/tabs-no-longer-displaying/)
 *  [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/tabs-no-longer-displaying/#post-4236964)
 * Got it !
    The issue comes from the Multisite installation and occurs only on 
   the main blog (not other blogs). WP UI plugin calls “site_url()” to register 
   JS scripts for admin and userland side (see admin/wpUI-options.php:857).
 * When using WordPress Multisite, site_url() returns the right value, *except* 
   for the main multisite blog. In that case, wpui-script=before fails to load (
   404 error) and the plugins breaks.
 * I replaced the following line :
    `wp_register_script( 'wpui-script-before', site_url('/?
   wpui-script=before' ), $admin_deps );`
 * by that one :
    `wp_register_script('wpui-script-before',get_bloginfo('url') .'/?
   wpui-script=before', $admin_deps );`
 * and now it works perfectly !
 * I suppose I have to change all occurrences of site_url() when used to load JS
   by get_bloginfo(‘url’).
 * Hope this helps,
    Regards, Looic
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP UI - Tabs, Accordions, Sliders] Tabs no longer displaying](https://wordpress.org/support/topic/tabs-no-longer-displaying/)
 *  [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/tabs-no-longer-displaying/#post-4236963)
 * Hi !
 * I have exactly the same problem. On one of my WordPress sites, my WP UI plugin
   doesn’t work (tabs are not displayed anymore in the admin tab nor the blog side)
   and the Developper console of Chrome says :
 *     ```
       Uncaught ReferenceError: wpuiJQ is not defined tabs.js:38
       Uncaught ReferenceError: wpuiJQ is not defined init.js:46
       Uncaught TypeError: Object [object Object] has no method 'wptabs'
       ```
   
 * But no reference to any file or line.
 * I tried to deactivate all the plugins, or to change the theme, no change. also
   I tried to switch on another blog (I run WP Multisite) and it works on all other
   blogs.
 * Do you find a way to resolve that issue ?
 * Thank you for your help,
    Looic.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom post type permalink broken : 3 match for a single custom post.](https://wordpress.org/support/topic/custom-post-type-permalink-broken-3-match-for-a-single-custom-post/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/custom-post-type-permalink-broken-3-match-for-a-single-custom-post/#post-3342466)
 * Finally I restarted the code from scratch and it works very well now. don’t understand
   what happened…
 * Looic.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invoking WP Multisite in command line](https://wordpress.org/support/topic/invoking-wp-multisite-in-command-line/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/invoking-wp-multisite-in-command-line/#post-3309603)
 * Hi,
    I am answering to myself if it can help somebody.
 * Don’t know why but with Multisite, you have to set HTTP_HOST variable before 
   starting the WordPress stuff. Do like this :
 *     ```
       $_SERVER[ 'HTTP_HOST' ] = 'www.yourdomain.com';
       require_once('/my/path/to/wp/wp-load.php');
   
       /*
       * ...
       * Your geek stuff ...
       */
       ```
   
 * Have a good day 🙂
    Loic.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite subfolders – can't access URLs containing wp-content on subsites](https://wordpress.org/support/topic/multisite-subfolders-cant-access-urls-containing-wp-content-on-subsites/)
 *  Thread Starter [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/multisite-subfolders-cant-access-urls-containing-wp-content-on-subsites/#post-3289620)
 * I finally found a solution to have my WP 3.5 multisite installed into /wp/ AND
   all my sites located under /la-communaute-des-ikea-addicts/
 *     ```
       RewriteRule ^la-communaute-des-ikea-addicts/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) wp/$2 [L]
       RewriteRule ^la-communaute-des-ikea-addicts/([_0-9a-zA-Z-]+/)?(.*\.php)$ wp/$2 [L]
       ```
   
 * I was first very very surprised but after doing some tests, it seems to work 
   like a charm !
 * Thank you for all your answers,
    Loic.

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

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