Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i want to change the order like this:

NOW:

<div class="thumbnail">
   <div class="gallery-icon">
        <a href="###">
            <img width="400" height="300" src="###">
        </a>
     </div>
    </div>

WHAT I WANT:

<a href="###">
 <div class="thumbnail">
   <div class="gallery-icon">

            <img width="400" height="300" src="###"> 
     </div>
  </div>
</a>

I have tried to change the media.php, but the img_url are together in the php with the attachment...

What i have to change or put in the functions.php?

share|improve this question
    
Sorry, but what is the point? You are not changing anything significant. Second, it is not completely clear what you are talking about changing anyway. –  s_ha_dum Jul 1 '13 at 18:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.