MattV
Forum Replies Created
-
Forum: Plugins
In reply to: [Leaflet Map] address attributeI had the same issue on my local WP install (using Local by Flywheel) but on the server it worked fine.
Maybe there was an issue with the geocoder on a local install.
@ionutcalara Thank you ??
@iuriem There’s a caption field but that’s just a bunch of text. If you want to change it, you have to parse it and that can get messy if you’re working with many different providers.
If the author and provider would be stored separately, it would be much easier for users to create their own caption markup.
It also allows us to do more creative things, like creating a page with a table that shows all images used on the site with publish date, author and provider.
You can still use captions, no worries. This is just an extra feature.
Forum: Plugins
In reply to: [Dominant Colors Lazy Loading] Extract dominant color without lazy loading?Ok, got it. Thanks for your quick reply ??
Forum: Plugins
In reply to: [Auto Post Scheduler] PHP Notice: Undefined indexPlease ignore this message, my mistake. Unfortunately I can’t delete it anymore, but I’ll just mark it as resolved. Thanks again for the plugin!
Forum: Plugins
In reply to: [Shared Counts - Social Media Share Buttons] Share count not showingI forgot that we have to add the Total Count manually in the “Share Buttons to Display” section. What a fantastic plugin, thanks so much!
Forum: Plugins
In reply to: [Lazy Loader] Does Lazy Loader work on archives?Ok, for anyone else who wants to get this plugin to work well with GeneratePress blog and archive pages, here’s what you need to do:
- Turn off the image sizing options in Customize > Layout > Blog.
- Change the image size in this filter to the size you use and include it in your functions file:
add_action('after_setup_theme', 'tu_add_image_sizes'); function tu_add_image_sizes() { add_image_size( 'large-thumbnail', 600, 600, true ); add_filter( 'generate_page_header_default_size', 'tu_set_image_size' ); } function tu_set_image_size() { return 'large-thumbnail'; }
Forum: Plugins
In reply to: [Lazy Loader] Does Lazy Loader work on archives?My pleasure ??
The theme author told me this:
Yes, we alter the image HTML when resizing is enabled, as we need to call a different image function.
What’s the class that needs to be added? We should be able to give you a filter to add it manually.
The class that I should add is
lazyload
right? Or do we need to add anything else?Forum: Plugins
In reply to: [Lazy Loader] Does Lazy Loader work on archives?Thanks for your fast reply!
I do have a few custom functions to set
srcset
andsizes
attributes, maybe that’s the problem. I’ll have a look and if the solution could be helpful for others I’ll follow up here.Forum: Plugins
In reply to: [Lazy Loader] Does Lazy Loader work on archives?Sure, the site is https://thingstodoinbarcelona.com/
On the homepage and archive pages (https://thingstodoinbarcelona.com/attractions/) lazy loading doesn’t seem to work, while single posts/pages work fine.
I’m using the GeneratePress theme: https://github.com/tomusborne/generatepress
Thank you!
Thanks you for taking the time to explain this in such detail. It’s has definitely cleared things up!
I’ll create a test page on my site with different image sizes and check that page on various devices to see what’s the best option.
Forum: Plugins
In reply to: [BE Subpages Widget] Highlighting Current PageNot sure if you’ve already solved this issue, but the list-item of the current page has the class
widget_subpages_current_page
, so you can use CSS to style it differently.Forum: Plugins
In reply to: [R3DF Multisite Blog Slug Remover] WordPress 4.4Thanks for the plugin! It′s still very useful in WP 4.5.2 – there′s no simple way to manually remove the ‘blog’ prefix in permalinks, unless you want to edit database entries directly via Network Admin > Sites > Settings.
Forum: Plugins
In reply to: [Related Posts by Taxonomy] Fill row with random post?Thanks for taking the time to provide such a great answer. I′ll try it tomorrow!
Forum: Plugins
In reply to: [EWWW Image Optimizer] Feature Request: JPEGMini and TinyPNGBTW: TinyPNG seem to use the free PNGquant library – they′re listed on PNGquant′s homepage as one of their GUI tools. Not sure if they use it in conjunction with anything else. – https://pngquant.org/
Forum: Plugins
In reply to: [WP Super Cache] Just a few notices (non critical)Great! WordPress is installed in my root directory and each site in the network has its own (virtual) directory, like this:
– mywebsite.com
– mywebsite.com/english/
– mywebsite.com/french/
– mywebsite.com/spanish/(Each language is a separate site in the network)