• Resolved runredhot

    (@runredhot)


    In an attempt to get a wordpress RSS plugin to update more frequently I edited the “Theme functions” as directed in another help subject, which I have pasted below:

    Posted AUG 5 2009 by in KNOWLEDGE BASE with 2 COMMENTS
    While solving issues in wordpress forums, the most common issue I have heard is of RSS feed update time. They say, RSS does not get updated frequently.
    And yes, that’s true. Each widget instance checks the feed once every 12 hours. Twice a day!
    However, we can change this time limit. Just open your themes function.php file and add this code to it.
    add_filter( ‘wp_feed_cache_transient_lifetime’, create_function(‘$a’, ‘return 1800;’) );
    This code will cause the feeds to be checked every 30 minutes.”

    Instead of loading the page that said, “you have updated your theme” I was returned an error page with “Parse error: syntax error, unexpected T_VARIABLE in /home/content/20/6567020/html/wp-content/themes/redline/functions.php on line 12.” This is the exact location of the code I had installed.

    Now my site, runredhot.com, is inaccessible along with any admin pages. Please help, this sucks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Entire Site/Admin inaccessible’ is closed to new replies.