www.webdeveloper.com
Results 1 to 3 of 3

Thread: What is Grong? (img scr and href)

  1. #1
    Join Date
    Jun 2012
    Posts
    2

    What is Grong? (img scr and href)

    Hi, Thank you for your attention in advance and sorry for my English :_(
    I want to show a linkable image on a wordpress theme.
    The link is fixed on options and the image too.
    These is the code:

    Code:
            	
    <div id="top-ad">
    <a href="<?php echo $woo_options['woo_banner_link']; ?>"
     img src="<?php echo $woo_options['woo_banner_img']; ?>" alt="Add" />
     </a>
    </div>
    <!-- /#top-ad -->
    And is possible to fix the alt title on options?
    Thanks a lot!

  2. #2
    Join Date
    Jul 2007
    Location
    Wisconsin
    Posts
    468
    You're missing the close of the anchor tag, and the open of your img tag

    Code:
    <a href="<?php echo $woo_options['woo_banner_link']; ?>" >
    
    <img src="<?php echo $woo_options['woo_banner_img']; ?>" alt="Add" />
    
    </a>

  3. #3
    Join Date
    Jun 2012
    Posts
    2
    SIMPLE! Thanks a lot OctoberWind )

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles