Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter professorblue

    (@professorblue)

    Just a way to say thanks – you guys are welcome to a free download of our illustrated kids book. Professor Blue Top Secret Lab Journal.

    I have gotten tons of help in forums like this one and would like to repay the favor in the best way I know how.

    The offer’s good for kindle or epub version, if you’re so interested. I don’t know if you’ve got kids or know any kids. Suitable for 6-11.

    enter in discount code: techno blast to get it free.

    epub:
    http://professorblue.com/downloads/get-epub-version-kids/

    kindle:
    http://professorblue.com/downloads/the-kindle-version-for-kids/

    Cheers.

    Thread Starter professorblue

    (@professorblue)

    OK human error was all mine. I was doing stuff via FTP in an old directory, forgetting that I had made professorblue.com my primary. Anyway, much, much appreciated for both of your input, especially this:

    Don’t use

    include_once(‘theme_admin/includes/widgets.php’);

    It’s clear to me now in the example he’s saying put your code below this already existing line. (which is confusing, because that’s what it is with whatever theme he’s using, but it might not be there with your theme)

    The article offers bad advice (IMHO) in using the admin editor (Appearance->editor) to modify your theme files because it’s too easy to make a mistake and then create an error that you can only fix by using FTP, which you should have done to begin with. When I set up sites for clients, I almost always disable the admin editor.

    I learn best by doing some, reading some.

    You guys rock.

    No crows murdered in the apprehension of my runaway website.

    Thread Starter professorblue

    (@professorblue)

    switch to the default theme by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    I tried that. Didn’t work.

    …deactivating ALL plugins temporarily to see if this resolves the problem. If this works,

    Tried it. The plugin folder is renamed. Did not work.

    – If the above troubleshooting steps fail to resolve the issue, try manually re-uploading all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress.

    Did that. No worky.

    Are you sure you updated your theme’s functions.php with the original, and in the right location?

    Yes I updated in wp-content/themes/shaken-grid-free/functions.php

    Or are you using any caching plugins?

    No caching plugins. I was planning on using a plugin for that but didn’t get around to it yet.

    It’s obvious from the output that you haven’t actually updated your active theme’s functions.php file with the original (I assume you are uploading a backup).

    I actually went to the shaken developer’s site, re-registered to download a fresh copy of the theme, and then took the functions.php from the fresh copy, and ftp’d it to wp-content/themes/shaken-grid-free/functions.php.

    I also removed all themes except for 2013. No no, no no, no.

    Seems like at this point I’ve hit the trifecta of some unclear advice, ignorance/typo on my part, theme combusting and maybe my server not liking any of this? Wait, that’s more than trifecta. More like a comedy of errors, a murder of crows.

    Thread Starter professorblue

    (@professorblue)

    Yeah I guess those instrux on the Patel page weren’t clear for someone who doesn’t know php.

    I added this in to the bottom of the functions.php:

    function add_nofollow_to_reply_link( $link ) {
    return str_replace( ‘”)\’>’, ‘”)\’ rel=\’nofollow\’>’, $link );
    }

    add_filter( ‘comment_reply_link’, ‘add_nofollow_to_reply_link’ );

    include_once(‘theme_admin/includes/widgets.php’);

    ?>

    Still get the same error message.

    I even used fetch to install a new functions.php directly to the server….same problem.

    It seems as if because I screwed up once, it’s locked in to that? Is there a way to override it?

    Thread Starter professorblue

    (@professorblue)

    Scriptrunner, how do you know I did this?

    I removed that part (wasn’t sure if that was part of the instrux from Patel’s page or if it was an example of what the end of the page in functions.php looked like).

    It’s not there now, and I still can’t save the file without the error.

    Tara, I’m going to try what you suggest.

    Thanks to you both.
    PB

Viewing 5 replies - 1 through 5 (of 5 total)