Title: ChrisHPZ's Replies | WordPress.org

---

# ChrisHPZ

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPGraphQL] Query patterns](https://wordpress.org/support/topic/query-patterns/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/query-patterns/#post-17786797)
 * Ok thanks a lot Joseph. Marking this as resolved 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Traction External Links Speed Bump] Links in main navigation and 3rd party popup](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/#post-14580974)
 * 5 star review given. Many thanks my friend
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Traction External Links Speed Bump] Links in main navigation and 3rd party popup](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/#post-14546285)
 * I really wish there was a function I could trigger though. I could do something
   like the following:
 *     ```
       $(document).on( '#element', 'click', function(){
       runSomeFunction();
       });
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Traction External Links Speed Bump] Links in main navigation and 3rd party popup](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/#post-14546273)
 * Yeah, the popup works fine when it’s in a content area. Go to [https://www.membersourcecu.org/](https://www.membersourcecu.org/).
   Click on Member Education underneath the “Featured Services” heading.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Traction External Links Speed Bump] Links in main navigation and 3rd party popup](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/#post-14545634)
 * Hi JRT, this site has remained in the same state since it was launched. Below
   are my Ubermenu settings as taken from Ubermenu->Main UberMenu Configuration-
   >Import/Export
 * `{"direct_inject":"off","nav_menu_id":"6","skin":"black-white-2","orientation":"
   horizontal","vertical_submenu_width":"","trigger":"hover_intent","transition":"
   shift","transition_duration":".1s","bar_align":"left","bar_width":"","bar_margin_top":"","
   bar_margin_bottom":"","items_align":"left","bar_inner_center":"off","bar_inner_width":"","
   descriptions_top_level":"on","descriptions_headers":"on","descriptions_normal":"
   on","target_divider":" \u2013 ","bound_submenus":"off","submenu_inner_width":"
   1300px","submenu_max_height":"","dropdown_within_mega":"off","image_size":"full","
   image_width":"249px","image_height":"223px","image_set_dimensions":"off","image_title_attribute":"
   off","disable_images_mobile":"off","lazy_load_images":"off","submenu_background_image_reponsive_hide":"
   off","responsive":"on","responsive_toggle":"on","responsive_toggle_tag":"a","
   responsive_toggle_content":"Menu","responsive_collapse":"on","responsive_max_height":"","
   display_retractor_top":"on","display_retractor_bottom":"on","retractor_label":"","
   force_styles":"off","style_menu_bar_background":"","style_menu_bar_transparent":"
   off","style_menu_bar_border":"","style_menu_bar_radius":"","style_top_level_font_size":"
   15","style_top_level_text_transform":"capitalize","style_top_level_font_weight":"","
   style_top_level_font_color":"","style_top_level_font_color_hover":"","style_top_level_font_color_current":"","
   style_top_level_font_color_highlight":"","style_top_level_background_hover":"","
   style_top_level_background_current":"","style_top_level_background_highlight":"","
   style_top_level_item_divider_color":"","style_top_level_item_glow_opacity":"","
   style_top_level_item_glow_opacity_hover":"","style_top_level_padding":"","style_top_level_horiz_padding":"","
   style_extra_submenu_indicator_padding":"on","style_align_submenu_indicator":"
   edge","style_top_level_item_height":"","style_submenu_background_color":"","style_submenu_border_color":"","
   style_submenu_dropshadow_opacity":"","style_submenu_fallback_font_color":"","
   style_submenu_minimum_column_width":"","style_submenu_highlight_font_color":"","
   style_submenu_item_padding":"","style_header_font_size":"15","style_header_font_color":"","
   style_header_font_color_hover":"","style_header_font_color_current":"","style_header_font_weight":"
   normal","style_header_border_color":"","display_header_border_color":"off","style_normal_font_color":"","
   style_normal_font_color_hover":"","style_normal_font_color_current":"","style_normal_font_size":"
   14","style_normal_background_hover":"","style_flyout_vertical_padding":"","style_description_font_size":"","
   style_description_font_color":"","style_description_text_transform":"","style_top_level_arrow_color":"","
   style_submenu_arrow_color":"","style_hr":"","style_toggle_background":"","style_toggle_color":"","
   style_toggle_background_hover":"","style_toggle_color_hover":"","style_search_color":"","
   style_search_placeholder_color":"","style_search_icon_color":"","row_spacing":"","
   icon_width":"","icon_display":"block","google_font":"","google_font_style":"","
   custom_font_property":"","container_tag":"nav","allow_shortcodes_in_labels":"
   off","display_submenu_indicators":"on","display_submenu_close_button":"off","
   theme_location_instance":"0"}`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Traction External Links Speed Bump] Links in main navigation and 3rd party popup](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/#post-14537858)
 * I can’t recall any specific changes that would affect the functionality. But 
   on another note, is there an alternative way I could trigger the 3rd party popup
   on the links in question? Maybe something like the following:
 * `<a href="some-external-link" onclick="someFunction()">External Link</a>`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Traction External Links Speed Bump] Links in main navigation and 3rd party popup](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/#post-14517621)
 * Hi jrt341, just checking back to see if you’re able to come up with anything.
   I appreciate it 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Traction External Links Speed Bump] Links in main navigation and 3rd party popup](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/links-in-main-navigation-and-3rd-party-popup/#post-14508214)
 * Thanks jrt341. Just to confirm, the 3rd party popup issue is specific to external
   links in the main navigation. External links in page content sections are working
   as expected.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Map details in search results](https://wordpress.org/support/topic/map-details-in-search-results/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/map-details-in-search-results/#post-14172350)
 * Many thanks Tijmen, I will try that. I don’t suppose you have a link which demonstrates
   this huh? Make no mistake, it’s not that I don’t believe you. It’s more about
   our client is a kind of “I’ll believe it when I see it” type of person. #good_times
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] Fatal errors and limited product syncing with Square](https://wordpress.org/support/topic/fatal-errors-and-limited-product-syncing-with-square/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/fatal-errors-and-limited-product-syncing-with-square/#post-12816900)
 * Hi John, all apologies for the delay in response. So this error presented itself
   right after updating this plugin. It hasn’t presented itself since.
 * Unfortunately, I’m getting additional errors about products not syncing because
   the plugin doesn’t think a given product is in Square. One such example is at
   [https://shoprecoverystuff.com/product/recovery-fire-hoodie/](https://shoprecoverystuff.com/product/recovery-fire-hoodie/)
 * I logged into the client’s Square account and indeed found the product in question.
   I tried disconnecting / reconnecting Square as well. It didn’t change anything.
 * I’m not sure if you can glean some information from the screenshot below. But
   it may help to getting to the root of the problem
    [⌊2020-05-11_1452⌉](https://www.screencast.com/t/KteNJrTW)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] How can I convert this old code to work with the latest version of NGG Gallery?](https://wordpress.org/support/topic/how-can-i-convert-this-old-code-to-work-with-the-latest-version-of-ngg-gallery/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-can-i-convert-this-old-code-to-work-with-the-latest-version-of-ngg-gallery/#post-11968289)
 * Hi [@jaimeimagely](https://wordpress.org/support/users/jaimeimagely/) yes the
   gallery in question is showing in the Manage Galleries page. The ID is 1. Below
   is the code I’m using:
 *     ```
       $shortcode = do_shortcode('[ngg src="galleries" ids="1" display="basic_compact_album"]');
       echo apply_filters('the_content', $shortcode);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] How can I convert this old code to work with the latest version of NGG Gallery?](https://wordpress.org/support/topic/how-can-i-convert-this-old-code-to-work-with-the-latest-version-of-ngg-gallery/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/how-can-i-convert-this-old-code-to-work-with-the-latest-version-of-ngg-gallery/#post-11964951)
 * Thank you Gaby. I did as instructed with the gallery display and id. Now I get
   a new error message:
 * “We cannot display this gallery”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery by 10Web - Mobile-Friendly Image Gallery] Plugin scripts are loaded before jQuery](https://wordpress.org/support/topic/plugin-scripts-are-loaded-before-jquery/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-scripts-are-loaded-before-jquery/#post-11339537)
 * How could I possibly have a conflict when I use a default WordPress theme and
   only Photo Gallery plugin enabled? The global script function still loads its
   output directly after the <title></title> tags on the front end of the site.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery by 10Web - Mobile-Friendly Image Gallery] Plugin scripts are loaded before jQuery](https://wordpress.org/support/topic/plugin-scripts-are-loaded-before-jquery/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-scripts-are-loaded-before-jquery/#post-11332451)
 * I did as instructed and deactivated plugins and switched to a default WordPress
   theme. The issue still persisted. I took a look at the plugin code. So the function
   responsible for adding the above code is coming from public function global_script()
   on line 963 in photo-gallery.php. Obviously, this function relies on jQuery. 
   So it has to load after jQuery is loaded.
 * Now if we check out line 161 in the same file, we see the following:
 * `add_action('admin_head', array($this, 'global_script'));`
 * What’s missing here is a reliance on jQuery. The same thing applies to the function
   on line 1862 in photo-gallery.php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ecwid by Lightspeed Ecommerce Shopping Cart] PHP 7 Errors](https://wordpress.org/support/topic/php-7-errors-9/)
 *  Thread Starter [ChrisHPZ](https://wordpress.org/support/users/chrishpz/)
 * (@chrishpz)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-7-errors-9/#post-11308271)
 * Yeah that’s what I was thinking too. I didn’t see anything being compromised 
   and certainly didn’t experience any fatal errors with the plugin. Many thanks
   for the reply. Marking as resolved.

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

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