render html no formatting

You have to implement your own hook for template_redirect action: add_action( ‘template_redirect’, ‘wpse8170_template_redirect’, 1 ); function wpse8170_template_redirect() { global $wp_query; // check if it is not a page or if it is front page, then exit from the hook if ( !$wp_query->is_page() || $wp_query->is_front_page() ) { return; } // check queried object, if it is … Read more

Create custom markup to use in posts?

You are probably looking for The Shortcode API that allows to create shortcodes like [my_shortcode] and [my_shortcode]some text[/my_shortcode] to be used in content and other shortcode-enabled areas. More advanced technique are way more involved and might require storing editable and rendered representation of content separately or do apply custom rendering filter every time content is … Read more

Submitting form in wordpress plugin

Reviewing wp_dropdown_users() there is apparently a ‘selected’ parameter. So in theory, you could probably pass the posted value in here. // set to the posted value, but you might be able to do this differently, depending on how you are storing the data $selected = isset($_POST[‘author’]) ? $_POST[‘author’] : false; $args = array( ‘name’ => … Read more

Strange iframes added in wordpress 4.1 localhost

This is not a WordPress issue. A Google search for boostsaves.com reveals it is a browser add-on that injects iframes into the page source of whatever you’re viewing. Use Google to find instructions on how to remove it from whatever browser you’re using.

Remove tags from wordpress head

I believe a filter on the_generator will do it. add_filter(  ‘the_generator’,  ‘__return_empty_string’, PHP_INT_MAX ); Reference: https://codex.wordpress.org/Function_Reference/_return_empty_string. https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-includes/general-template.php#L2956