• Resolved bartiofficial

    (@bartiofficial)


    Hello i would like to give permission to edit news ticker for moderator/writer.

    But any plugin to give capabilities doesn’t work with t4b.

    I mean i can add full capabilities and user still dont have this option.

    Any ideas to give permission to people different than administrator?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Iftekhar Alam

    (@ikialam)

    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:

    1. Open ticker-settings.php and locate the admin_menu method (around line 72).
    2. 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.
    3. Save the file and refresh your WordPress dashboard.

    This should resolve the issue! Let me know if you need further assistance.

    Best Regards,
    Iftekhar

    Thread Starter bartiofficial

    (@bartiofficial)

    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’ )

                );

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Capabilities for T4B’ is closed to new replies.