Jump to content
Sign in to follow this  
jgw52

change to functions.php causes server error

Recommended Posts

jgw52

Hi I put the code below in platformbase functions.php and it caused an immediate server error. All my pages then returned the same error. I ftp'd the file (couldn't get to Wordpress admin), deleted the new code and all is well. I'm trying to make the content area on a single page expand when I hide my secondary sidebar. I'd appreciate any ideas. Thanks. ` <?php if ( is_page('board members') ) { ?> .two-sidebar-center #column-main .mcolumn-pad { padding-right: 20px; padding-left: 20px; width: 700px; } <?php } ?> `

Share this post


Link to post
Share on other sites
jgw52

Following the advice in another thread I used the page meta settings and achieved my goal but changes to functions.php (base) still makes everything fall apart. I don't plan to make changes to functions.php much, if at all, so for now its a non-issue (for me) but it seems like a small thing to make my whole site crash, and prevent access to wp admin. Am I doing something wrong? Ta again.

Share this post


Link to post
Share on other sites
bryan-hadaway

If you don't need to use functions.php, just download the theme again, extract it to take out just functions.php and upload it overwriting the old one. Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×