• Resolved ynnorj

    (@ynnorj)


    We were creating a theme, and I need to get the location of the images folder. so instead of <img src="wp-content/themes/thetheme/images/img.gif" />, we’ll just use <img src="hook_to_get_images_folder()/img.gif" />.
    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter ynnorj

    (@ynnorj)

    uhm, sorry, I get it now..

    <img src="<?php bloginfo('template_directory');?>/images/img.gif" title="" alt="" />

Viewing 1 replies (of 1 total)
  • The topic ‘Hooks to get the location of the images folder of the current active theme?’ is closed to new replies.