• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

HELP – MY WP Site is GONE

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › HELP – MY WP Site is GONE

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 11 years, 4 months ago by pfitznerk.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 31, 2014 at 7:18 am #122057
    pfitznerk
    Member

    I wanted to exclude one post from the Blog page and used this method to edit the functions.php:

    <?php
    function excludeCat($query) {
    if ( $query->is_home ) {
    $query->set('cat', '-3,-5,-23');
    }
    return $query;
    }
    add_filter('pre_get_posts', 'excludeCat');
    ?>

    I got this error: Parse error: syntax error, unexpected '<' in /home3/pfitzner/public_html/wp-content/themes/beautiful-pro/functions.php on line 257

    I deleted what I added I still cannot access my WP Dashboard and my site is gone to...getting this message:

    Parse error: syntax error, unexpected '<' in /home3/pfitzner/public_html/wp-content/themes/beautiful-pro/functions.php on line 257

    What can I do?? I have backups in place...What happened?

    August 31, 2014 at 7:26 am #122059
    DTHkelly
    Member

    Community Forums

    August 31, 2014 at 7:42 am #122060
    pfitznerk
    Member

    Got it solved.....Call your host provider. Thank got mine has great customer service

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘HELP – MY WP Site is GONE’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble