Title: Logic Hop's Replies | WordPress.org

---

# Logic Hop

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Non-Responsive Company, Took Money & Provided No Login Info](https://wordpress.org/support/topic/non-responsive-company-took-money-provided-no-login-info/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/non-responsive-company-took-money-provided-no-login-info/#post-18341347)
 * **We sincerely apologize for your experience.**
 * We recently experienced an issue with our email system that affected the delivery
   of welcome emails and support responses. We understand how frustrating this must
   be, and we take your concerns very seriously.
 * Please reach out to us directly at **[info@logichop.com](https://wordpress.org/support/users/logichop/replies/info@logichop.com?output_format=md)**,
   and we will make this right immediately. We will ensure your trial is canceled
   and process any necessary refunds.
 * Again, we deeply regret the inconvenience and appreciate the opportunity to resolve
   this for you.
 * —Logichop Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Cloudflare can break geolocation](https://wordpress.org/support/topic/cloudflare-can-break-geolocation/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/cloudflare-can-break-geolocation/#post-16751602)
 * Thank you for taking the time to bring this issue to our attention. Your detailed
   information regarding the get_client_ip() method and the HTTP_CF_CONNECTING_IP
   server variable.
   Please expect the correction to be made in the next few hours.
   Once completed, we will inform you immediately so that you can confirm the resolution
   on your end. We appreciate your patience and understanding while we work on this
   issue.
 * Warm regards,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Installing Plugin Throws Error](https://wordpress.org/support/topic/installing-plugin-throws-error/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/installing-plugin-throws-error/#post-16561869)
 * Hi
 * It must be ok , right know , new version 3.8.5.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Logic Hop - Dynamic Content Personalization for WordPress] Be Weary](https://wordpress.org/support/topic/be-weary/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/be-weary/#post-16517225)
 * Thank you for your inquiry, and we appreciate your interest in our products/services.
   We apologize for any inconvenience caused and are sorry to hear that. However,
   please note that you had contacted us a year ago, and we believed that we had
   provided a solution to your request. Best regards.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Installing Plugin Throws Error](https://wordpress.org/support/topic/installing-plugin-throws-error/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/installing-plugin-throws-error/#post-16517211)
 * Thank you for reaching out to us and sharing the error message you encountered
   while installing the base plugin.
 * The upcoming version – in few hours- will address and resolve the problem.
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] IE 11 Support](https://wordpress.org/support/topic/ie-11-support-3/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/ie-11-support-3/#post-12999855)
 * We just push the updates to the WP.org plugin directory. WPackagist should scan
   that every hour or so and update their repository accordingly.
 * Once you’re able to install the update, please confirm if it works for you. Otherwise
   let us know what errors/issues you see and we’ll work to resolve it.
    -  This reply was modified 6 years, 3 months ago by [Logic Hop](https://wordpress.org/support/users/logichop/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] IE 11 Support](https://wordpress.org/support/topic/ie-11-support-3/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/ie-11-support-3/#post-12999504)
 * Thanks [@jkca](https://wordpress.org/support/users/jkca/) – Logic Hop is using
   some modern Javascript when set to “Javascript Mode” which is not supported in
   IE 11 without a polyfill.
 * We pushed a new version of Logic Hop today (3.5.2) with a setting to include 
   the necessary polyfills for IE 11 that should solve the issue. The polyfill can
   be enabled at **Dashboard > Logic Hop > Settings > Internet Explorer 11 Polyfill**
 * This is an optional setting to prevent conflicts as many themes and plugins already
   include similar polyfills.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Would it be possible to have a new type of operator](https://wordpress.org/support/topic/would-it-be-possible-to-have-a-new-type-of-operator/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/would-it-be-possible-to-have-a-new-type-of-operator/#post-12895544)
 * We’ve added the new logic types **in_reverse** and **in_reverse_i** (and a few
   more) and also the filter you requested, now titled **logichop_apply_custom_logic**.
 * Hope that’s helpful – Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Would it be possible to have a new type of operator](https://wordpress.org/support/topic/would-it-be-possible-to-have-a-new-type-of-operator/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/would-it-be-possible-to-have-a-new-type-of-operator/#post-12878029)
 * Hi Lulia,
 * The current “in” method does the following:
 *     ```
       'in' => function($a, $b){
       	if (empty($a) || empty($b)) return false;
       	if(is_array($b)) return in_array($a, $b);
       	if(is_string($b)) return strpos($b, $a) !== false;
       	return false;
       },
       ```
   
 * For “in_reverse” would you be looking for:
 *     ```
       'in_reverse' => function($a, $b){
       	if (empty($a) || empty($b)) return false;
       	if(is_array($a)) return in_array($b, $a);
       	if(is_string($a)) return strpos($a, $b) !== false;
       	return false;
       },
       ```
   
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Would it be possible to have a new type of operator](https://wordpress.org/support/topic/would-it-be-possible-to-have-a-new-type-of-operator/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/would-it-be-possible-to-have-a-new-type-of-operator/#post-12707813)
 * Great suggestion! We’ll add it to our short-term roadmap and see if we can roll
   this out by mid-May.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Showing UserData custom attributes when creating conditional statements](https://wordpress.org/support/topic/showing-userdata-custom-attributes-when-creating-conditional-statements/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/showing-userdata-custom-attributes-when-creating-conditional-statements/#post-12679951)
 * Hi Lulia,
 * We just pushed a new version of Logic Hop (3.4.8) with a filter that will allow
   you to override and add to the condition builder options.
 * If you wanted to add a new User Data option the **User Data** condition you can
   now use the following filter:
 *     ```
        function filter_condition_builder ( $builder ) {
          $_builder = json_decode( $builder );
   
          $_builder->userdata->inputs[0]->options->my_custom_var = 'My Custom Var';
   
          return json_encode( $_builder );
        }
        add_filter( 'logichop_admin_condition_builder', 'filter_condition_builder', 10, 1 );
       ```
   
 * The object **my_custom_var** should have the same name as the key you added to
   the stored UserData. The string _‘My Custom Var’_ is the name which will appear
   in the select option.
 * I hope that’s helpful and works for your needs.
 * Thanks!
    -  This reply was modified 6 years, 5 months ago by [Logic Hop](https://wordpress.org/support/users/logichop/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Display Data Logic Tags](https://wordpress.org/support/topic/display-data-logic-tags/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/display-data-logic-tags/#post-12587876)
 * Thanks Lulia! Yes, I believe that will work as you’ve described. The Logic Hop
   Custom Object should be able to handle the values that way and be subsequently
   displayed with a Logic Tag.
 * Please let us know if you have any other questions.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Display Data Logic Tags](https://wordpress.org/support/topic/display-data-logic-tags/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/display-data-logic-tags/#post-12579817)
 * Thank you Lulia!
 * To display a named array item you can reference it with a colon. For example 
   if you had set the custom object with an array set via PHP such as:
 *     ```
       $myvar = array ();
       $myvar['color1'] = 'red';
       $myvar['color2'] = 'green';
       $myvar['color3'] = 'blue';
       $logichop->set_data( 'myvar', $myvar );
       ```
   
 * You could use the following Logic Tags to display the values:
 *     ```
       {{ var: Custom.myvar:color1 }}
       {{ var: Custom.myvar:color3 }}
       {{ var: Custom.myvar:color3 }}
       ```
   
 * If you are using an indexed array set via PHP such as:
 *     ```
       $myothervar = array ();
       $myothervar[] = 'red';
       $myothervar[] = 'green';
       $myothervar[] = 'blue';
       $logichop->set_data( 'myothervar', $myothervar );
       ```
   
 * You could use the following Logic Tags to display the values:
 *     ```
       {{ var: Custom.myothervar:0 }}
       {{ var: Custom.myothervar:1 }}
       {{ var: Custom.myothervar:2 }}
       ```
   
 * Currently with Logic Tags there’s not a way to iterate through the data as you
   would with a for or foreach loop. However you can use PHP to get the value and
   then iterate through it, such as:
 *     ```
       $colors = $logichop->get_data('Custom.myvar', false);
       foreach ( $colors as $color ) {
          echo $color;
       }
       ```
   
 * I hope that’s helpful – Please let us know if you have any other questions!
    -  This reply was modified 6 years, 5 months ago by [Logic Hop](https://wordpress.org/support/users/logichop/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Missing Shortcode section in the Logic Builder](https://wordpress.org/support/topic/missing-shortcode-section-in-the-logic-builder/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/missing-shortcode-section-in-the-logic-builder/#post-10552729)
 * Shortcodes are being phased out of Logic Hop and replaced with Logic Tags. Logic
   Tags offer more powerful functionality, greater ease-of-use as well as Gutenberg
   support ([https://www.youtube.com/watch?v=ZqXJwMoOap4](https://www.youtube.com/watch?v=ZqXJwMoOap4))
 * All existing Shortcodes and Javascript will continue to work and can be manually
   added to page/post content. The Shortcode structure is documented at [https://logichop.com/docs/using-logic-hop-shortcodes/](https://logichop.com/docs/using-logic-hop-shortcodes/)
 * For sites that employ caching, Logic Tags are automatically rendered with the
   appropriate Javascript HTML code to work with caching when “Javascript Mode” 
   and “Javascript Variables” are enabled on the Logic Hop Settings page.
 * An overview of Logic Tags can be viewed at [https://www.youtube.com/watch?v=D8iMAuMUGH0](https://www.youtube.com/watch?v=D8iMAuMUGH0)
 * The Logic Tag documentation is available at [https://logichop.com/docs/using-logic-hop-logic-tags/](https://logichop.com/docs/using-logic-hop-logic-tags/)
 * Apologies for any inconvenience, but we hope that Logic Tags will improve your
   experience with Logic Hop!
 * If you would like help getting up and running, please email us at [info@logichop.com](https://wordpress.org/support/users/logichop/replies/info@logichop.com?output_format=md)
   or you can always book a time with us at [https://calendly.com/logichop/15-minute](https://calendly.com/logichop/15-minute)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Logic Hop - Dynamic Content Personalization for WordPress] Best way to go about testing conditions?](https://wordpress.org/support/topic/best-way-to-go-about-testing-conditions/)
 *  Plugin Author [Logic Hop](https://wordpress.org/support/users/logichop/)
 * (@logichop)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/best-way-to-go-about-testing-conditions/#post-10481630)
 * Thank you! There are a number of ways to easily test Logic Hop personalization
   and conditions.
 * One of the easiest ways is to preview your page or post from the WordPress editor
   and use the Logic Hop Preview Tool. The Preview Tool automatically appears when
   you preview your pages or posts and allows you to turn conditions off and on 
   and also set, enable and disable personalization variables.
 * Another great way to quickly preview your personalization is to open your pages
   in an Incognito Window. This will create a new session and show your conditions
   and content as it would appear for a first-time visitor. Closing the Incognito
   Window will clear the session and any data.
 * To test for repeat visitor functionality a good approach is to use a separate
   browser – This will allow you to quit the browser and reopen it to simulate a
   return visit. To clear the user data you can delete the Logic Hop cookie by using
   the browser tools.
 * Query strings and UTM codes are incredibly powerful tools for personalizing your
   site. To simulate this type of personalization you can use the Preview Tool or
   simply add the query string to the URL of the page you’re testing. For example,
   adding ?utm_source=logichop at the end of a URL would pass in the value “logichop”
   for the UTM code “utm_source”.
 * For full details be sure to check out our documentation at [https://logichop.com/docs/](https://logichop.com/docs/)
   and you can always contact us directly for live support.

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

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