Title: Shortcode in Shortcode &#8211; read
Last modified: August 31, 2016

---

# Shortcode in Shortcode – read

 *  [Yelloweb](https://wordpress.org/support/users/yelloweb/)
 * (@yelloweb)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-in-shortcode-read/)
 * hello,
 * i would realize this html with shordcodes:
 *     ```
       <div>
        <div class="imghover">
         <img data-img="imgurl" data-hover="imghoverulr" src="imgurl" class="imgoverout">
        </div>
       </div>
       ```
   
 * now i would realized this in the visuel editor like this:
 *     ```
       [content]
       [img1][/img1]
       [imghover][/imghover]
       [/content]
       ```
   
 * how can i realized it for my function.php?
    i don’t would do realized it with
   attributes because the user should add simple images in the editor with the mediacenter.
   and not search the url for attributes of shortcodes.
 * can you help?
 * yours,
    yellow

The topic ‘Shortcode in Shortcode – read’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Yelloweb](https://wordpress.org/support/users/yelloweb/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/shortcode-in-shortcode-read/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
