Hi @bartiofficial ,
Thanks for reaching out!
The T4B News Ticker menu is currently restricted to Administrators. If you want to allow access for Authors or Editors, you’ll need to edit the ticker-settings.php file.
Steps to Grant Access:
- Open
ticker-settings.php and locate the admin_menu method (around line 72).
- Change
'administrator' to a suitable capability in add_menu_page and add_submenu_page functions.
- Use
'edit_published_posts' to allow access for Authors and above.
- Use
'edit_pages' or 'delete_pages' to allow access for Editors and above.
- Save the file and refresh your WordPress dashboard.
This should resolve the issue! Let me know if you need further assistance.
Best Regards,
Iftekhar
Ok i understand. THANKS
// Options
add_submenu_page(
‘t4bnt-settings’,
esc_html__( ‘Zarządzanie treścią komunikatu’, ‘t4b-news-ticker’ ),
esc_html__( ‘Komunikaty treść’, ‘t4b-news-ticker’ ),
‘edit_posts‘,
‘t4bnt-settings’,
array( $this, ‘t4bnt_options_page’ )
);