i use New Blog Templates on my betly.info multi site

Hi, i use New Blog Templates on my betly.info multi site network. blog theme is http://betlyblogtheme.betly.info and now i set up first widget in right sidebar to be livestream widget, but i want to site admins cant remove this widget, can i do it?

  • Milan
    • Design Lord, Child of Thor

    @Vaughan this plugin is great and i will use it but it not resolve my problem about fixed widget that admins cant remove.. i need to fix widget in firts position in sidebar to cant be remove by site admin.. can you recomand me some similar plugins maybe some can help me or some other way to solve this problem.

  • Vaughan
    • Support/SLS MockingJay

    Hi, I've been searching for a while now, and other than blocking access to the appearance > widgets page, I can't find a solution at all.

    The only way I can think of to possibly do this is to add the widget to a shortcode. you can use this plugin to do that. https://wordpress.org/plugins/amr-shortcode-any-widget/

    Then you can manually add the shortcode to your theme templates where you want the widget to display. This would involve editing a few files depending on the theme & adding the code.

    <?php echo do_shortcode('[WIDGET-SHORTCODE]'); ?>

    It's a bit of a manual job, but hardcoding it in the theme would certainly prevent anyone removing it, or from changing the order.

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.