Title: Posts Security
Last modified: August 30, 2016

---

# Posts Security

 *  [Sharon Spain](https://wordpress.org/support/users/sharon-spain/)
 * (@sharon-spain)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/posts-security/)
 * Hi – I wanted to place a categories dropdown box in your “featured-image” area
   of the home page. Therefore, I’ve been looking at the code example from WordPress
   Codex, ie [https://codex.wordpress.org/Function_Reference/wp_dropdown_categories](https://codex.wordpress.org/Function_Reference/wp_dropdown_categories).
 * I have copied and slightly modified the example given with submit button onto
   the featured-image.php templated area of your theme’s home page, ie;
 * ‘<?php echo “<h3>Current Posts</h3>”; ?>
    <form id=”category-select” class=”category-
   select” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” method=”get”> <?php
   wp_dropdown_categories( ‘show_count=1&hierarchical=1&orderby=NAME’ ); ?> <input
   type=”submit” name=”submit” value=”View ….” /> </form>’
 * It works fine, posts to the blog Archives page, but how do I know that its secure–
   ie is it automatically removing any extra mark-up etc to prevent hacking as it
   would, I’m guessing, normally do using a categories widget, or plugin etc??? 
   I’ve noticed functions in WordPress to do with Sanitizing …????
 * The second issue is that I want to remove the words ‘Blog Archive” from the Archive
   receiving page.
 * Thanks – hoping you can let me know.

The topic ‘Posts Security’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/responsive/6.3.5/screenshot.png)
 * Responsive
 * [Support Threads](https://wordpress.org/support/theme/responsive/)
 * [Active Topics](https://wordpress.org/support/theme/responsive/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/responsive/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/responsive/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Sharon Spain](https://wordpress.org/support/users/sharon-spain/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/posts-security/)
 * Status: not resolved