Gyurmey
Forum Replies Created
-
Forum: Plugins
In reply to: [Create Block Theme] Font loading not working.@mmaattiiaass, thanks for your response.
I checked the files/folders permissions issue and everything looks fine.
I have no idea why this is still happening. I don’t see any error logs (PHP and JS in the console).
Forum: Plugins
In reply to: [Gutenberg] Query Loop Block + sort by menu_order@welcher, thanks for your response.
I would like my client to be able to choose this option himself from the list. Now that’s not possible.
Thanks!
Forum: Plugins
In reply to: [Gutenberg] Query Loop Block + sort by menu_orderHi @zoonini, yeah that’s a typo.
I use Custom Post Order plugin and I would like to sort my custom posts according to the order menu.
I used to use
pre_get_posts
action, but now it doesn’t work.WP: 6.1
Theme: TT3No, I don’t have any plugins installed (except PL).
However, I also noticed that in some cases it is the other way around. Editor styles override style
--dominant-color
.@jamesosborne, thank you for your response. I understand what you are saying, but my point is that enabling this option resets the styles entered on the editor side.
Before:
style="border-width:111px;border-radius:100px"
After:
style="--dominant-color: #a0a0a0;"
- This reply was modified 2 years, 4 months ago by Gyurmey.
Forum: Plugins
In reply to: [Converter for Media - Optimize images | Convert WebP & AVIF] AVIF + PRO planThanks!
Forum: Plugins
In reply to: [Gutenberg] Access to global styles@zoonini, it works! Thank you very much for help.
Forum: Plugins
In reply to: [Gutenberg] Access to global styles@zoonini, sorry for the delay.
This is my code snippet.
Input:
<style> .content { background-color: <?php echo (wp_get_global_styles(array('color', 'background'))); ?>; } <?php echo var_dump(wp_get_global_styles(array('color', 'background'))); ?> </style>
Output:
<style> .content { background-color: var:preset|color|luminous-vivid-amber; } string(37) "var:preset|color|luminous-vivid-amber" </style>
The problem occurs when the colors are based on CSS variables. When it gets a color from the colors picker, that’s fine.
– What version of WordPress are you using?
6.0.2 and 6.1-alpha-54226– Does the issue occur when all plugins are deactivated?
Yes.– Is the issue present with Twenty Twenty-Two?
Yes, and any other block theme.– Is the standalone Gutenberg plugin active, and if so, what version is it?
Yes (14.1.1 and Gutenberg Nightly).@munirkamal why?
Forum: Plugins
In reply to: [Gutenberg] Access to global stylesHi @zoonini
Thank you for the response. However, this function doesn’t work.
As for the context, I’m just trying to get data from global styles when I change color in settings (screenshot).Forum: Plugins
In reply to: [Performance Lab] Lazy loading + Above The FoldForum: Fixing WordPress
In reply to: Global styles@threadi, thank you again. I did as you suggested.
Forum: Fixing WordPress
In reply to: Global styles@threadi, thanks for the suggestions, but it has nothing to do with the theme you are using. Global styles are generated by WordPress core. It’s also about Full Site Editing which I didn’t mention.
Forum: Plugins
In reply to: [Extendify] Front-end appearanceThank you, but this is now out of date. The problem was caused by the latest version of the Gutenberg plugin.