Title: Aris's Replies | WordPress.org

---

# Aris

  [  ](https://wordpress.org/support/users/bugsysop/)

 *   [Profile](https://wordpress.org/support/users/bugsysop/)
 *   [Topics Started](https://wordpress.org/support/users/bugsysop/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bugsysop/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bugsysop/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bugsysop/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bugsysop/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bugsysop/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/bugsysop/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/bugsysop/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Search] Errors messages in settings page](https://wordpress.org/support/topic/errors-messages-in-settings-page/)
 *  Thread Starter [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/errors-messages-in-settings-page/#post-16142729)
 * Solution is [here](https://wordpress.org/support/topic/warning-error-59/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Search] Warning Error](https://wordpress.org/support/topic/warning-error-59/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/warning-error-59/#post-16142712)
 * I have just tested these corrections in `settings.php` and they work like a charm.
   The plugin is now up and running. Thanks a lot.
    -  This reply was modified 3 years, 9 months ago by [Aris](https://wordpress.org/support/users/bugsysop/).
      Reason: typo
    -  This reply was modified 3 years, 9 months ago by [Aris](https://wordpress.org/support/users/bugsysop/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Integrate with Twenty twenty-two](https://wordpress.org/support/topic/integrate-with-twenty-twenty-two/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/integrate-with-twenty-twenty-two/#post-16109878)
 * The Newspack Blocs work fine with this plugin, you can check the code here (search
   for the frontpage block categorie)
    [https://github.com/Automattic/newspack-blocks](https://github.com/Automattic/newspack-blocks)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Integrate with Twenty twenty-two](https://wordpress.org/support/topic/integrate-with-twenty-twenty-two/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/integrate-with-twenty-twenty-two/#post-16109865)
 * Twenty 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Page Framework] Checkbox Problem](https://wordpress.org/support/topic/checkbox-problem-10/)
 *  Thread Starter [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/checkbox-problem-10/#post-16103385)
 * Thanks a lot, I will try this.
    Have a nice day
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MyWP Block Pattern - Block Pattern Builder for WordPress] import export support + hide default pattern category](https://wordpress.org/support/topic/import-export-support-hide-default-pattern-category/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/import-export-support-hide-default-pattern-category/#post-16082710)
 * To hide default WP patterns and categories you can use this code in a `functions.
   php` file…
 *     ```
       add_action('init', function() {
       	remove_theme_support('core-block-patterns');
       });
       ```
   
 * But we still need an export function in this plugin 😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Admin Search] Errors messages in settings page](https://wordpress.org/support/topic/errors-messages-in-settings-page/)
 *  Thread Starter [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/errors-messages-in-settings-page/#post-16016525)
 * The 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](https://stackoverflow.com/questions/64885475/wordpress-in-array-expects-parameter-2-to-be-array-string-given)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blog2Social: Social Media Auto Post & Scheduler] Hide Admin bar menu](https://wordpress.org/support/topic/hide-admin-bar-menu-2/)
 *  Thread Starter [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu-2/#post-15352008)
 * Thanks ! I will look at this side…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blog2Social: Social Media Auto Post & Scheduler] Hide Admin bar menu](https://wordpress.org/support/topic/hide-admin-bar-menu-2/)
 *  Thread Starter [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/hide-admin-bar-menu-2/#post-15349489)
 * I’m talking of the admin bar on top of dashboard and public site when you are
   loged in.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Co-Authors Plus] Cannot filter for authors in Gutenberg](https://wordpress.org/support/topic/cannot-filter-for-authors-in-gutenberg/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/cannot-filter-for-authors-in-gutenberg/#post-15023081)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Block Navigation] Can I Disable After Devolpment?](https://wordpress.org/support/topic/can-i-disable-after-devolpment/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/can-i-disable-after-devolpment/#post-14770339)
 * > 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…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Twentig Supercharged Block Editor – Blocks, Patterns, Starter Sites, Portfolio] Whatsapp/Telegram as social icon](https://wordpress.org/support/topic/whatsapp-telegram-as-social-icon/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/whatsapp-telegram-as-social-icon/#post-14767131)
 * 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/](https://henjak.dev/blog/how-to-add-new-icons-to-twentytwenty-theme/)
    -  This reply was modified 4 years, 12 months ago by [Aris](https://wordpress.org/support/users/bugsysop/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty-One] Twenty Twenty One and Co-author Plus](https://wordpress.org/support/topic/twenty-twenty-one-and-co-author-plus/)
 *  Thread Starter [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/twenty-twenty-one-and-co-author-plus/#post-14545764)
 * Solved !
    In fact, switched back to Twenty Twenty…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Twenty Twenty-One] remove category titles](https://wordpress.org/support/topic/remove-category-titles-3/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-category-titles-3/#post-14543424)
 * [@domainsupport](https://wordpress.org/support/users/domainsupport/)
    The correct
   code for `functions.php` file 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 5 years, 2 months ago by [Aris](https://wordpress.org/support/users/bugsysop/).
      Reason: make it more clear
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Content Shortcode] Conflict Between Twentig and CCS](https://wordpress.org/support/topic/conflict-between-twentig-and-ccs/)
 *  [Aris](https://wordpress.org/support/users/bugsysop/)
 * (@bugsysop)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/conflict-between-twentig-and-ccs/#post-14477030)
 * Same problem… `[field excerpt]` still generate an error and fails to save…
    Not
   solved with the last version

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/bugsysop/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/bugsysop/replies/page/2/?output_format=md)