Forum Replies Created

Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • in reply to: Woocommerce sorting option #1303163

    If this were true then the sorting options would respect the current WordPress language, but they don’t. As it is now, they’re all pulled from class-wc-shop-customizer.php.

    Hey Victoria. That’s a bit too simple, sorry. That element was chosen to maintain the aspect ratio of the video – The same aspect ratio that the fallback image has. The element should be taking the dimensions of that as a base, no? Just like with the video.

    Setting a min-height: 80vh; like that will still cause a jump as soon as the content is loaded in, at all screenwidths, as the height of the video is always relative to the aspect ratio.

    in reply to: Optimizing images: Should I use more than 1 version? #1230551

    It’s not just about SEO. As I mentioned previously, for me it’s entirely about serving the correct and appropriate image to the user dependent upon their resolution. I don’t want to be rude, I think some comments here are, but that most definitely is and should be standard.

    in reply to: Optimizing images: Should I use more than 1 version? #1223070

    As far as I’m concerned it’s more about showing an appropriate image at the right resolution than getting a high score on a page speed analysis tool.

    in reply to: Possible to change column order on mobile? #1216841

    Don’t put the fullstop/period in the ‘Custom CSS class’ field when you’re writing it in there, that’s just for when you’re targetting a class afterwards.

    Just a little bit of a bump, down on the 4th page already and see that there’s a whole heap of other threads that have been seen to.

    in reply to: Custom Advanced Layout Builder Elements #1162504

    Perhaps it would be wise to include a legacy download of the WooCommerce addons from before the split, for those who had purchased prior.
    btw the backend notes actually looks like something that might potentially get me to start putting this on sites, have wanted that in Enfold for a long time!

    in reply to: Custom Advanced Layout Builder Elements #1160894

    That’s unfortunate to hear. We purchased the addon primarily for WooCommerce but also for ACF fields, but haven’t actually had the need to use it yet. Hearing that we’ll not be getting updates on one or the other now is disappointing.

    Hi Victoria, thanks for the reply. Couldn’t find a thread like that when I searched, but just tried to implement the same and when the page that’s linked to loads, the filtering still isn’t in effect.

    Portfolio categories visible on the page are Publikasjoner, Studentoppgaver, with slugs the same but lowercase, and two other categories.

    /* 
     * Add functions to allow prefiltering portfolio items from a link 
     * https://kriesi.at/support/topic/linking-to-filtered-portfolio-ajax/#post-430830
     * */
    add_action('wp_footer', 'ava_auto_click');
    function ava_auto_click() {
    	if ( $_GET["psort"] == "publikasjoner" ) { 
    ?>
    		<script>
            (function($){	
                $(window).load(function() {
                    $('.publikasjoner_sort_button').trigger('click');
                });	
            })(jQuery);
            </script>
    <?php
    	} elseif ( $_GET["psort"] == "studentoppgaver" ) {
    ?>
    		<script>
            (function($){	
                $(window).load(function() {
                    $('.studentoppgaver_sort_button').trigger('click');
                });	
            })(jQuery);
            </script>
    <?php
    	}
    }
    in reply to: Optimizing images: Should I use more than 1 version? #1095753

    Would definitely like to put my input in as a +1 for srcset support.

    in reply to: Custom Advanced Layout Builder Elements #1059567

    Edit: It’s started showing up. I’ve no idea how, or why, but it’s started showing up. If I knew what had changed I’d provide some info but I don’t know!

    —–

    My set-up is an offline multisite install, with:

    • PHP 7.2.0
    • MySQL 5.6.34
    • WordPress 5.0.3
    • Enfold 4.5.3

    Modified dates on all the SpiderFlies files are 6th of September.

    I have this added to the end of my child theme’s functions.php:

    // ==========================================================================
    // Add SpiderFly Studios's custom ALB elements
    // ==========================================================================
    // Enable Custom Layout Builder Addins
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    	$template_url = get_stylesheet_directory();
        	array_unshift($paths, $template_url.'/shortcodes/');
    	return $paths;
    } 
    // Add new custom image sizes
    add_action( 'after_setup_theme', 'wpdocs_theme_setup' );
    function wpdocs_theme_setup() {
    add_image_size( 'magazine_alt', 750, 1000, true );
    add_image_size( 'product', 650, 800, true );
    add_image_size( 'product_alt', 700, 858, array( 'right', 'center' ) );
    }
    add_filter( 'image_size_alt', 'my_custom_sizes' );
    function my_custom_sizes( $sizes ) {
        return array_merge( $sizes, array(
            'magazine_alt' => __( 'Modern Magazine' ),
    	'product' => __( 'Modern Product' ),
    	'product_alt' => __( 'Modern Product Alt' ),
        ) );
    } 
    • This reply was modified 5 years, 6 months ago by chiliharstad. Reason: Started working!
    in reply to: Custom Advanced Layout Builder Elements #1058762

    Hey, I bought this and put the code in functions.php in my child theme, and the files in that folder, but nothing is showing up. Curiously, the instructions mention a js file but there’s no such file in the zip.

    in reply to: Where does Enfold put the CSS for demo content? #1048171

    Minimal portfolio, but I can’t see the margin-top on the demo page.

    I ended up searching my entire WordPress directory, and it’s in header.php – what on earth. Commented out the style. I wonder is this a bug with WP5?

    in reply to: Map not showing in Enfold 4.5. I have API key. #1031769

    Make sure there’s no CSS affecting/hiding it, and that the API restriction allows for your URL.

    in reply to: Possible to change column order on mobile? #1024772

    This particular post is on a staging site before we launch a redesign of the site, however here is a similar example. Scroll down to ‘Om Trollfjord Bredbånd’. On mobile you can see that we’ve chosen on this page to disable one of the images on mobile in an effort to minimise scrolling, but that’s not ideal. Neither is a copy of the content that is arranged differently that only shows on mobile while hiding the desktop version on mobile – That’s a nightmare for maintenance, while adding to the page size and complexity.

    What would be ideal is having the option to force a column to first on mobile, like in the Flatsome screenshot in my previous reply.

    in reply to: Ajax pagination on blog posts #1024749

    I don’t really understand the point of the pagination if it needs to reload the entire page every time. Is there an alternative way to show the posts that doesn’t require this?

    There doesn’t seem to be any info yet on an update on their changelog yet, or on ThemeForest. Eagerly awaiting.

    • This reply was modified 5 years, 9 months ago by chiliharstad.
    in reply to: Google maps API not working … #1019827

    This is where you set the URLs the maps are restricted to.

    Google Maps API URL restriction

    • This reply was modified 5 years, 9 months ago by chiliharstad.
    in reply to: Google Maps Platform #958463

    No custom colouring/styling, need to load an iframe, and it’s not actually built into the theme so full-width etc is a different story. I can indeed embed an iframe, but it’s not the same and there’s a reason the embed map is different from the others.

    in reply to: Google Maps Platform #957048

    That’s possible and is usable for a lot of circumstances, but unfortunately that’s a separate thing to the Google Maps method integrated in Enfold.

    in reply to: Google Maps Platform #952545

    I’d much, much sooner prefer to have an alternative implementation over Google Maps – every single API key needs billing information attached to it, and on the chance that the site runs over the free tier’s limit, the percentage price hike of the service.

    This is of pretty critical importance to us.

    Thanks, I believe that has done the job.

    in reply to: Horizontal gallery touch enabling #925436

    +1 on mobile functionality being a necessity.

    in reply to: uBlock/Adblock removing social links #904672

    Hey Mike!

    I agree in theory, but as they’re enabled by default in the plugins in practice most who have these filters on aren’t intentionally blocking them – ‘social bookmarks’ would usually imply something a little more obtrusive, or embedded from the services and resulting in tracking. Most are installing Adblock/uBlock to rid of these and, for example, YouTube’s adverts – I’m sure we all know the sort.

    If there’s no way to rewrite the class IDs/classes through a function, could you direct me to where all these are referenced so that I can change them manually? Related, if it’s possible to edit these theme files and have the child theme reference them from its own folder?

    Thanks for the swift reply!

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