Title: w.bear's Replies | WordPress.org

---

# w.bear

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Germanized for WooCommerce] Anrede im Benutzerprofil](https://wordpress.org/support/topic/anrede-im-benutzerprofil/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/anrede-im-benutzerprofil/#post-6315593)
 * [@tmconnect](https://wordpress.org/support/users/tmconnect/)
 * Faul wie ich bin, habe ich das einfach so gelöst: (functions.php)
 *     ```
       // WOO-Germanized Anrede User-Profil
       add_action( 'show_user_profile', 'my_show_extra_profile_fields' );
       add_action( 'edit_user_profile', 'my_show_extra_profile_fields' );
       add_action( 'personal_options_update', 'my_save_extra_profile_fields' );
       add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' );
   
       function my_show_extra_profile_fields( $user ) { ?>
           <h3>Anrede des Kunden</h3>
           <table class="form-table">
               <tr>
                   <th><label for="anrede_r">Anrede Rechnung</label></th>
                   <td>
                       <select name="anrede_r">
                       <option value="1" <?php echo (get_user_meta( $user->ID, 'billing_title', true )==1) ? 'selected' : '';?>>Herr</option>
                       <option value="2" <?php echo (get_user_meta( $user->ID, 'billing_title', true )==2) ? 'selected' : '';?>>Frau</option>
                       </select>
                   </td>
               </tr>
               <tr>
                   <th><label for="anrede_v">Anrede Versand</label></th>
                   <td>
                       <select name="anrede_v">
                       <option value="1" <?php echo (get_user_meta( $user->ID, 'shipping_title', true )==1) ? 'selected' : '';?>>Herr</option>
                       <option value="2" <?php echo (get_user_meta( $user->ID, 'shipping_title', true )==2) ? 'selected' : '';?>>Frau</option>
                       </select>
                   </td>
               </tr>
   
           </table>
       <?php }
   
       function my_save_extra_profile_fields( $user_id ) {
           if ( !current_user_can( 'edit_user', $user_id ) )
               return false;
           update_usermeta( $user_id, 'billing_title', $_POST['anrede_r'] );
           update_usermeta( $user_id, 'shipping_title', $_POST['anrede_v'] );
       }
       ```
   
 * Gibt sicher bessere Lösungen, aber funktioniert…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Compliance by Hu-manity.co] JS-Problem Version 1.2.29](https://wordpress.org/support/topic/js-problem-version-1229/)
 *  Thread Starter [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/js-problem-version-1229/#post-6284933)
 * In the version 1.2.30, I still get this JS error 😉
 * I’ve modified line 37 of front.js to:
 * $ (this) .removeCookieNotice ();
 * instead of
 * this.removeCookieNotice();
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Germanized for WooCommerce] Probleme bei der MwSt. Berrechnung auf Versandkosten](https://wordpress.org/support/topic/probleme-bei-der-mwst-berrechnung-auf-versandkosten/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [11 years ago](https://wordpress.org/support/topic/probleme-bei-der-mwst-berrechnung-auf-versandkosten/#post-6099587)
 * [@chrwald82](https://wordpress.org/support/users/chrwald82/)
 * Ich habe dein Beispiel gerade ausprobiert:
 * Versandkostenpauschale: 7,90 brutto
    Produkt: 41,18 netto, 49 brutto
 * Ergebnis: 56,90 inkl. 9,09 MwSt
    (9,08 wenn Prudukt brutto eingegeben)
 * Deine falschen 24 Cent sind quasi die MwSt von der MwSt der Versandkosten, also
   19% von 1,26 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Germanized for WooCommerce] Lieferzeitenanzeige funktioniert nicht](https://wordpress.org/support/topic/lieferzeitenanzeige-funktioniert-nicht/)
 *  Thread Starter [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [11 years ago](https://wordpress.org/support/topic/lieferzeitenanzeige-funktioniert-nicht/#post-6091954)
 * Hi, das ging schnell und jetzt funktioniert alles. THX
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shariff Wrapper] Version 1.9.8 Share-URL](https://wordpress.org/support/topic/version-198-share-url/)
 *  Thread Starter [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [11 years ago](https://wordpress.org/support/topic/version-198-share-url/#post-6059854)
 * [@3uu](https://wordpress.org/support/users/3uu/)
 * Alles klar, funktioniert mit der V1.9.9, danke!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shariff Wrapper] Version 1.9.8 Share-URL](https://wordpress.org/support/topic/version-198-share-url/)
 *  Thread Starter [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [11 years ago](https://wordpress.org/support/topic/version-198-share-url/#post-6059823)
 * Super Support :thumbsUp:
 * Derweil ersetze ich === durch !==
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shariff Wrapper] Version 1.9.8 Share-URL](https://wordpress.org/support/topic/version-198-share-url/)
 *  Thread Starter [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [11 years ago](https://wordpress.org/support/topic/version-198-share-url/#post-6059802)
 * Es liegt an diesem Stück Code:
 *     ```
       // same for media
           if ( strpos($shorttag,'media=') === false ) {
               $feat_image = wp_get_attachment_url( get_post_thumbnail_id() );
               if (!empty($feat_image)) $media = esc_html($feat_image);
               else {
                   $first_image = catch_image();
                   if (!empty($first_image)) $media = esc_html($first_image);
                    else {
                       if(isset($shariff3UU["default_pinterest"])) $media = $shariff3UU["default_pinterest"];
                       else $media = plugins_url('/pictos/defaultHint.jpg',__FILE__);
                   }
               }
               $media = 'media="' . $media . '"';
           }
           else $media = '';
   
           // build shorttag
           $shorttag=substr($shorttag,0,-1) . " title='" . $page_title . "' url='" . $page_url . $media . "']"; // add url, title and media to the shorttag
       ```
   
 * Wenn ich im Widget diesen Shortcode [shariff media=] angebe, funktioniert es:
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shariff Wrapper] Version 1.9.8 Share-URL](https://wordpress.org/support/topic/version-198-share-url/)
 *  Thread Starter [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [11 years ago](https://wordpress.org/support/topic/version-198-share-url/#post-6059792)
 * Die Site ist leider noch nicht öffentlich.
 * Verwendet wird WP 4.2 Multisite mit Woocommerce und MultilingualPress
 * Die beiden verdächtigen Plugins cachify und autoptimze habe ich mal deaktiviert,
   daran liegt es nicht.
 * Derweil gehe ich auf die letzte Version 1.9.7. zurück, ist ja nicht weiter dramatisch.
   😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] ngg create gallery error](https://wordpress.org/support/topic/ngg-create-gallery-error/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/ngg-create-gallery-error/#post-4145325)
 * Hi dezahn,
 * for this “hack” you had to use the nggfunction.php of the Version 1.9.13 as source
   for the nggcreategallery-function:
 * [http://wordpress.org/plugins/nextgen-gallery/download/](http://wordpress.org/plugins/nextgen-gallery/download/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Centering a thumbnail gallery](https://wordpress.org/support/topic/centering-a-thumbnail-gallery/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/centering-a-thumbnail-gallery/#post-4206784)
 * The only thing you can do (if you want to keep 3 columns) is something like this:
 *     ```
       .ngg-galleryoverview {
           margin-left:225px;
       }
       ```
   
 * “text-align:center” doesn’t work & “float:center” doesn’t exist 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] remove border on images](https://wordpress.org/support/topic/remove-border-on-images/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/remove-border-on-images/#post-4184800)
 * The sequence as the css files are loaded is not good. nggallery.css will not 
   load as the last file. For that reason in some cases only the following code 
   works:
 *     ```
       .ngg-gallery-thumbnail img {
       background-color:transparent!important;
       border:none!important;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] How to center thumbnails in nextgen widget](https://wordpress.org/support/topic/how-to-center-thumbnails-in-nextgen-widget/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-center-thumbnails-in-nextgen-widget/#post-4172037)
 * I would use this css code:
 * .ngg-widget {
    text-align:center; margin-right:5%; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Add vertical space between images](https://wordpress.org/support/topic/add-vertical-space-between-images/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/add-vertical-space-between-images/#post-4163140)
 * Try this:
 * .ngg-widget img {
    margin-bottom: 5px; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Thumbnail problems](https://wordpress.org/support/topic/thumbnail-problems-3/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/thumbnail-problems-3/#post-4149120)
 * You can add this to your nggallery.css under OtherOptions–>Styles:
 * .ngg-gallery-thumbnail-box {
    margin-right:0; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] ngg create gallery error](https://wordpress.org/support/topic/ngg-create-gallery-error/)
 *  [w.bear](https://wordpress.org/support/users/wbear/)
 * (@wbear)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/ngg-create-gallery-error/#post-4145062)
 * Quick & Dirty-Solution:
 * wordpress.org/support/topic/ngg-20-and-image-search

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

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