Website Code Editing

  • Unknown's avatar

    Dear WordPress,

    I have a big trouble, because i was edited my template coding. I deleted a line of code then i can’t edit anything i can’t open my website. I really hope you can help me. I could save the code if it help you i can give it.

    <?php
    /**
    * Sample implementation of the Custom Header feature.
    *
    * You can add an optional custom header image to header.php like so …
    *
    *
    * @link https://developer.wordpress.org/themes/functionality/custom-headers/
    *
    * @package Rock_N_Rolla
    * @since Rock_N_Rolla 1.0
    */

    /**
    * Set up the WordPress core custom header feature.
    *
    * @uses rock_n_rolla_header_style()
    */
    function rock_n_rolla_custom_header_setup() {
    add_theme_support( ‘custom-header’, apply_filters( ‘rock_n_rolla_custom_header_args’, array(
    ‘default-image’ => ”,
    ‘default-text-color’ => ‘ffffff’,
    ‘width’ => 1920,
    ‘height’ => 50,
    ‘flex-height’ => true,
    ‘wp-head-callback’ => ‘rock_n_rolla_header_style’,
    ) ) );
    }
    add_action( ‘after_setup_theme’, ‘rock_n_rolla_custom_header_setup’ );

    if ( ! function_exists( ‘rock_n_rolla_header_style’ ) ) :
    /**
    * Styles the header image and text displayed on the blog.
    *
    * @see rock_n_rolla_custom_header_setup().
    */
    function rock_n_rolla_header_style() {
    $header_text_color = get_header_textcolor();

    // If we get this far, we have custom styles. Let’s do this.
    ?>
    <style type=’text/css’>
    <?php
    // Has the text been hidden?
    if ( ! display_header_text() ) :
    ?>
    .site-title,
    .site-description {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    }
    <?php
    // If the user has set a custom color for the text use that.
    else :
    ?>
    .site-title a,
    .site-description {
    color: #<?php echo esc_attr( $header_text_color ); ?>;
    }
    <?php endif; ?>
    </style>
    <?php
    }
    endif;

    I DELETED THIS LINE: if ( ! display_header_text() ) :

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    rusthungary.eu is hosted by 1&1
    Name Servers:
    ns1043.ui-dns.biz
    ns1061.ui-dns.org
    ns1040.ui-dns.de
    ns1073.ui-dns.com

    That site is not on WordPress.COM servers. You are posting to the wrong support forum for your software.

    We provide support only for wordpress.COM hosted sites and our support docs do not apply to
    (1) local installs of wordpress.ORG software on your own server or
    (2) wordpress.ORG software installs on paid hosting, and we do not provide support for them at wordpress.COM.
    (3) sites linked to wordpress.COM accounts with the Jetpack plugin so they display on the My Sites wordpress.com account page.

    WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/

    wordpress.org support
    The wordpress.ORG support forum is at
    http://wordpress.org/support. The wordpress.ORG login link is here https://login.wordpress.org/ If you do not have an account yet then click Create an account https://login.wordpress.org/register/ and if you have lost an account password click Lost password? https://login.wordpress.org/lostpassword/
    WordPress.org support docs are at https://codex.wordpress.org/Main_Page
    See also https://apps.wordpress.org/support/ for app support.

    Jetpack support
    Some Jetpack solutions are here http://jetpack.com/support/
    Others are in the Jetpack support forum at WordPress.org
    http://wordpress.org/support/plugin/jetpack
    However, if help cannot be found at either one then they can file a Jetpack support ticket here > http://en.support.wordpress.com/contact/?jetpack=needs-service

  • Unknown's avatar

    Dear Timethief,

    Thank you for reply.
    I’m not an expert in website editing, this is my “hoppy” so i reinstalled my wp on my website and built it again. So i can “resolve” my problem.

    Thank you again for your help,

    Best Wishes
    Have a good night.

  • Unknown's avatar

    You’re welcome and best wishes.

  • The topic ‘Website Code Editing’ is closed to new replies.