Title: rocketpig3's Replies | WordPress.org

---

# rocketpig3

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] Editing author archives](https://wordpress.org/support/topic/editing-author-archives/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/editing-author-archives/#post-17120256)
 * I was informed that my license has expired. So can I please get help with this
   issue here, assuming free support is offered?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] Editing author archives](https://wordpress.org/support/topic/editing-author-archives/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/editing-author-archives/#post-17117783)
 * That page doesn’t seem to allow tickets to be logged as an email, it redirects
   to the forum? I have sent an email under the account issues section regardless.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] Editing author archives](https://wordpress.org/support/topic/editing-author-archives/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/editing-author-archives/#post-17117765)
 * I’m not necessarily using Elements, just suggesting it as a solution. I am premium
   but can’t make a thread there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP is using http:// to embed images](https://wordpress.org/support/topic/crp-is-using-http-to-embed-images/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/crp-is-using-http-to-embed-images/#post-17003769)
 * Thanks, saving settings to clear the cache worked.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP is using http:// to embed images](https://wordpress.org/support/topic/crp-is-using-http-to-embed-images/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/crp-is-using-http-to-embed-images/#post-17003603)
 * We’ve always been using https with a redirect but only recently changed the site
   URL in general settings to the https version. It’s all images I believe. Is there
   a way I can PM you the URL?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] Troubleshooting mode stuck site in a redirect loop](https://wordpress.org/support/topic/troubleshooting-mode-stuck-site-in-a-redirect-loop/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/troubleshooting-mode-stuck-site-in-a-redirect-loop/#post-16658610)
 * Just realised this is a problem with the Health Check plugin, although I only
   saw the troubleshoot option by CRP. So this post is off-topic and I can’t delete
   it. But would appreciate any ideas if you have any.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MaxButtons - Create buttons] HTML codes are breaking Maxbutton URLs](https://wordpress.org/support/topic/html-codes-are-breaking-maxbutton-urls/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/html-codes-are-breaking-maxbutton-urls/#post-16629922)
 * Hi,
 * We tried this in functions.php:
 *     ```wp-block-code
       /* URL > data URL MaxButtons */
       $url = apply_filters('mb-url', $url, $data['url']);  // passes processed url / raw url.
       $url = apply_filters('mb-url-' . $button_id, $url, $data['url']);
   
       add_filter('mb-url', function ($url, $dataUrl) 
       { 
       return $dataUrl; 
       } );
       ```
   
 * We get the error: _Uncaught ArgumentCountError: Too few arguments to function{
   closure}(), 1 passed in wp-includes/class-wp-hook.php on line 310 and exactly
   2 expected in wp-content/themes/generatepress-child/functions.php:33_
 * Line 33 is the add_filter line. I assume we have closed the filter incorrectly
   or something of that nature.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Changing the “Previous” button to a reset button on final page](https://wordpress.org/support/topic/changing-the-previous-button-to-a-reset-button-on-final-page/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/changing-the-previous-button-to-a-reset-button-on-final-page/#post-16552576)
 * Thanks, this worked but the reset button is not styled the same as the next/previous
   buttons. I think our theme might be overriding it. Is there some CSS we can use
   to force the form’s theme for the button? We are using the default form theme.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Display a field if no other fields are shown](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/#post-16550879)
 * Thanks, the form now works. However the sliders now begin with negative values–
   they should start at zero. Also, when dragging the slider to the right, it then
   jumps back about 10-20 units when the mouse is released.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Display a field if no other fields are shown](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/#post-16549915)
 * I have translated this into what I thnk should work for my form:
 *     ```wp-block-code
       (function(){
         let display_40 = true;
         let slider1 = fieldname21-40*((fieldname3+fieldname4)-1);
         let slider2 = fieldname25-40*((fieldname3+fieldname4)-1);
         let slider3 = fieldname7-3*((fieldname3+fieldname4)-1);
         let slider4 = fieldname13-100*((fieldname3+fieldname4)-1);
         let slider5 = fieldname38-100*((fieldname3+fieldname4)-1);
         let slider6 = fieldname17-25*((fieldname3+fieldname4)-1);
         let slider7 = fieldname19-70*((fieldname3+fieldname4)-1);
   
         HIDEFIELD(fieldname28|n);
         HIDEFIELD(fieldname29|n);
         HIDEFIELD(fieldname10|n);
         HIDEFIELD(fieldname30|n);
         HIDEFIELD(fieldname32|n);
         HIDEFIELD(fieldname31|n);
         HIDEFIELD(fieldname33|n);
   
         getField(fieldname21|n).setVal(slider1);
         getField(fieldname25|n).setVal(slider2);
         getField(fieldname7|n).setVal(slider3);
         getField(fieldname13|n).setVal(slider4);
         getField(fieldname38|n).setVal(slider5);
         getField(fieldname17|n).setVal(slider6);
         getField(fieldname19|n).setVal(slider7);
   
         if(slider1>89){
           SHOWFIELD(fieldname28|n);
           display_40 = false;
         } 
   
         if(slider2>79){
           SHOWFIELD(fieldname29|n);
           display_40 = false;
         } 
   
         if(slider3>30){
           SHOWFIELD(fieldname10|n);
           display_40 = false;
         }
   
         if(slider4>540){
           SHOWFIELD(fieldname30|n);
           display_40 = false;
         } 
   
         if(slider5>175){
           SHOWFIELD(fieldname32|n);
           display_40 = false;
         } 
   
         if(slider6>25){
           SHOWFIELD(fieldname31|n);
           display_40 = false;
         } 
   
         if(slider7>70){
           SHOWFIELD(fieldname33|n);
           display_40 = false;
         }
   
         if(display_40){SHOWFIELD(fieldname40|n);}
       })()
       ```
   
 * I then put this in a calculated field equation and removed all other equations
   from other calculated fields. However now whenever I preview the form. including
   in its cff URL, the page is not responsive (cannot move sliders) and eventually
   the tab crashes. Can’t open the console to see jS errors. Is there a circular
   reference or something I have included?
   Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Display a field if no other fields are shown](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/#post-16549726)
 * Where should the code (once edited to account for the specific fields I’m using)
   be pasted?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Calculated Fields Form - AI Form Builder for WordPress - Contact, Payment, Quote, Quiz & More] Display a field if no other fields are shown](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/display-a-field-if-no-other-fields-are-shown/#post-16549718)
 * Thanks. Just so I understand, this hypothetical code should be in the Equation
   of a new calculated field? Is this the only calculated field?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MaxButtons - Create buttons] HTML codes are breaking Maxbutton URLs](https://wordpress.org/support/topic/html-codes-are-breaking-maxbutton-urls/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/html-codes-are-breaking-maxbutton-urls/#post-16502004)
 * Thanks. Sorry I’m a bit inexperienced with filters, in this example is what it’s
   doing basically looking for any instances of ‘url’ in any MaxButton and replacing
   them with $dataUrl, which should be the unprocessed version?
 * Thanks
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Removing nofollow attribute from social widget icon links](https://wordpress.org/support/topic/removing-nofollow-attribute-from-social-widget-icon-links/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/removing-nofollow-attribute-from-social-widget-icon-links/#post-16373212)
 * That is a custom plugin, I am talking about the default WordPress widgets.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[GeneratePress] Adding search functionality to mobile menu](https://wordpress.org/support/topic/adding-search-functionality-to-mobile-menu/)
 *  Thread Starter [rocketpig3](https://wordpress.org/support/users/rocketpig3/)
 * (@rocketpig3)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/adding-search-functionality-to-mobile-menu/#post-16327204)
 * Thanks for the help, there was some CSS blocking it.

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

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