Forum Replies Created

Viewing 1 replies (of 1 total)
  • akshayaurora

    (@akshayaurora)

    @stefano.torricelli

    We are doing core editing and incase of an upgrade these hacks might be overwritten.
    So instead of core editing, we should develop a plugin.I’ve just added the display none css to all wp header functions.The script-loader and the post editor hacks are yet to be added hopefully they can too be done within the plugin.

    <?php
    /*
    Plugin Name: GoDaddy Hack
    Plugin URI: https://softloads.in
    Description: GoDaddy Free Hosting Fix
    Author: Akshay Aurora
    Version: 1.0
    */
    
    // We need some CSS to position the paragraph
    function godaddy_css() {
    	echo "
    	<style type='text/css'>
    	#conash3D0 {display:none !important;}
    	</style>
    	";
    }
    
    add_action('admin_head', 'godaddy_css');
    add_action('wp_head', 'godaddy_css');
    add_action('login_head', 'godaddy_css');
    ?>

    BTW, I am not able to fix the post editor.Pls make sure it is fine..
    or may be I’m mistaken..

    Pls try to develop the plugin

Viewing 1 replies (of 1 total)