keepact
Forum Replies Created
-
Forum: Plugins
In reply to: [Spectra - WordPress Gutenberg Blocks] Disable JS and CSSYes, I noticed that not all blocks use JS and coincidentally the ones I was using did not use them. I just deactivated the other blocks on Admin/Settings/UAG and everything was perfect. Thank you!
Forum: Themes and Templates
In reply to: [Astra] astra-theme-css-inline-cssThanks for the tip.
Forum: Themes and Templates
In reply to: [Astra] astra-theme-css-inline-cssHello, just returning to say that with the provided link filter works but when I copy the inline css to an external file and link in the <head> tag not all styles come back.
I was able to make it work with this code:
function wpse_remove_inline_style( $dynamic_css )
{
wp_style_is( $dynamic_css, ‘enqueued’ )
&& wp_style_add_data( ‘astra-theme-css’, ‘after’, ” );
}
add_action( ‘wp_print_styles’, function()
{
// Remove previous inline style
wpse_remove_inline_style( ‘astra-theme-css’ );} );
Regards
Forum: Themes and Templates
In reply to: [Astra] astra-theme-css-inline-cssThank you!!!
Best support ever
Forum: Themes and Templates
In reply to: [Astra] astra-theme-css-inline-cssIs it possible to disable Dynamic css by a function in my child theme?
Forum: Themes and Templates
In reply to: [Astra] How to remove default Schema.org markup?I found this function ‘astra_site_branding_markup’ and used it in the functions.php file of my child theme and put the information I wanted. Apparently the new information erased the old ones and it worked!
Forum: Themes and Templates
In reply to: [Astra] Add more Schema MarkupUPDATE:
I found this function ‘astra_site_branding_markup’ and used it in the functions.php file of my child theme and put the information I wanted. Apparently the new information erased the old ones and it worked!!
Forum: Themes and Templates
In reply to: [Astra] Add more Schema MarkupI found in the extras.php file the div that has the “itemprop = organization” of Schema.
I saw myself in 2 options:
1- Delete the itemprop within the div and apply the complete markup by JSON
2 – Change and manually add the markup inside the div.Is there any way I can add more existing things by JSON to this markup without deleting the itemprop from the original theme div?
- This reply was modified 5 years, 10 months ago by keepact.
Forum: Themes and Templates
In reply to: [Astra] if statement not workingThank you for your help.
I got it!
I was looking for another gallery plugin because i wasted too much time testing many others. Maybe it was some incompatibility with my theme. I found one that fit perfectly.
I appreciate the help!
Forum: Plugins
In reply to: [Contact Form 7] "conflict" with iThemes SecurityI got the same error message…
Forum: Plugins
In reply to: [Responsive Gallery Grid] The plugin does not start after refresh the pageI did the tests in the other templates and the problem persisted. But I was confused when you said that nothing happened and i deleted the plugin from root directory and installed everything again, and guess what? everything returned to normal. Weird!!
Thanks anyway!
I was wrong. I had not emptied the cache correctly. The problem occurs even with “Minify” function disabled. The only script that works after correction of syntax is PrettyPhoto. When I put the old syntax, everything returns to normal but with google warning message.
This is my code in main.js
// fade out page after click $body.on('click', 'a:not([href="#"])', function () { var $this = $(this), linkTarget = $this.attr('href'); if ($this.attr('target') !== undefined || $this.attr('onclick') !== undefined || $this.attr('id') === 'cancel-comment-reply-link') return true; if ($this.attr('data-toggle') !== undefined) return; if ($this.parents('[data-noajax]').length || $this.attr('data-noajax')) return true; $body.animate({opacity: 0}, 'fast', function () { location.href = linkTarget; }); return false; }); },
Forum: Plugins
In reply to: [EWWW Image Optimizer] Removing warningsYes, after that all warnings are gone .
Thank you!