Visual Vision
Forum Replies Created
-
Thanks a lot for your support. I replaced the google maps widget. Now it should be compliant.
Best regards!
hab jetzt herumprobiert:
ich hab die Methode “Per Nachnahme” im Reiter “Zahlungen” aktiviert und dort alle Einstellungen für “kostenlose Abholung” vorgenommen. Parallel hab ich im Reiter “Versand” in allen Versandzonen die Abholung kostenlos hinterlegt.
Leider scheint die Zahlart “per Nachnahme” bzw. “Barzahlung bei Abholung” (wie ich sie genannt habe) im Checkout nicht auf.
Die Methode “Rechnung – Zahlung bei Abholung hab ich deaktiviert (die schien aber vorher in der Kasse auf). Ich verwende den Mollie-Zahlungsgateway, aber die Standard-Zahlungsmethoden “Rechnung, Lastschrift, Per Nachnahme etc.” sind ja fix von Woocommerce hinterlegt und haben mit Mollie nichts zu tun, oder?
Übrigens hab ich zwischendurch immer wieder den Cache geleert und auch in verschiedenen Browsern probiert …Hallo,
danke für die rasche Antwort. Ich hab mir das angesehen, aber komme nicht zu einer Lösung. Denn hier wird von Settings > Checkout gesprochen. In der deutschen Übersetzung sollte das Einstellungen > Zahlung sein, denke ich. Dort kann ich allerdings bei der Option “Rechnung – Zahlung bei Abholung” nirgendwo eine Versandmethode auswählen. Hat sich das seit 2017 geändert oder schaue ich an der falschen Stelle? Entschuldige, aber ist das eigentlich ein Woocommerce-Thema? Sonst wende ich mich an deren Support-Forum …
Hi,
this effect is included in the plugin. I chose “CSS 2D/3D” as mode of display in the layout settings.
Greets, Nicole
Hi,
thank you for your response! Issue solved!
Best regards!
Forum: Plugins
In reply to: [The Events Calendar] Event Calendar doesn’t start with default start dateHi, Abs!
Thanks for your reply! As a matter of fact I installed the add-on after I reported this issue. The regular plugin still doesn’t show the correct start date in the list view which I used for my sidebar; so I removed it and replaced to by the add-on which does it perfectly and I’m very happy with that solution. For people wanting more information they can jump over to the full-screen site of the calendar where I used the regular calendar-widget – the present date range is shown correctly there.
So, thank you. Don’t have any problems currently with your plugin!Best regards from Austria,
NiciHi again,
to show you the problem:
on this page I adjusted the -75px margin again (which I had on all pages of this website): https://vermietung-verpachtung-krippl.at/immobilien/Please take at look at it on Google Chrome. The text field is squeezed to the left whereas in Apple Safari it’s stretched to the whole screen. Why is that?
Hi, I’m so sorry for not answering.
What I meant concerning the distortion of the first section: I used to have a margin of -75 px on the top of the first section after the menu so that the menu was displayed as layer over the first section (it looks like that when you scroll down now). But if I place this negative margin the whole first section is distorted in Google Chrome and Firefox (in desktop view), but looks well in Safari. Now I deleted that negative margin so that the first section comes right after the menu bar and so the distortion is gone. I tried to set it back again after the latest update of Elementor but the distortion still appears in Chrome and Firefox. It’s a small detail and it’s ok for me now to let it be like it is now. But I just want to let you know that it has been working, unfortunately I don’t really know from wich version of Elementor on this issue appeared.
Don’t want to bother you any longer with this issue as it’s “solved”. There may come a version when this will work again. I’ll keep on trying. 😉
Thank you for your support!Greets & happy Easter!
Nicole
Hi there,
I found a temporary solution for my problem: I had a margin of -75 px to the top. So the header area went unter the menu bar. Now I deleted this margin on all pages. The header area is now shown AFTER the menu bar (which I don’t really like). But it looks better as the distortion in Chrome and Firefox is gone …
For now it’s okay for me, but if you have a better solution I have an open ear! 😉Kind regards,
NicoleHello,
I rolled back version by version until 3.5.5 but unfortunately it didn’t work. I don’t know if it makes sense to even roll further back … cache is purged.
Hi,
it’s version 3.6.2 – should be the newest as I’m always updating.
Forum: Plugins
In reply to: [Ultimate Gift Cards for WooCommerce] Can’t redeem gift cardsPlease delete my request. I already found another plugin as I’m a bit under pressure. Thanks & bye!
Forum: Plugins
In reply to: [Print-O-Matic] Show print icon on accordion tabs of custom post type (ACF)It’s a php file. I’d like to place the icon at the bottom of three tabs of the accordion, which include different post types. One tab contains post type “Kerzen”, one tab contains the post type “blumen” and the last one contains comments (called “Kondolenzen”). Do I have to place the print trigger three times? Can I insert Shortcode there?
This is the content of the php-file:
<?php /* Plugin Name: Funeral Services Post Types & Taxonomies Plugin URI: Description: Funeral Services and Obituaries Version: 1.0 Author: sinci Author URI: https://www.sinci.at License: GPL2 License: URI: https://www.gnu.org/licenses/gpl-2.0.html */ // Register style sheet add_action( 'wp_enqueue_scripts', 'register_plugin_styles',100); /** * Register style sheet */ function register_plugin_styles() { wp_register_style('funeral-service', plugins_url( 'funeral-service/css/funeral-service.css' ) ); wp_enqueue_style('funeral-service'); } // Register Costum Post Type function cptui_register_my_cpts() { /** * Post Type: Trauerfälle. */ $labels = array( "name" => __( "Trauerfälle", "funeral" ), "singular_name" => __( "Trauerfälle", "funeral" ), ); $args = array( "label" => __( "Trauerfälle", "funeral" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => true, "show_ui" => true, "delete_with_user" => false, "show_in_rest" => false, "rest_base" => "", "rest_controller_class" => "WP_REST_Posts_Controller", "has_archive" => true, "show_in_menu" => true, "show_in_nav_menus" => true, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => false, "rewrite" => array( "slug" => "trauerfaelle", "with_front" => true ), "query_var" => true, "menu_position" => 20, 'menu_icon' => plugin_dir_url(__FILE__) . 'images/trauerfaelle.png', "supports" => array( "title", "post-formats", "comments" ), ); register_post_type( "trauerfaelle", $args ); /** * Post Type: Kerzen. */ $labels = array( "name" => __( "Kerzen", "funeral" ), "singular_name" => __( "Kerzen", "funeral" ), ); $args = array( "label" => __( "Kerzen", "funeral" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => true, "show_ui" => true, "delete_with_user" => false, "show_in_rest" => false, "rest_base" => "", "rest_controller_class" => "WP_REST_Posts_Controller", "has_archive" => false, "show_in_menu" => true, "show_in_nav_menus" => true, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => false, "rewrite" => array( "slug" => "kerzen", "with_front" => true ), "query_var" => true, 'menu_icon' => plugin_dir_url(__FILE__) . 'images/kerzen.png', "supports" => array( "title" ), ); register_post_type( "kerzen", $args ); /** * Post Type: Blumen. */ $labels = array( "name" => __( "Blumen", "funeral" ), "singular_name" => __( "Blumen", "funeral" ), ); $args = array( "label" => __( "Blumen", "funeral" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => true, "show_ui" => true, "delete_with_user" => false, "show_in_rest" => false, "rest_base" => "", "rest_controller_class" => "WP_REST_Posts_Controller", "has_archive" => false, "show_in_menu" => true, "show_in_nav_menus" => true, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => false, "rewrite" => array( "slug" => "blumen", "with_front" => true ), "query_var" => true, 'menu_icon' => plugin_dir_url(__FILE__) . 'images/blumen.png', "supports" => array( "title" ), ); register_post_type( "blumen", $args ); } add_action( 'init', 'cptui_register_my_cpts' ); /* CUSTOM CODE FUNERAL SERVICE */ function wpb_move_comment_field_to_bottom( $fields ) { $comment_field = $fields['comment']; unset( $fields['comment'] ); $fields['comment'] = $comment_field; return $fields; } add_filter( 'comment_form_fields', 'wpb_move_comment_field_to_bottom' ); add_filter('acf/load_field/name=candles', 'candles_acf_load_field'); function candles_acf_load_field( $field ) { $field['choices'] = array( 'candle_1' => '<div>'.'<img class="candle-images" width="150" src="' . plugins_url('images/candle.png', __FILE__ ) .'" alt="kerze" />' . '</div>', 'candle_2' => '<div>'.'<img class="candle-images" width="150" src="' . plugins_url('images/candle2.png', __FILE__ ) .'" alt="kerze" />' . '</div>', 'candle_3' => '<div>'.'<img class="candle-images" width="150" src="' . plugins_url('images/candle3.png', __FILE__ ) .'" alt="kerze" />' . '</div>', ); return $field; } add_filter('acf/load_field/name=blumens', 'blumen_acf_load_field'); function blumen_acf_load_field( $field ) { $field['choices'] = array( 'blumen_1' => '<img class="candle-images" width="150" src="' . plugins_url('/images/rote-rosen.png', __FILE__ ) .'" alt="rote-rosen" />', 'blumen_2' => '<img class="candle-images" width="150" src="' . plugins_url('/images/weisse-rosen.png', __FILE__ ) .'" alt="weisse-rosen" />', 'blumen_3' => '<img class="candle-images" width="150" src="' . plugins_url('/images/weisse-lilien.png', __FILE__ ) .'" alt="weisse-lilien" />' ); return $field; } add_filter('acf/pre_save_post' , 'my_pre_save_post' ); function my_pre_save_post( $post_id ) { if(isset($_POST['current_form_type']) && $_POST['current_form_type'] == "blumen"){ $cur_post_id = $_POST['current_post_id']; $_POST['acf']['field_5b586fe35ce24'] = $cur_post_id; } elseif((isset($_POST['current_form_type']) && $_POST['current_form_type'] == "kerzen")) { $cur_post_id = $_POST['current_post_id']; $_POST['acf']['field_5b586fbbfc057'] = $cur_post_id; } return $post_id; } add_filter('acf/update_value/name=name_kerzen', 'jb_update_postdata', 10, 3); function jb_update_postdata( $value, $post_id, $field ) { $kerzennamen = $value;//get_field('name_kerzen', $post_id);//. ' ' . $title = $kerzennamen; $slug = sanitize_title( $title ); $postdata = array( 'ID' => $post_id, 'post_title' => $title, 'post_type' => 'kerzen', 'post_name' => $slug ); wp_update_post( $postdata ); return $value; } add_filter('acf/update_value/name=name_blumen', 'jb_update_postdata2', 10, 3); function jb_update_postdata2( $value, $post_id, $field ) { $kerzennamen = $value;//get_field('name_blumen', $post_id). ' ' . $title = $kerzennamen; $slug = sanitize_title( $title ); $postdata = array( 'ID' => $post_id, 'post_title' => $title, 'post_type' => 'blumen', 'post_name' => $slug ); wp_update_post( $postdata ); return $value; } // Send E-Mail add_action('acf/save_post','send_admin_email_kerzen'); function send_admin_email_kerzen( $post_id ) { if( is_admin() ) { return; } $to = ''; if( get_post_type($post_id) == 'blumen' ) { $post = get_post( $post_id ); $name = get_field('name_blumen', $post_id); $text_blumen = get_field('text_blumen', $post_id); $parent_post_id = get_field('trauerfall_blumen', $post_id); $parent_post = get_post($parent_post_id); $subject = $post->post_title; //$headers[] = 'From: ' . $name . ' <site@>'; $headers[] = 'Cc: '; $headers[] = 'Cc: '; $body = "Date: " . $post->post_date; $body .= '<br/>' . 'Post: Virtuelleblumen'; $body .= '<br/>' . 'For: ' . $parent_post->post_title; $body .= '<br/>' . 'Text: ' . $text_blumen; $body .= '<br/>' . 'From: ' . $name; $body .= '<br/><a href="' . admin_url( 'post.php?post=' . $post_id . '&action=edit') . '">Approve Here </a>'; wp_mail($to, $subject, $body, $headers ); } else if ( get_post_type($post_id) == 'kerzen' ) { $post = get_post( $post_id ); $name = get_field('name_kerzen', $post_id); $text_kerzen = get_field('text_kerzen', $post_id); $parent_post_id = get_field('trauerfall_kerzen', $post_id); $parent_post = get_post($parent_post_id); $subject = $post->post_title; //$headers[] = 'From: ' . $name . ' <site@'; $body = "Date: " . $post->post_date; $body .= '<br/>' . 'Post: Gedenkkerzen'; $body .= '<br/>' . 'For: ' . $parent_post->post_title; $body .= '<br/>' . 'Text: ' . $text_kerzen; $body .= '<br/>' . 'From: ' . $name; $body .= '<br/><a href="' . admin_url( 'post.php?post=' . $post_id . '&action=edit') . '">Approve Here </a>'; wp_mail($to, $subject, $body, $headers ); } } function mail_set_content_type(){ return "text/html"; } add_filter( 'wp_mail_content_type','mail_set_content_type' ); add_action( 'wp_ajax_save_my_data', 'acf_form_head' ); add_action( 'wp_ajax_nopriv_save_my_data', 'acf_form_head' ); /** * Move the anr_captcha_field_1 to the bottom. * * @see https://developer.ww.wp.xz.cn/reference/hooks/comment_form_fields/ * @param array $fields The comment fields.. * @return array */ function prefix_move_anr_captcha_field_1_to_bottom( $fields ) { $comment_field = $fields['anr_captcha_field_1']; unset( $fields['anr_captcha_field_1'] ); $fields['anr_captcha_field_1'] = $anr_captcha_field_1; return $fields; } add_filter( 'comment_form_fields','prefix_move_anr_captcha_field_1_to_bottom', 10, 1 );Forum: Plugins
In reply to: [Save as PDF Plugin by PDFCrowd] show print icon on custom post typessorry, wrong support forum …
Thank You!