Title: template functions without HTML junk ?
Last modified: August 19, 2016

---

# template functions without HTML junk ?

 *  [tapdance](https://wordpress.org/support/users/tapdance/)
 * (@tapdance)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/template-functions-without-html-junk/)
 * Hi ! As i learn about wp functions, i have come to a point where i wanted
    to
   do some converting of my static html/css into template files and have run into
   this problem.
 * As far as i can see, all wp functions generate content already with HTML code.
   This makes conversion a major pain as wp content forces HTML that i do not want.
 * The only one i found (so far) was wp_get_nav_menu_items() with parameter echo
   = false.
 * Are there wp functions which strip that junk HTML and leave only pure data for
   inserting in my HTML ?

The topic ‘template functions without HTML junk ?’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [template file](https://wordpress.org/support/topic-tag/template-file/)
 * [template function](https://wordpress.org/support/topic-tag/template-function/)

 * 0 replies
 * 1 participant
 * Last reply from: [tapdance](https://wordpress.org/support/users/tapdance/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/template-functions-without-html-junk/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
