Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1020920

    Hello,
    Is there a way to change Avia layout builder name to something else? So that when someone visits the wp-backend of a page, they see something other than “Avia Layout Builder”?

    #1021048

    Hey bobfurgo,
    We don’t have an official way to do this, and I’m not sure of any issues it may cause, but if you thoroughly test this before trying this on a production site, you may find this works for you:
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    	function custom_rename_script(){
    		?>
    		<script>
    	  jQuery(window).load(function(){   
    		jQuery("#avia_builder h2.hndle.ui-sortable-handle span").text("Enfold Builder");
    	  });
    	  </script>
    		<?php
    		}
    	add_action('admin_head', 'custom_rename_script');

    Best regards,
    Mike

    #1168323

    Hi! I added it to the child theme’s functions.php and nothing happened. I think it now says Enfold layout builder instead of Avia from recent updates

    • This reply was modified 4 years, 11 months ago by bobfurgo.
    #1168354

    We don’t have an official way to do this, and I’m not sure of any issues it may cause, but if you thoroughly test this before trying this on a production site, you may find this works for you:

    Try this in your child-theme functions.php:

    function my_text_strings( $translated_text, $text, $domain ){
    switch ( $translated_text ){
        case 'Advanced Layout Builder':  $translated_text = __( 'Guennis Great Builder', $domain );
        break;
        case 'Avia Layout Builder':  $translated_text = __( 'Guennis Great Builder', $domain );
        break;
        case 'Advanced Layout Editor':  $translated_text = __( 'Guennis Great Editor', $domain );
        break;
      }
      return $translated_text;
    }
    add_filter('gettext', 'my_text_strings', 20, 3);

    You want to adorn yourself with someone else’s feathers? :lol ;)

    #1168355

    omg you are awesome! Seems to be working great so far at least!

    #1168359

    Hi,
    I just tested it on my localhost and it is working, perhaps I confused you by using the text “Enfold Builder”, I changed it to “Bob’s Builder”, please use this script and then clear your browser cache and check again.

    function custom_rename_script(){
        ?>
        <script>
      jQuery(window).load(function(){   
        jQuery("#avia_builder h2.hndle.ui-sortable-handle span").text("Bob's Builder");
      });
      </script>
        <?php
        }
    add_action('admin_head', 'custom_rename_script');

    2019-12-20-173558

    Best regards,
    Mike

    #1168475

    THANK YOU SO MUCH

    #1168585

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Change name of Avia layout builder on page builder’ is closed to new replies.