opialm
Forum Replies Created
-
Forum: Plugins
In reply to: [Insert PHP Code Snippet] editor_plugin_js Error in editorDoes not happen in WP 6.0.1 anymore, but not sure which fix there could have resolved it.
Forum: Plugins
In reply to: [Auto iFrame] PHP Warning in auto-iframe.php since PHP8Thanks!
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Version 4.1.4 SQL error/warningI would say its safe to abandon this plugin as the new owner/maintainer makes new SQL syntax errors with each update and doesnt bother to fix the old ones
Forum: Plugins
In reply to: [Conditional Menus] new condition: password protected pagesIn the end used this, maybe will be helpful to someone:
function my_wp_nav_menu_args( $args = '' ) { $args['menu'] = 'menu1'; $post = get_post(); if(!post_password_required() && !empty($post->post_password)){ $args['menu'] = 'menu2'; } return $args; } add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );
Thanks, @bradvin is that reply from qTranslateXT maintainer helpful in resolving this?
Thanks
perhaps worth nothing that stuff like:
“[:en]? Back to album[:sk]? Sp??[:]”
in “Back To Album Text” and other settings work fine. Guess the issue is only with the %s substitution or something
%s images works fine.
With that I correctly get “10 images” and so on.
Image count many text is:
[:en]%s images[:sk]%s obrázkov[:]
(those tags are from the qTranslate family of multilanguage plugins for wordpress)
PHP is sadly only 5.6.40