Use page.php for front page

if it is “a very complex theme,” then there’s probably some hook into template_redirect malfunctioning. as @TomJNowell mentioned, using home.php or front-page.php should allow you to override page.php, but that’s not always preferred (I rarely use them myself), and will not necessarily fix the problem. you don’t need to assign a blog page in order … Read more

Shortcodes (with a space) added to php Sample

there isn’t an “space” in the Shortcode-Name. What you have, is an shortcode called “customcont”, that is providing an Parameter called “form”. So this is, how it should work: function example_shortcode( $atts = array(), $content=”” ) { extract( shortcode_atts( array ( ‘form’ => 0, ), $atts ) ); return ‘FORM TO DISPLAY IS #’.$form; } … Read more

apply_filters() function

If the characters are html entities like &nbsp &lt or &#60 then use php’s default html_entity_decode() function to get the content in proper text format.

media-uploader insert into post is not inserting

I have found the solution with this change this $html=”<input id=”” . esc_attr( ‘eo_theme_options[‘ . $id . ‘]’ ) . ‘” to this $html=”<input id=”” . esc_attr( ‘eo_theme_options_’ . $id ) . ‘” and it worked, that do the trick