Ulrich
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Shortcode for Google Maps] google.maps.Marker is deprecatedHi Alan,
Yea, totally, this is low priority. I had a quick look at it. It would need an extention of the shortcode attributes to support the MapId.
Sorry, I did not have time to create a PR, but here are the changes needed for this change. Thought this might save you a bit of time.
- Include the maker library when loading the maps
&libraries=marker
<script src="https://maps.googleapis.com/maps/api/js?key=<?php echo esc_attr( $atts['key'] ); ?>&libraries=marker"type="text/javascript"></script>2. Include the MapId from the short code attributes. Also extend the shortcode attribute.
map_options['mapId'] = '<?php echo esc_attr( $map_options['mapId'] ); ?>';3. Change to the new Object
var marker_<?php echo (int) $i; ?> = new google.maps.marker.AdvancedMarkerElement({Forum: Reviews
In reply to: [Koko Analytics - Privacy-Friendly WordPress Analytics] Simple but effective@dvankooten Your welcome! Just migrated four small sites from Jetpack to Koko.
Count visitor countries · ibericode/koko-analytics · Discussion #225¨would be the feature that make me get the pro version.
You are one of the few people to get that reference. It was the username I used for my first email and it stuck. I did Judo for about 15 years and did a bit of wrestling too. I see you have done some MMA.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Cant Add / Replace Site Logo FIXEDThank You! This was a great help.
Forum: Plugins
In reply to: [Widget Disable] Main Menu and Disabled Widgets AppearHi
This plugin just disables the single widgets and not the sidebars.
A good test to see if the problem is fixed by disabled the plugin.
The website looks good at the moment, so I suppose you were able to resolve the issue.
Forum: Fixing WordPress
In reply to: PHP Warning: exif_read_dataThe only two fixes are either to set
WP_DEBUGto false or check the exif data in the image.The plugin has been closed as of April 6, 2022 and is not available for download. This closure is temporary, pending a full review from the plugin team.
Le plugin a été fermé le 6 avril 2022 et n’est pas disponible au téléchargement. Cette fermeture est temporaire, dans l’attente d’une révision complète par l’équipe du plugin.
You would resolve it by finding another plugin that solves your need. Then you can delete this plugin from your installation.
Forum: Plugins
In reply to: [Polylang] PHP 8.0 Update doesn’t workAnd it is only on the English pages. The German page seem to work fine.
Unfortunately, I can’t think of anything that might be causing it. Do you get any errors on those pages? Here is the documentation on how to enable debugging: https://ww.wp.xz.cn/support/article/debugging-in-wordpress/
Forum: Plugins
In reply to: [Polylang] PHP 8.0 Update doesn’t workThe problem seems to be only on the front page. The language switcher on the subpages looks fine.
Forum: Plugins
In reply to: [Polylang] PHP 8.0 Update doesn’t workI am not sure what you mean with “Instead of the language switcher there’s just ‘Languages’.”
The language switcher on the front end seems to working, but you have reverted your changes.
Forum: Plugins
In reply to: [Polylang] PHP 8.0 Update doesn’t workHi Ben
You need to update the plugin Polylang-Slug. Version 0.2.3 is compatible with PHP 8.
Forum: Fixing WordPress
In reply to: PHP Warning: exif_read_dataHere is the related trac ticket. https://core.trac.ww.wp.xz.cn/ticket/42480
The warning is only shown if the debug mode is enabled https://github.com/WordPress/WordPress/blob/5.8-branch/wp-admin/includes/image.php#L805
I am not sure what you can do in Photoshop to fix this.
Forum: Plugins
In reply to: [Autoptimize] Aggregation skips some CSS files?That’s fine Frank. At least now the edge case is documented incase anyone else comes across this problem.
Forum: Plugins
In reply to: [Autoptimize] Aggregation skips some CSS files?Thank you Frank for looking into it. I did a bit more debugging and I found the issue.
We are using a similar setup to Bedrock where the WordPress files are in a separate subdirectory.
The full path for WP files is
/var/www/html/wordpress/wp/wp-includes/css/dist/block-library/style.cssand for the theme/var/www/html/wordpress/content/themes/theme-name/style.cssWP_CONTENT_DIRis set to/var/www/html/wordpress/contentbutABSPATHreturns/var/www/html/wordpress/wp/That is why the aggregation was working for the theme stylesheets but not for the WordPress stylesheets.
I think the issue would need to fixed here and checked if the file should be loaded from
WP_CONTENT_DIRor fromABSPATH.- This reply was modified 4 years, 6 months ago by Ulrich.
Forum: Plugins
In reply to: [Autoptimize] Aggregation skips some CSS files?Here is the URL https://testing.pszh.ch/new-pro-senectute-kanton-zuerich/
Basic Auth
U: optimizingmatters
P: autoptimizeI have not disabled any plugins nor activated the default theme but you can see that wp-includes/css/dist/block-library/style.min.css is not aggregated.
Thank you for looking into it.
Edit: I forgot I am still waiting for the DNS to be changed for the subdomain. So the only way to access the site is by adding “149.126.4.24 testing.pszh.ch” to the Hosts file.
- This reply was modified 4 years, 6 months ago by Ulrich.
- Include the maker library when loading the maps