Re: Random errors – try going into wp-config.php and find the line that says define('WP_DEBUG', true); and if it says true, set it to false. This will hide any non-fatal errors. I don’t recommend doing this until the site goes live, however – it will hide a lot of errors you should know about.
Re: lightbox height – WPFolio doesn’t include any code for a lightbox so the error is likely causing the lightbox to ignore you. Look in the plugin options before changing the code and make sure your images are the right size. If all else fails, its not a bad idea to contact the plugin developer about it or just use a different plugin.
Re: page comments – you need to disable comments on pages individually. Read this thread or if your trying to code it, this thread looks promising.
Random errors; my code already says false. define(‘WP_DEBUG’, false);
I have the comments turned off, I’ve done everything I can through the CP as far as I know. Example here In terms of editing each page and turning it off, I’m not given the option either. Example here Normally there is an option on the right I believe?
In any case, I tried the other options by removing the code and adding in the new line and it’s still not working!
I was going to email the author of the code but when I go to his website everything is in a different language, so I am not sure if some one else just translated the page. http://rabdano.ru/wordpress-plugins/a-gallery/
Ultimately if there is a better light box plugin I would use it, just that is all I found.
There are tons of lightbox plugins available.
You don’t need to alter code to get rid of comments, just learn the WordPress interface. Some common mistakes:
- Disabling the comments in the discussion settings will only affect posts you create from that point on.
- Make sure you’ve disabled trackbacks and pingbacks as well.
- Make sure the comment panel is available on the admin page you linked to above. If you click the small “screen options” tab at the top, sometimes the comment panel is disabled.