Title: str_replace for the_content()
Last modified: August 19, 2016

---

# str_replace for the_content()

 *  [jermartin77](https://wordpress.org/support/users/jermartin77/)
 * (@jermartin77)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/str_replace-for-the_content/)
 * Hi I would like to do a replace on the_content to add a parameter to youtube 
   posts of wmode = transparent so it doesn’t confict with some drop down menus.
 * Obviously this doesn’t work because the_content echos the value, but this is 
   what I would like to accomplish.
 *     ```
       $content = the_content('Continue Reading &raquo;');
       $embedText = '<param name="wmode" value="transparent" /><embed wmode="transparent"';
       $content = str_replace('<embed ', $embedText, $content);
       echo $content;
       ```
   
 * Thanks for any help
    j

Viewing 1 replies (of 1 total)

 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/str_replace-for-the_content/#post-1349284)
 * See here.
    [http://codex.wordpress.org/Function_Reference/get_the_content](http://codex.wordpress.org/Function_Reference/get_the_content)

Viewing 1 replies (of 1 total)

The topic ‘str_replace for the_content()’ is closed to new replies.

## Tags

 * [the_content](https://wordpress.org/support/topic-tag/the_content/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/str_replace-for-the_content/#post-1349284)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
