Forum Replies Created
-
AuthorPosts
-
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
.January 21, 2021 at 5:04 pm in reply to: 'Fullwidth easy slider' takes no space until content is loaded, causes page jump #1274461Hey 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.July 15, 2020 at 10:54 am in reply to: Optimizing images: Should I use more than 1 version? #1230551It’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.
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.
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.
March 12, 2020 at 10:46 am in reply to: Customise the template for a custom post type, to show ACF fields #1192534Just 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.
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!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.
June 28, 2019 at 3:02 pm in reply to: Using a from another page to pre-sort a Masonry element #1114268Hi 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 } }
April 30, 2019 at 1:46 pm in reply to: Optimizing images: Should I use more than 1 version? #1095753Would definitely like to put my input in as a +1 for srcset support.
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, 10 months ago by chiliharstad. Reason: Started working!
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.
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?
Make sure there’s no CSS affecting/hiding it, and that the API restriction allows for your URL.
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.
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?
October 15, 2018 at 11:39 am in reply to: Enfold 4.5 Theme Update "Update Failed: Download failed. A valid URL was not pro #1021510There doesn’t seem to be any info yet on an update on their changelog yet, or on ThemeForest. Eagerly awaiting.
- This reply was modified 6 years, 1 month ago by chiliharstad.
This is where you set the URLs the maps are restricted to.
- This reply was modified 6 years, 1 month ago by chiliharstad.
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.
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.
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.
March 12, 2018 at 1:55 pm in reply to: Horizontal gallery – Need the lightbox to open when the picture is clicked #925510Thanks, I believe that has done the job.
+1 on mobile functionality being a necessity.
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!
-
AuthorPosts