ninetienne
Forum Replies Created
-
Forum: Plugins
In reply to: [Kirki Customizer Framework] “Context” attribute not working as expectedThank you so much!
Forum: Plugins
In reply to: [Autoptimize] Feature Queries conditions not workingSorry, I’ll be away for a couple of days and won’t be able to test the commit ??
Thanks for fixing the issue!
Forum: Plugins
In reply to: [Autoptimize] Feature Queries conditions not workingI haven’t checked
@media
queries: https://developer.mozilla.org/en-US/docs/Web/CSS/@media There’s additionalonly
operator.- This reply was modified 7 years, 2 months ago by ninetienne.
Forum: Plugins
In reply to: [Autoptimize] Feature Queries conditions not workingI don’t think there are any others, except for
or
andand
.Thanks for looking into this.
Forum: Plugins
In reply to: [Autoptimize] Feature Queries conditions not workingMeanwhile I solved it with this filter:
/** * Fixes multiple feature queries issue. * * @param string $code Minified code. */ function prefix_autoptimize_css_after_minify( $code ) { return str_replace( ') or(', ') or (', $code ); } add_filter( 'autoptimize_css_after_minify', 'prefix_autoptimize_css_after_minify' );
Forum: Plugins
In reply to: [Post Views Counter] Importing WP-PostViews results in Error 500Many thanks for fixing the issue! It’s working fine now.
Forum: Plugins
In reply to: [One Click Demo Import] Page title filter not workingThanks a lot!
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Disable shortcode modulesOkay. I added theme support and a new wrapper appeared.
But what’s the way to disable responsive video module now?
I see. Not the best solution, because it will prevent from any import in future.
I wish there was a hook for that in OCDI.
Seems like, I’m asking for way too many things ??
Forum: Plugins
In reply to: [One Click Demo Import] Page title filter not workingThanks a lot!
Done: https://github.com/proteusthemes/one-click-demo-import/issues/104
Thank you very much for the prompt response and your help.
I know, how to save a custom option after the first demo import.
But could you please confirm that skipping the demo content import like this will work?
function ocdi_before_content_import( $selected_import ) { if ( true === get_option( 'demo_content_already_imported' ) ) { return; } } add_action( 'pt-ocdi/before_content_import', 'ocdi_before_content_import' );
Thanks again!
Forum: Plugins
In reply to: [One Click Demo Import] Page title filter not workingYes, but I need to copy the entire HTML to change the title only.
If there’s a plugin update and the HTML gets some changes too, I’ll have to copy it again and change the title again.
There’re filters for the description, browser title, menu item, menu slug. Why wouldn’t you add a filter for the page settings title too?
Thanks!
I’ve just thought of another solution to my issue. Is there a way we can set an option after the first demo content import and during the next import check the option and skip the XML import if the option is set to true?
Any hint is highly appreciated.
Forum: Plugins
In reply to: [One Click Demo Import] Page title filter not workingSorry, didn’t notice that the filter was for the browser title.
As for the settings page title, you suggest, that I should rewrite the entire page, just to change the settings page title? Including all the notices, errors, filters, demo items grid? ??
I think it would make OCDI more flexible, if you removed the required XML file.
It would allow different use cases (single XML, single customizer DAT, widget settings file, etc. or any combination) all in one place.
The thing is that, when the user clicks on Import with an option with XML file, demo posts will be duplicate. If we import the customizer file only, then theme mods get overwritten and there’s no duplicate content.
I’m aware of the Customizer export/import plugin, but would like to have all the demo content import features within one plugin and one settings page.
Truly hope, this feature will make it into the great OCDI plugin.