Erstellte Forenantworten

Ansicht von 15 Antworten – 1 bis 15 (von insgesamt 17)
  • Forum: Allgemeine Fragen
    Als Antwort auf: 403 Forbidden
    Themenersteller undusted1364

    (@ghost108)

    kann ich bestätigen! 🙂

    Forum: Allgemeine Fragen
    Als Antwort auf: 403 Forbidden
    Themenersteller undusted1364

    (@ghost108)

    tatsächlich habe ich das auf einer anderen WordPress Seite auch (selbes Problem).

    Hier ist dieses Plugin nicht installiert – läuft aber auch über Strato

    Forum: Allgemeine Fragen
    Als Antwort auf: 403 Forbidden
    Themenersteller undusted1364

    (@ghost108)

    Ja ist bei Strato. Hast du eien Referenz für mich, wo andere auch noch vom Problem berichten?

    Forum: Allgemeine Fragen
    Als Antwort auf: 403 Forbidden
    Themenersteller undusted1364

    (@ghost108)

    ` wp-core

    version: 6.6
    site_language: de_DE_formal
    user_language: de_DE_formal
    timezone: Europe/Berlin
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 1149
    dotorg_communication: true wp-paths-sizes

    wordpress_path: /mnt/web024/d1/58/57278358/htdocs
    wordpress_size: loading…
    uploads_path: /mnt/web024/d1/58/57278358/htdocs/wp-content/uploads
    uploads_size: loading…
    themes_path: /mnt/web024/d1/58/57278358/htdocs/wp-content/themes
    themes_size: loading…
    plugins_path: /mnt/web024/d1/58/57278358/htdocs/wp-content/plugins
    plugins_size: loading…
    fonts_path: /mnt/web024/d1/58/57278358/htdocs/wp-content/uploads/fonts
    fonts_size: loading…
    database_size: loading…
    total_size: loading… wp-active-theme

    name: MediaCenter Child (mediacenter-child)
    version: 2.7.15
    author: MadrasThemes
    author_website: https://madrasthemes.com
    parent_theme: MediaCenter (mediacenter)
    theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, title-tag, post-formats, automatic-feed-links, menus, widgets
    theme_path: /mnt/web024/d1/58/57278358/htdocs/wp-content/themes/mediacenter-child
    auto_update: Deaktiviert wp-parent-theme

    name: MediaCenter (mediacenter)
    version: 2.7.15
    author: MadrasThemes
    author_website: https://madrasthemes.com/
    theme_path: /mnt/web024/d1/58/57278358/htdocs/wp-content/themes/mediacenter
    auto_update: Deaktiviert wp-themes-inactive (3)

    Twenty Twenty-Four: version: 1.1, author: Das WordPress-Team (latest version: 1.2), Automatische Aktualisierungen deaktiviert
    Twenty Twenty-Three: version: 1.4, author: Das WordPress-Team (latest version: 1.5), Automatische Aktualisierungen deaktiviert
    Twenty Twenty-Two: version: 1.7, author: Das WordPress-Team (latest version: 1.8), Automatische Aktualisierungen deaktiviert wp-plugins-active (20)

    Advanced Custom Fields: version: 6.3.3, author: WP Engine, Automatische Aktualisierungen deaktiviert
    Child Theme Check: version: 1.0.9, author: Torsten Landsiedel, Automatische Aktualisierungen deaktiviert
    Child Theme Configurator: version: 2.6.6, author: Lilaea Media, Automatische Aktualisierungen deaktiviert
    CMP - Coming Soon & Maintenance Plugin: version: 4.1.12, author: NiteoThemes, Automatische Aktualisierungen deaktiviert
    Contact Form 7: version: 5.9.6, author: Takayuki Miyoshi, Automatische Aktualisierungen deaktiviert
    Cookie Notice & Compliance for GDPR / CCPA: version: 2.4.17.1, author: Hu-manity.co, Automatische Aktualisierungen deaktiviert
    Easy WP SMTP: version: 2.3.1, author: Easy WP SMTP, Automatische Aktualisierungen deaktiviert
    Jetpack: version: 13.6, author: Automattic, Automatische Aktualisierungen deaktiviert
    Loco Translate: version: 2.6.11, author: Tim Whitlock, Automatische Aktualisierungen deaktiviert
    Media Center Extensions: version: 2.7.15, author: Transvelo, Automatische Aktualisierungen aktiviert
    Payment Gateway Based Fees and Discounts for WooCommerce: version: 2.13.0, author: Tyche Softwares, Automatische Aktualisierungen deaktiviert
    Redux Framework: version: 4.4.17, author: Team Redux, Automatische Aktualisierungen deaktiviert
    Regenerate Thumbnails: version: 3.1.6, author: Alex Mills (Viper007Bond), Automatische Aktualisierungen deaktiviert
    Simplesurance plugin: version: 1.0.7, author: simplesurance GmbH, Automatische Aktualisierungen deaktiviert
    User Role Editor: version: 4.64.2, author: Vladimir Garagulya, Automatische Aktualisierungen deaktiviert
    WooCommerce: version: 9.1.2, author: Automattic, Automatische Aktualisierungen deaktiviert
    WooCommerce Legacy REST API: version: 1.0.4, author: WooCommerce, Automatische Aktualisierungen deaktiviert
    WooCommerce PayPal Payments: version: 2.8.1, author: WooCommerce, Automatische Aktualisierungen deaktiviert
    WooCommerce Shipping Per Product v2: version: 2.2.8, author: WooThemes (latest version: 2.5.7), Automatische Aktualisierungen aktiviert
    WPBakery Page Builder: version: 6.6.0, author: Michael M - WPBakery.com (latest version: 7.7.2), Automatische Aktualisierungen deaktiviert wp-media

    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1693
    imagemagick_version: ImageMagick 6.9.13-7 Q16 x86_64 18310 https://legacy.imagemagick.org
    imagick_version: 3.5.1
    file_uploads: 1
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 192
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 0
    imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, AVI, AVS, B, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, Y, YCbCr, YCbCrA, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP
    ghostscript_version: not available wp-server

    server_architecture: Linux localhost 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Linux localhost 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Linux localhost 4.18.0-513.11.1.el8_9.x86_64 #1 SMP
    httpd_software: Apache/2.4.59 (Unix)
    php_version: 7.4.33 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 4000
    time_limit: 240
    memory_limit: 512M
    max_input_time: 60
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 8.8.0 OpenSSL/3.0.14
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    current: 2024-07-17T06:13:40+00:00
    utc-time: Wednesday, 17-Jul-24 06:13:40 UTC
    server-time: 2024-07-17T08:13:38+02:00 wp-database

    extension: mysqli
    server_version: 5.7.42-log
    client_version: 5.6.45
    max_allowed_packet: 67108864
    max_connections: 3000 wp-constants

    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /mnt/web024/d1/58/57278358/htdocs/wp-content
    WP_PLUGIN_DIR: /mnt/web024/d1/58/57278358/htdocs/wp-content/plugins
    WP_MEMORY_LIMIT: 512M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Nicht definiert
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem

    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    fonts: not writable
    0: Writable redux-framework

    version: 4.4.17
    installation: plugin
    data directory: /mnt/web024/d1/58/57278358/htdocs/wp-content/plugins/redux-framework/redux-core/
    browser:
    Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
    Browser: Firefox
    Version: 128.0
    Platform: Apple redux-instance-media_center_theme_options

    opt_name: media_center_theme_options
    global_variable: media_center_theme_options
    dev_mode: false
    ajax_save: true
    page_slug: theme_options
    page_permissions: manage_options
    menu_type: menu
    page_parent: themes.php
    compiler: true
    output: true
    output_tag: true
    templates_path: undefined
    extensions:
    Accordion: 4.3.16
    Color Scheme: 4.4.10
    Custom Fonts: 4.4.2
    Customizer: 4.4.11
    Datetime: 4.3.15
    Google Maps: 4.4.0
    Icon Select: 4.4.2
    Import Export: 4.0.0
    Js Button: 4.3.16
    Metaboxes: 4.2.0
    Multi Media: 4.4.1
    Options Object: 4.0.0
    Repeater: 4.3.13
    Search: 3.4.5
    Shortcodes: 4.3.6
    Social Profiles: 4.3.17
    Tabbed: 4.4.8
    Taxonomy: 4.4.6
    Users: 4.4.1
    Widget Areas: 4.3.20 acf

    version: 6.3.3
    plugin_type: Free
    ui_field_groups: 4
    php_field_groups: 0
    json_field_groups: 0
    rest_field_groups: 0
    post_types_enabled: true
    ui_post_types: 16
    json_post_types: 0
    ui_taxonomies: 10
    json_taxonomies: 0
    rest_api_format: light
    admin_ui_enabled: true
    field_type-modal_enabled: true
    field_settings_tabs_enabled: false
    shortcode_enabled: true
    registered_acf_forms: 0
    json_save_paths: 1
    json_load_paths: 1 jetpack

    site_id: 192803303
    ssl_cert: No
    time_diff: undefined
    version_option: 13.6:1721141666
    old_version: 13.6:1721141666
    public: Public
    master_user: #1238 AdminXXX21
    is_offline_mode: off
    is_offline_mode_constant: off
    current_user: #1238 AdminXXX21
    tokens_set: Blog User
    blog_token: XXX
    user_token: XXX
    version: 13.6
    jp_plugin_dir: /mnt/web024/d1/58/57278358/htdocs/wp-content/plugins/jetpack/
    plan: free
    protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false}
    full_sync: {"started":"Sat, 15 May 2021 09:48:16 +0000","finished":"Sat, 15 May 2021 09:52:58 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"2"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[2],"network_options":true}}
    sync_size: undefined
    sync_lag: 0 seconds
    full_sync_size: undefined
    full_sync_lag: 0 seconds
    idc_urls: {"home":"https:\/\/XXX.de","siteurl":"https:\/\/XXX.de","WP_HOME":"","WP_SITEURL":""}
    idc_error_option: false
    idc_optin: true
    cxn_tests: All Pass. easy_wp_smtp

    version: 2.3.1
    license_key_type: lite
    debug: No debug notices found.
    lite_install_date: Jul 16, 2024 @ 4:54pm
    Themenersteller undusted1364

    (@ghost108)

    Danke – das war mehr als nur detailliert und hat mir sehr geholfen !! 🙂

    Themenersteller undusted1364

    (@ghost108)

    habe jetzt das entsprechende template gefunden, welches für die Produkteinheuiten zuständig ist (meta.php)

    <?php
    /**
     * Single Product Meta
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/single-product/meta.php.
     *
     * HOWEVER, on occasion WooCommerce will need to update template files and you
     * (the theme developer) will need to copy the new files to your theme to
     * maintain compatibility. We try to do this as little as possible, but it does
     * happen. When this occurs the version of the template file will be bumped and
     * the readme will list any important changes.
     *
     * @see 	    https://docs.woocommerce.com/document/template-structure/
     * @package 	WooCommerce/Templates
     * @version     3.0.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    
    global $product;
    ?>
    <div class="product_meta">
    	
    	<?php do_action( 'woocommerce_product_meta_start' ); ?>
    
    	<?php if ( wc_product_sku_enabled() && ( $product->get_sku() || $product->is_type( 'variable' ) ) ) : ?>
    
    		<span class="sku_wrapper"><?php esc_html_e( 'SKU:', 'woocommerce' ); ?> <span class="sku"><?php echo ( $sku = $product->get_sku() ) ? $sku : esc_html__( 'N/A', 'woocommerce' ); ?></span></span>
    
    	<?php endif; ?>
    
    	<?php echo wc_get_product_category_list( $product->get_id(), ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', count( $product->get_category_ids() ), 'woocommerce' ) . ' ', '</span>' ); ?>
    
    	<?php echo wc_get_product_tag_list( $product->get_id(), ', ', '<span class="tagged_as">' . _n( 'Tag:', 'Tags:', count( $product->get_tag_ids() ), 'woocommerce' ) . ' ', '</span>' ); ?>
    
    	<?php do_action( 'woocommerce_product_meta_end' ); ?>
    
    </div>

    Die Frage ist nur – in welchem Template binde ich die meta php an richtiger Stelle ein ?

    Themenersteller undusted1364

    (@ghost108)

    das habe ich soweit gemacht 🙂

    Themenersteller undusted1364

    (@ghost108)

    UPDATE:
    Ich habe das template single-product nun in meinem child theme und könnte es bearbeiten. allerdings verstehe ich noch nicht so ganz die Struktur von WordPress / Woocommerce :/

    <?php
    /**
     * The Template for displaying all single products
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/single-product.php.
     *
     * HOWEVER, on occasion WooCommerce will need to update template files and you
     * (the theme developer) will need to copy the new files to your theme to
     * maintain compatibility. We try to do this as little as possible, but it does
     * happen. When this occurs the version of the template file will be bumped and
     * the readme will list any important changes.
     *
     * @see 	    https://docs.woocommerce.com/document/template-structure/
     * @package 	WooCommerce/Templates
     * @version     1.6.4
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly
    }
    
    get_header( 'shop' ); ?>
    
    	<?php
    		/**
    		 * woocommerce_before_main_content hook.
    		 *
    		 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
    		 * @hooked woocommerce_breadcrumb - 20
    		 */
    		do_action( 'woocommerce_before_main_content' );
    	?>
    
    		<?php while ( have_posts() ) : the_post(); ?>
    
    			<?php wc_get_template_part( 'content', 'single-product' ); ?>
    
    		<?php endwhile; // end of the loop. ?>
    
    	<?php
    		/**
    		 * woocommerce_after_main_content hook.
    		 *
    		 * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
    		 */
    		do_action( 'woocommerce_after_main_content' );
    	?>
    
    	<?php
    		/**
    		 * woocommerce_sidebar hook.
    		 *
    		 * @hooked woocommerce_get_sidebar - 10
    		 */
    		do_action( 'woocommerce_sidebar' );
    	?>
    
    <?php get_footer( 'shop' );
    
    /* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */
    

    Wie stehen denn dort jetzt die Proudkteinheiten?

    Themenersteller undusted1364

    (@ghost108)

    ich habe bereits ein Child theme.
    In diesem habe ich in der functions.php jetzt lt Woocommerce doku folgende Funkion ergänzt:

    function mytheme_add_woocommerce_support() {
    	add_theme_support( 'woocommerce' );
    }
    add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' );

    Wie bekomme ich jetzt die single-product.php in mein child theme, um diese dort bearbeiten zu können?

    Themenersteller undusted1364

    (@ghost108)

    okay, denke du hast mich da etwas missverstanden, aber in Ordnung.

    Themenersteller undusted1364

    (@ghost108)

    blöde Frage: wie bekomme ich das template in mein child theme, so dass ich nicht das original überschreibe ?

    hatte irgendwie früher im Kopf, das es im Adminbereich ein Copy original template to child theme“ (Eigenname) Funktion gab, oder irre ich mich da?

    Themenersteller undusted1364

    (@ghost108)

    das würde ich sehr gerne machen, nur kann ich das Projekt aktuell nicht öffentlich bekannt geben, da noch im Aufbau :/ kann ich irgendwie anders unterstützen ?

    Themenersteller undusted1364

    (@ghost108)

    Welche Angaben werden denn benötigt ? 🙂
    Habe das Storefront Theme mit einem Child Theme im Einsatz.

    Themenersteller undusted1364

    (@ghost108)

    Vielen Dank 🙂
    habe es mit dem Code realisiert:

    // WP_Query arguments
    $args = array(
    	'page_id'				=> '2',
    	'post_type'        		=> array( 'page' ),
    	'order'                  	=> 'DESC',
    	'orderby'               	=> 'date',
    );
    
    // The Query
    $query = new WP_Query( $args );
    
    // The Loop
    if ( $query->have_posts() ) {
    	while ( $query->have_posts() ) {
    		$query->the_post();
    		echo get_the_content();
    	}
    }
    
    // Restore original Post Data
    wp_reset_postdata();
    • Diese Antwort wurde vor 8 Jahren, 10 Monaten von undusted1364 geändert.
    • Diese Antwort wurde vor 8 Jahren, 10 Monaten von undusted1364 geändert.
    Themenersteller undusted1364

    (@ghost108)

    Titel und den eigentlich text.
    gibt es eine Liste mit den Klassen?
    Weil ich stelle mir die Frage, woher soll ich wissen das es the_title() gibt 🙂

Ansicht von 15 Antworten – 1 bis 15 (von insgesamt 17)