Title: minachu's Replies | WordPress.org

---

# minachu

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

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

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Infinite Masonry Gallery] Reverse the order](https://wordpress.org/support/topic/reverse-the-order-2/)
 *  Thread Starter [minachu](https://wordpress.org/support/users/minachu/)
 * (@minachu)
 * [8 years ago](https://wordpress.org/support/topic/reverse-the-order-2/#post-10502819)
 * For anyone interested:
 * Edit the “edit.bundle.base” JS file and find this code:
 *     ```
       {
           key: "handleImageSelect",
           value: function() {
               for (var e = this.state.images, n = t.file_frame.state().get("selection").toJSON(), r = !1, o = 0; o < n.length; o++) "undefined" == typeof n[o].sizes || "undefined" == typeof n[o].sizes.thumbnail ? (r = !0, n[o].imgCallNeeded = !0) : n[o].thumb = n[o].sizes.thumbnail.url;
               for (var i = [], a = 0; a < n.length; a++) {
                   for (var l = n[a], s = !1, c = 0; c < e.length; c++) {
                       var u = e[c];
                       u.id == l.id && (s = !0)
                   }
                   s || (i.push(l.id), e.push(l))
               }
               var p = this;
               r ? b["default"].post(ajaxurl, {
                   action: "photo_manage_get_attachment",
                   attachID: i
               }, function(t) {
                   for (var n = 0; n < t.length; n++) {
                       var r = e.filter(function(e) {
                           return e.id === t[n].id
                       });
                       r.length > 0 && (r[0].thumb = t[n].thumb)
                   }
                   p.setState({
                       images: e,
                       hasChanged: !0
                   })
               }) : p.setState({
                   images: e,
                   hasChanged: !0
               })
           }
       }
       ```
   
 * Replace `(i.push(l.id), e.push(l))` with `(i.unshift(l.id), e.unshift(l))`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Genesis Simple Share] Causing errors in the customizer](https://wordpress.org/support/topic/causing-errors-in-the-customizer/)
 *  Thread Starter [minachu](https://wordpress.org/support/users/minachu/)
 * (@minachu)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/#post-10121361)
 * Hey Pmcgilvray!
 * Unfortunately I couldn’t find a proper solution so I opted to excluding the share
   buttons from the customizer by using this:
 *     ```
       if (!is_customize_preview()) {
       ...
       }
       ```
   
 * Like this:
 *     ```
       // Reposition the Genesis Simple Share buttons
       function bg_reposition_simple_share() {
           if (!is_customize_preview()) {
               if( 'post' === get_post_type() && is_single() ) {
                   global $Genesis_Simple_Share;
                   echo '<div class="share-buttons"><h3 class="share-title">' . __( 'Share this post', 'theme-name' ) . '</h3>';
                   genesis_share_icon_output( 'after-entry', $Genesis_Simple_Share->icons );
                   echo '</div>';
               }
           }
       }
       ```
   
 * Hope this helped! 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Genesis Simple Share] Causing errors in the customizer](https://wordpress.org/support/topic/causing-errors-in-the-customizer/)
 *  Thread Starter [minachu](https://wordpress.org/support/users/minachu/)
 * (@minachu)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/causing-errors-in-the-customizer/#post-9658529)
 * Hi Nick,
 * Thank you for the reply, I did what you said, I even installed the plugin on 
   a new blog using the Genesis Sample theme, but the issue still persists.
 * Please note that it only happens when I use a code like this one:
 *     ```
       // Reposition the Genesis Simple Share buttons
       add_action( 'genesis_entry_footer', 'bg_reposition_simple_share', 1 );
       function bg_reposition_simple_share() {
               if( 'post' === get_post_type() && is_single() ) {
                   global $Genesis_Simple_Share;
                   echo '<div class="share-buttons"><h3 class="share-title">' . __( 'Share this post', 'theme-name' ) . '</h3>';
                   genesis_share_icon_output( 'after-entry', $Genesis_Simple_Share->icons );
                   echo '</div>';
               }
       }
       ```
   
 * And I skipped selecting a display position. I have no other plugins, and version
   is 1.1.1
 * I’ll be sending a support ticket shortly.
    Thank you for your time.
    -  This reply was modified 8 years, 9 months ago by [minachu](https://wordpress.org/support/users/minachu/).
    -  This reply was modified 8 years, 9 months ago by [minachu](https://wordpress.org/support/users/minachu/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [HTML Code Generator](https://wordpress.org/support/topic/html-code-generator/)
 *  Thread Starter [minachu](https://wordpress.org/support/users/minachu/)
 * (@minachu)
 * [10 years ago](https://wordpress.org/support/topic/html-code-generator/#post-7595821)
 * I want to use it for image tags. For example, when the user types the image link
   into the input and clicks submit, the result will be:
    `<img src="image link"/
   >`

Viewing 4 replies - 1 through 4 (of 4 total)