Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1105266
    zoodsmak1
    Participant

    My business hours vary due to weather and or maintenance issues that force us to close unexpectedly. I let my customers know by editing the Top Bar Text in the customizer. Is it possible to create a WordPress dashboard widget that would allow me to update/edit the top bar Text and toggle visibility of the top bar without having to load the customizer? I would think this would be helpful for many sites that would like to put a temporary text banner on the homepage. This would allow my non-wordpress savvy staff to edit the notice without giving them access to change the look and feel of the site.

    #1105428
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Currently there is no feature. However, try adding the following JavaScript code into your Customizer, Custom > JavaScript section and see if that works on your situation.

    
    jQuery(function() {
      jQuery( ".x-social-global" ).before( '<div class="x-alert x-alert-info x-alert-block"><h6 class="h-alert">Important Info</h6> This is the info alert box for sharing…info. </div>' );
    });
    

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1105266 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>