Forum Replies Created

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • But then again – how would this happen if I turn any plugins off? It seems logical to me that by turning all plugins off there shouldn’t be any problems!?

    Hey Mike,
    Thanks for your reply.
    Regarding Raidboxes: This is my hoster. They also block specific files so one cannot mess up their site. However, the hoster was never the problem so far and there were no significant changes in the past few weeks. The “purge cache” should … well … purge the cache :D but you’d need to refresh with the link. Apparently it only sets the addition to the link, nothing else.

    I deactivated all plugins (in staging mode) and nothing changed – so it’s not any plugin.

    Anyway thanks for the hint with the child theme. This was the main problem.
    I added this code to the functions.php – I think for PageSpeed reasons:

    // Defer Javascripts
    // Defer jQuery Parsing using the HTML5 defer property
    if (!(is_admin() )) {
        function defer_parsing_of_js ( $url ) {
            if ( FALSE === strpos( $url, '.js' ) ) return $url;
            if ( strpos( $url, 'jquery.js' ) ) return $url;
            // return "$url' defer ";
            return "$url' defer onload='";
        }
        add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
    }

    Do you have any idea why this problem just occured this week and never before? It doesn’t really make sense to me … 

    Thanks you very much!

    Cheers
    Patrick

    in reply to: Sidebar of product not shown #1072231

    Hi Ismael,

    thanks for your reply.

    Do you have the slightest idea why this is empty? I did not change anything and on all the other products it seems to work (e.g. in private content).

    Anyhow I edited the widget area again and now it’s been shown. So from the technical side the issue is solved. However, I still have no idea why the widget was gone in the first place. But I guess without further information I might not be of service to you.

    Thank you very much for your support.

    Best wishes
    Patrick

    • This reply was modified 5 years, 9 months ago by BierPlus.

    Hi,

    turns out I was wrong after all. It was indeed the product_snippet_button that has been changed recently in an Enfold update. I now uploaded an older version of the file that fixed the problem.

    I have to admit, that the support was better at some point. The CSS “solution” broke more than it helped (i.e. bookings were made non-usable). Furthermore the PHP-thing should be in your hands, as you are responsible for the Enfold theme.

    So my last question now to this topic – and I hope, that you can help me with that – how can I stop the file to be updated? I use a child-theme and created the directory “/enfold-child/config-templatebuilder/avia-shortcodes/” and put the older version of the product_snippet_button.php in there, but apparently when the newer version is reinstalled in the enfold main directory the changes are visible. How should the path in the child-theme be, so that only the older version (in the enfold-child directory) is active?

    Thanks in advance.

    Patrick

    Hi Basilis,

    can you please clarify what (or who) you mean by plugin support? I think the error derives from Enfold itself because I did not have it in the past until the last update.

    Kind regards,
    Patrick

    Hi,

    thank you for editing the code. Unfortunately this breaks the Booking plugin, so that the calendar is not showing. I would really appreciate if you could find something in the PHP that causes the error. So that we don’t only treat the symptoms, but the “disease” itself.

    Thank you very much in advance for your great support.

    Kind regards,
    Patrick

    Hi,

    yes I do need further assistance please. I do not find the part where wordpress decides to print that.

    Kind regards,
    Patrick

    Hi Ismael,

    thanks for looking into it.

    Unfortunately it didn’t solve the problem properly.

    Now it looks as provided with the screenshot (Link to product in PC):
    a

    What I want is just to get rid of ONE of the prices above the purchase button (i.e. in the first post the 12.99) plus the text below (Umsatzsteuerbefreit, Lieferzeit, … ) but not the first price and not the quantity selection as this is important.

    CSS is also just a rather unsexy solution, I would love to get rid of it in the core code but I didn’t find any place, where this is suddenly coming from.

    • This reply was modified 6 years, 8 months ago by BierPlus.
    in reply to: WooCommerce Search Bar doesn't output products #734694

    Any news?

    in reply to: WooCommerce Search Bar doesn't output products #729516

    I’m very sorry, for some reason the account didn’t have an admin role. Fixed it and should be accessible by now :)

    Right now I am using the normal WordPress Search Widget as it delivers results (that are enormously unsatisfying, but at least there are results…)
    I am switching the widgets now, please tell me when you have looked at it so I can change it back then :)

    Works fine now, thank you very very much :)

    in reply to: Blank page appears for some reason #670318

    I’m sorry, I’m afraid I can’t follow you.
    After googling I found out about sth like the .htpasswrd, details are in private content as well as new login details for wordpress

    Yet you DO have access to the ftp server (see above)

    Strangely for some reason I can’t see the private data anymore of the account details, but of course here again the account for you:

    Of course, I deleted it once I saw it didn’t work.
    You could try it yourself, yet I don’t think there’ll be much difference.

    in reply to: Blank page appears for some reason #668244

    the first three now worked pretty well, I get more or less good results on pagespeed. On initial load it’s totally okay.

    4.) I guess I didn’t. I’ll try again later on. The credentials are again in the privat content, but it should have worked. Someone of you seems to have changed the password, I now resetted it. Should work fine, there’s no other authentication.

    though it looks logical and seems right – it doesn’t work :(

    in reply to: Blank page appears for some reason #666272

    Hi,
    thanks, could you please reload the page several times? I experienced that a reloading takes more time than the initial load (which is strange, because caching should prevent that)

    concerning your suggestions:
    1.) Haven’t tried that yet, but of what I’ve seen there should already be such function in please. I’ll check on that later today

    2.) I really have no idea how to do that. All JS Content is from WordPress, Woocommerce or Enfold – I don’t have ANY idea on how to handle this :( CSS is the same thing except for customized CSS in the enfold theme

    3.) already did that few days ago, helped a little but not much.

    4.) The Plugin crashes my whole page, no help at all =(

    Most problematic thing for me as well is that the dashboard is insanely slow. Did you experience anything similar?

    Cheers,
    Patrick

    Hi,

    The products for the membership plans are not to be seen publicly, the normal ones are in the private content area. All I want is to disable the sidebar completely for only these products but not for any other.

    Cheers,
    Patrick

    in reply to: Advanced Layer Slider not responsive #666255

    Hi, well I’m not Enfold Support, but I got a solution for this one.
    For my page I set 3 different LayerSlider Templates (called homepage main, homepage tablet, homepage mobile), you might guess what the differences are ;)
    For the main homepage as viewed in a desktop mode I have a full resolution picture (approx 1920x600pc as far as I remember) that starts with browser widths from 1200px and up. From approx 760px up to 1200px I have the tablet template that consists of a smaller image and resized items as well as differently formatted text. The mobile one has (from 0px to 760px) another even smaller image which reduces loading times and garantuees best style. I have also formatted the text areas to fit within the mobile sized image.

    It’s a little bit work here, I know, but it’s worth it. This way you won’t bother anymore with those ;)

    Ah yeah, I almost forgot: With the advanced layout architect you have to select all three of the layerslider templates but only one will be shown depending on which browser one uses. To check you can use to “view in…” function of your browser (e.g. Firefox press F12 and select from the bar)

    Hope I could help :)

    Cheers,
    Patrick

    in reply to: How to show post categories in a post? #665430

    It’s really not good looking but working.
    I had the same problem with SKU and Categories, which DO appear in the default editor but not in the advanced editor, so I had to manually write them in. It creates the shortcode [display_sku_cat]. Just try it out.
    Create a new .php file and put it in the plugins folder. You can just adapt it to your needs, which should be pretty easy to do. That’s coming from a php newbie who wrote this – me .. ;)

    
    <?php
    /*
    Plugin Name: Display Article Number and Categories
    Description: Creates a shortcode, [display_sku_cat id="n"], that displays the article number and categories of any WooCommerce product.
    Version: 1.0
    Author: Duke
    Requires: PHP5, WooCommerce Plugin
    */
    
    if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ){
    add_shortcode('display_sku_cat', 'display_sku_cat_shortcode');
    }
    
    function display_sku_cat_shortcode($atts) {
    	global $post;
    	
    	extract(shortcode_atts(array(
    		'id' => $post->ID,
    		'link' => 'true',
    	), $atts));
    
    	if($link==='true'|$link==='false') {
    		$link = ($link === 'true');
    	}
    	
    	if(get_post_type($id)=='product'){
    		ob_start();
    		display_sku_cat($id);
    		return ob_get_clean();
    	}else{
    		return "";
    	}
    
    }
    
    function display_sku_cat($id="", $permalink=false ){
    	global $wpdb;
    	global $post;
    	global $product;
    	
    	if(empty($id)){
    		$id=$post->post_id;
    	}
    	
    	if(is_bool($permalink)) {
    		if($permalink){
    			$link = get_permalink( $id );
    		}
    	}else{
    		$link = $permalink;
    		$permalink = true;
    	}
    	
    	$target = "";		 
    	if($newwindow == 'true'){
    		$target="target='_blank' ";
    	}
    	
    	if(get_post_type( $id )=='product'){
    		$artikelnummer = $wpdb->get_var( "
    		SELECT COUNT(meta value) FROM $wpdb->postmeta
    		WHERE meta_key = '_sku'
    		AND post_id = $id
    		");
    
    	}
    	
    	if ( wc_product_sku_enabled() && ( $product->get_sku() || $product->is_type( 'variable' ) ) ) : ?>
    
    		<span style="font-size: 11px;">
    		<span class="sku_wrapper"><?php _e( 'SKU:', 'woocommerce' ); ?> <span class="sku" itemprop="sku"><?php echo ( $sku = $product->get_sku() ) ? $sku : __( 'N/A', 'woocommerce' ); ?></span></span></br >
    
    		<?php endif; ?>
    	
    		<?php echo $product->get_categories( ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', $cat_count, 'woocommerce' ) . ' ', '</span>' ); ?>
    		
    		</span>
    	<?php
    	
    }
    
    ?>
    • This reply was modified 8 years, 4 months ago by BierPlus.
    in reply to: Blank page appears for some reason #664686

    Hi, I’m sorry for not responding earlier, I almost forgot about that.
    But I still experience massive speed problems. Could you take a look at it?

    btw: I think I now know why this special page didn’t work, it might have been a complication with WP Jetpack, now everything works just fine. Except for those massive speed problems.

    And another thing is: Once I ran a SpeedTest (via Google PageSpeed Insights for instance) my site is extremely slow and shows some error concerning the wc-class-geo-ip (woocommerce file I have no idea about).

    I’d be very happy if you could look into my problem :)

    Cheers,
    Patrick

    in reply to: Blank page appears for some reason #656164

    Hi Basilis,

    I did, but I don’t know how that can help me? I don’t get any errors or error logs.
    I experience that when I update the page, it works for some time, yet not that long. But I can’t update the page hourly.

    What’s next to do?

Viewing 22 posts - 1 through 22 (of 22 total)