w.bear
Forum Replies Created
-
Forum: Plugins
In reply to: [Germanized for WooCommerce] Anrede im BenutzerprofilFaul 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
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] JS-Problem Version 1.2.29In 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();
Ich habe dein Beispiel gerade ausprobiert:
Versandkostenpauschale: 7,90 brutto
Produkt: 41,18 netto, 49 bruttoErgebnis: 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
In reply to: [Germanized for WooCommerce] Lieferzeitenanzeige funktioniert nichtHi, das ging schnell und jetzt funktioniert alles. THX
Forum: Plugins
In reply to: [Shariff Wrapper] Version 1.9.8 Share-URLAlles klar, funktioniert mit der V1.9.9, danke!
Forum: Plugins
In reply to: [Shariff Wrapper] Version 1.9.8 Share-URLSuper Support :thumbsUp:
Derweil ersetze ich === durch !==
Forum: Plugins
In reply to: [Shariff Wrapper] Version 1.9.8 Share-URLEs 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
In reply to: [Shariff Wrapper] Version 1.9.8 Share-URLDie 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. ??
Hi dezahn,
for this “hack” you had to use the nggfunction.php of the Version 1.9.13 as source for the nggcreategallery-function:
https://www.ads-software.com/plugins/nextgen-gallery/download/
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 ??
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; }
I would use this css code:
.ngg-widget {
text-align:center;
margin-right:5%;
}Try this:
.ngg-widget img {
margin-bottom: 5px;
}You can add this to your nggallery.css under OtherOptions–>Styles:
.ngg-gallery-thumbnail-box {
margin-right:0;
}Quick & Dirty-Solution:
www.ads-software.com/support/topic/ngg-20-and-image-search