Aris
Forum Replies Created
-
Forum: Plugins
In reply to: [Admin Search] Errors messages in settings pageSolution is here
Forum: Plugins
In reply to: [Admin Search] Warning ErrorForum: Plugins
In reply to: [Co-Authors Plus] Integrate with Twenty twenty-twoThe Newspack Blocs work fine with this plugin, you can check the code here (search for the frontpage block categorie)
https://github.com/Automattic/newspack-blocksForum: Plugins
In reply to: [Co-Authors Plus] Integrate with Twenty twenty-twoTwenty Twenty-Two is a block theme, to change the authors tag I think you have to work with block variation or something like that
Forum: Plugins
In reply to: [Admin Page Framework] Checkbox ProblemThanks a lot, I will try this.
Have a nice dayTo hide default WP patterns and categories you can use this code in a
functions.phpfile…add_action('init', function() { remove_theme_support('core-block-patterns'); });But we still need an export function in this plugin π
Forum: Plugins
In reply to: [Admin Search] Errors messages in settings pageThe function that generete the error (setting.php file from the plugin)
function admin_search_setting_post_types() { echo "<div id='admin_search_plugin_setting_post_types'>"; foreach ( get_post_types( array(), 'object' ) as $post_type ) { if ( $post_type -> {'public'} ) { echo "<p><label><input type='checkbox' name='admin_search_settings[post_types][]' value='{$post_type -> name}'"; if ( in_array( $post_type -> name, admin_search_setting( 'post_types' ) ) ) { echo " checked"; } echo "> {$post_type -> label}</label></p>"; } } echo "</div>"; }This may have something to do with this…
The error message is pretty clear: the in_array() function expects the second parameter to be an array. Instead, it’s receiving a string from that code snippet. If you’re the developer of this plugin you need to add some extra validations to prevent this issue from happening.
From Stackoverflow
Forum: Plugins
In reply to: [Blog2Social: Social Media Auto Post & Scheduler] Hide Admin bar menuThanks ! I will look at this side…
Forum: Plugins
In reply to: [Blog2Social: Social Media Auto Post & Scheduler] Hide Admin bar menuI’m talking of the admin bar on top of dashboard and public site when you are loged in.
Forum: Plugins
In reply to: [Co-Authors Plus] Cannot filter for authors in GutenbergI have the same configuration (with PHP 7.3 and 7.4) and is working like a charm… Maybe try localy a new WP install
Forum: Plugins
In reply to: [Block Navigation] Can I Disable After Devolpment?The plugin loads script and stylesheet files in the Gutenberg editor to extend it. It doesnβt save data in the backend
It’s absolutly safe to deactivate the plugin if you don’t need it anymore…
You have to add in your function.php file something like this (exemple is for Telegram):
add_filter( 'twentytwenty_social_icons_map', function( array $icons ) : array { $icons['telegram'] = array( 't.me', ); return $icons; }, 10, 1 ); add_filter( 'twentytwenty_svg_icons_social', function( array $icons ) : array { $icons['telegram'] = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32"> <path d="M16 .5C7.437.5.5 7.438.5 16S7.438 31.5 16 31.5c8.563 0 15.5-6.938 15.5-15.5S24.562.5 16 .5zm7.613 10.619l-2.544 11.988c-.188.85-.694 1.056-1.4.656l-3.875-2.856-1.869 1.8c-.206.206-.381.381-.781.381l.275-3.944 7.181-6.488c.313-.275-.069-.431-.482-.156l-8.875 5.587-3.825-1.194c-.831-.262-.85-.831.175-1.231l14.944-5.763c.694-.25 1.3.169 1.075 1.219z"/> </svg>'; return $icons; }, 10, 1 );Inspiration from this post:
https://henjak.dev/blog/how-to-add-new-icons-to-twentytwenty-theme/- This reply was modified 4 years, 9 months ago by Aris.
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Twenty Twenty One and Co-author PlusSolved !
In fact, switched back to Twenty Twenty…Forum: Themes and Templates
In reply to: [Twenty Twenty-One] remove category titles@domainsupport
The correct code forfunctions.phpfile is:add_filter('get_the_archive_title_prefix', 'my_custom_get_the_archive_title_prefix'); function twenty_one_get_the_archive_title_prefix($prefix) { if ($prefix === 'Category:' || $prefix === 'Tag:') { $prefix = ''; } return $prefix; }- This reply was modified 4 years, 11 months ago by Aris. Reason: make it more clear
Forum: Plugins
In reply to: [Custom Content Shortcode] Conflict Between Twentig and CCSSame problem…
[field excerpt]still generate an error and fails to save…
Not solved with the last version