WordPress.org

Ready to get started?Download WordPress

Forums

Web site gone (4 posts)

  1. CWFMickey
    Member
    Posted 5 months ago #

    [Moderator note: Topic title de-capped. Please do not shout at us.]

    HELP! My website is gone! I own Conformwithfashion.com and i was trying to get rid of my feed icon so i came here and saw a section where someone said "Put this in your functions.php

    <?php
    remove_action( 'wp_head', 'feed_links_extra', 3 ); // Display the links to the extra feeds such as category feeds
    remove_action( 'wp_head', 'feed_links', 2 ); // Display the links to the general feeds: Post and Comment Feed
    remove_action( 'wp_head', 'rsd_link' ); // Display the link to the Really Simple Discovery service endpoint, EditURI link
    remove_action( 'wp_head', 'wlwmanifest_link' ); // Display the link to the Windows Live Writer manifest file.
    remove_action( 'wp_head', 'index_rel_link' ); // index link
    remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 ); // prev link
    remove_action( 'wp_head', 'start_post_rel_link', 10, 0 ); // start link
    remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 ); // Display relational links for the posts adjacent to the current post.
    remove_action( 'wp_head', 'wp_generator' ); // Display the XHTML generator that is generated on the wp_head hook, WP version
    ?>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    Now my entire website is gone! It just goes to a blank screen. Even when i try to enter my /Wp-admin to edit the website it just goes to a blank screen and not the dashboard! PLEASE HELP ME!!!!

  2. esmi
    Forum Moderator
    Posted 5 months ago #

    Try switching to the default theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

  3. CWFMickey
    Member
    Posted 5 months ago #

    Whenever I do anything now, Conformwithfashion.com, Conformwithfashion.com/wp-admin, Conformwithfashion.com/wp-content/themes, everything goes straight to a blank white page.

  4. edyhourany
    Member
    Posted 5 months ago #

    open your FTP account and rename your folders in wp-content/themes directory to oldname-xxx or you can rename your current theme only. and then reopen your admin dashboard, uninstall your theme and reinstall it again. Be careful if you made changes to your theme, all changes will be gone. It preferable to copy the changes you made (if you still remember them).

    PS: sometimes the changes you make for the theme can probably trigger this kind of errors.

    And don't forget to remove the added code. you can do this by accessing the file from the FTP

Reply

You must log in to post.

About this Topic