Tagged: , , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27029

    Hello:

    How can I change the source of the header. I am looking to remove/edit the information noted below.

    Thank you for your help.

    +++++++++++++++++++++++++++++++++

    <!–

    Debugging Info for Theme support:

    Theme: Enfold

    Version: 1.8.1

    Installed:

    AviaFramework Version: 1.8

    AviaBuilder Version: 0.3

    ML:99-PU:20-PLA:1

    –>

    and this

    <link rel=’stylesheet’ id=’avia-dynamic-css’ href=’http://middlestone.com/wp-content/uploads/dynamic_avia/enfold.css?ver=1&#8242; type=’text/css’ media=’screen’ />

    #132510

    Hi dstone030777,

    The second line should not be removed as it will cause none of your site styles to load.

    To remove the debugging information you can add this line to the end of your functions.php file:

    remove_action('wp_head','avia_debugging_info',1000);

    Regards,

    Devin

    #132511

    Devin:

    Thanks for the information however I was wondering if I can change the file name on the stylesheet and in the header to correspond to the name change.

    I am just looking for the location of the file named enfold.css and where I can find the stylesheet to change the URL.

    That information did work, thank you.

    #132512

    Yes, you can use the avia_dyn_stylesheet_file_path filter to change the file name. Use it like

    add_filter('avia_dyn_stylesheet_file_path', 'avia_change_filename');
    function avia_change_filename($stylesheet){
    return 'myfilename.css';
    }

    Insert the code at the bottom of functions.php and replace myfilename.css with your file name.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Edit Header Source Code’ is closed to new replies.