WordPress Install – “end of script output before headers” when running simple php script

Don’t know exactly what you are trying to accomplish using custom script.You can do this effectively in WP way using either shortcodes,page templates,plugin. Well if you don’t want to do it that way and want to just place scripts in the active theme base directory.One way i suggest: Let’s say we have two php files … Read more

Displaying all Custom fields on post except some

You will have to walk/map/filter the array before printing them. There’re plenty of array_*() functions provided by PHP for that. Example: $custom = get_post_custom(); // Remove all strings starting with `_` array_filter( $custom, function( $data, $name ) { return “_” !== substr( $name, 0, 1 ); }, ARRAY_FILTER_USE_BOTH ); foreach ( $custom as $field ) … Read more

Static home page ignored

I’m interpreting that the static page you intend to show is a static page for the home page of your site. If that’s the case, and the static page is truly static, I recommend saving the page as index.html and saving it (via ftp) right next to your WP index.php file in the root folder … Read more