Title: roberto.c's Replies | WordPress.org

---

# roberto.c

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic Elementor ACF Repeater] Loop Grid only showing first 10 rows of a repeater field](https://wordpress.org/support/topic/loop-grid-only-showing-first-10-rows-of-a-repeater-field/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [1 year ago](https://wordpress.org/support/topic/loop-grid-only-showing-first-10-rows-of-a-repeater-field/#post-18539475)
 * Hello,
 * Simply replace that code with the following:
 *     ```wp-block-code
       	    if ($post_id < 0) {		    $abs_id = abs($post_id);		    $id_str = (string)$abs_id;		    if (preg_match('/^(\d+)999999(\d+)$/', $id_str, $m)) {			    $post_id = (int)$m[1];			    $current_index = (int)$m[2];		    } else {			    // fallback			    $current_index = (int)substr($id_str, -1);			    $post_id = (int)substr($id_str, 0, -7);		    }	    }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Header Footer Code Manager] A couple of improvements](https://wordpress.org/support/topic/a-couple-of-improvements/)
 *  Thread Starter [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/a-couple-of-improvements/#post-17795923)
 * Here’s another suggestion. I also have a sample HTML file that I can send you
   if you provide me with an email address.
 * The idea came from a feature in the Phpstorm IDE that I find very useful (screenshot
   attached): as you scroll down a file, if you’re currently inside a class and/
   or function (the same applies to CSS files, for example inside @ media), it sticks
   an indication of where you are. This way, the developer is facilitated in navigating,
   especially in the case of long content.
 * The sample HTML file works with PHP, JS, and CSS.
 * P.S. I used version 5 of CodeMirror.
 * ![](https://i0.wp.com/www.cantarano.com/phpstorm-sticky-info.jpg?ssl=1)
    -  This reply was modified 2 years, 1 month ago by [roberto.c](https://wordpress.org/support/users/robertoc/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Header Footer Code Manager] A couple of improvements](https://wordpress.org/support/topic/a-couple-of-improvements/)
 *  Thread Starter [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/a-couple-of-improvements/#post-17795430)
 * It will be done soon!
 * Another killer feature could be the ability to choose from:
    1. Inline script
    2. CSS/JS file creation (obviously only for snippet type CSS and JS), with the 
       possibility to choose the dependencies (a text field where I can write, for 
       example, ‘jQuery, myPersonalJs, etcJs’).
 * Regarding the backup I suggested earlier, it could be correct to call it ‘revisions’,
   similar to how Elementor revisions work.
 * I almost forgot this: a button that extends the height of the editor to be full-
   height, while keeping the ‘update’ and ‘delete’ buttons always visible.
    -  This reply was modified 2 years, 1 month ago by [roberto.c](https://wordpress.org/support/users/robertoc/).
    -  This reply was modified 2 years, 1 month ago by [roberto.c](https://wordpress.org/support/users/robertoc/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gravity Forms SendinBlue Add-On] support?](https://wordpress.org/support/topic/support-407/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/support-407/#post-15257973)
 * This plugin does not work anymore, sorry.
    Don’t worry, a found another plugin
   that can be used as an alternative.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] endless loading spinner woocommerce with error d is null](https://wordpress.org/support/topic/endless-loading-spinner-woocommerce-with-error-d-is-null/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/endless-loading-spinner-woocommerce-with-error-d-is-null/#post-6213238)
 * Hello, did you resolved?
    I have the same problem….
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MaxGalleria] images outside the media folder](https://wordpress.org/support/topic/images-outside-the-media-folder/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/images-outside-the-media-folder/#post-4924541)
 * I done the first part by myself:
 * open media.js file,line 16.
 * After “maxgalleria_media_frame = wp.media.frames.maxgalleria_media_frame = wp.
   media({” add this:
 * library: {‘type’ : ‘uploadedTo’}
 * final code:
 *     ```
       maxgalleria_media_frame = wp.media.frames.maxgalleria_media_frame = wp.media({
       			// Use our own custom class name to avoid CSS conflicts
                   className: "media-frame maxgalleria-media-frame",
       			library: {
       					'type' : 'uploadedTo'
       				},
       			// The other option here is setting the frame to "select"
                   frame: "post"
               });
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MaxGalleria] images outside the media folder](https://wordpress.org/support/topic/images-outside-the-media-folder/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/images-outside-the-media-folder/#post-4924540)
 * I agree with PlaviPixel.
    find one image if in the media container we have more
   than 1000 is a nightmare…. I think that the idea is to connect the gallery just
   to the id of the post gallery id, then have the possibility to looking inside
   other galleries if someone need a previous uploaded image.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gravity Forms Directory] Resize image during upload](https://wordpress.org/support/topic/resize-image-during-upload/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/resize-image-during-upload/#post-4582341)
 * hi Toni, you have 2 thinks to do if you want to fix it:
 * 1) go to your BACKOFFICE -> SETTINGS -> PERMALINKS
    no need to click something,
   just go there and permalink structure of rcwd upload will be fixed
 * If the problem is not resolved:
 * 2) check your htaccess file, for sure you have something strange it that file
   that overwrite the rewrite rule needed.
 * Sent the htacess file to rcwd upload support, along with a list of your installed
   plugins.
 * 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields (ACF®)] No gallery option in creating custom field?!](https://wordpress.org/support/topic/no-gallery-option-in-creating-custom-field/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [13 years ago](https://wordpress.org/support/topic/no-gallery-option-in-creating-custom-field/#post-3895084)
 * Hi, to use the gallery field, you have to buy the add-on [http://www.advancedcustomfields.com/add-ons/gallery-field/](http://www.advancedcustomfields.com/add-ons/gallery-field/).
 * If you already did it, check the install instructions.
 * Let me know 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Incorporate Upcoming Event Into Blog](https://wordpress.org/support/topic/plugin-the-events-calendar-incorporate-upcoming-event-into-blog/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-incorporate-upcoming-event-into-blog/#post-2353890)
 * [@clara](https://wordpress.org/support/users/clara/), maybe it can be useful 
   to use a query like this:
 *     ```
       $latest_post_query = "(SELECT * FROM $wpdb->posts WHERE post_type = 'post' ORDER BY post_date LIMIT 2)
           UNION ALL
           (SELECT * FROM $wpdb->posts WHERE post_type = 'tribe_events' ORDER BY post_date LIMIT 3)";
       $latest_posts = $wpdb->get_results($latest_post_query);
       ```
   
 * Look for more info here: [](http://betterwp.net/9-latest-posts-from-each-post-type/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Incorporate Upcoming Event Into Blog](https://wordpress.org/support/topic/plugin-the-events-calendar-incorporate-upcoming-event-into-blog/)
 *  [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-incorporate-upcoming-event-into-blog/#post-2353576)
 * Hi Cara, you can use this before the loop:
 * `query_posts( array( 'post_type' => array( 'post', 'tribe_events' ) ) );`
 * In this way, the events are listed together with your “normal” posts.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Gallery Comments] [Plugin: NextGEN Gallery Comments] Dopo disattivazione non vedo più le miniature](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-dopo-disattivazione-non-vedo-piu-le-miniature/)
 *  Plugin Author [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-dopo-disattivazione-non-vedo-piu-le-miniature/#post-2342856)
 * Fammi capire bene, avevi la versione 0.1.5 e andava, poi l’hai disattivata e 
   le miniature sono scomparse e anche riattivandola (sempre la 0.1.5) non ti appaiono
   più?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Gallery Comments] [Plugin: NextGEN Gallery Comments] Dopo disattivazione non vedo più le miniature](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-dopo-disattivazione-non-vedo-piu-le-miniature/)
 *  Plugin Author [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-dopo-disattivazione-non-vedo-piu-le-miniature/#post-2342847)
 * Riattivando il plugin, le miniature di riappaiono?
 * Prova a fare anche questa cosa mentre il plugin è disattivato:
 * Nel file functions.php aggiungi queste due righe:
 *     ```
       ini_set('display_errors', '1');
        ini_set('error_reporting', E_ALL);
       ```
   
 * In questo modo se ci sono errori php dovrebbero apparirti a video.
 * Procedi cosi e indicami se ti appare qualcosa (speriamo di si così è un ottimo
   punto di partenza per correggere il bug 🙂 )
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Gallery Comments] [Plugin: NextGEN Gallery Comments] Dopo disattivazione non vedo più le miniature](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-dopo-disattivazione-non-vedo-piu-le-miniature/)
 *  Plugin Author [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-dopo-disattivazione-non-vedo-piu-le-miniature/#post-2342840)
 * Ciao, no nessun file viene modificato.
    Forse hai fatto qualche modifica al template
   della galleria?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Gallery Comments] [Plugin: NextGEN Gallery Comments] Bad redirect after logout](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-bad-redirect-after-logout/)
 *  Plugin Author [roberto.c](https://wordpress.org/support/users/robertoc/)
 * (@robertoc)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-comments-bad-redirect-after-logout/#post-2300789)
 * Sorry thematrixit, i forgot to mention to insert that filter and function inside
   file functions.php of your theme and also a forgot a line inside that function.
 *     ```
       add_filter('comment_form_defaults','rcwd_comment_form_defaults');
   
       function rcwd_comment_form_defaults($defaults){
          global $user_identity;
          $defaults['logged_in_as'] = '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', esc_attr($_SERVER["REQUEST_URI"]) ) ) ) . '</p>';
          return $defaults;
       }
       ```
   

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

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