• I made a custom theme, and after using it some time, i made some images for the widget titles…(actually i made the “widget functions” directly in the sidebar)..my question is…is there any diference (theoretically speaking)at the blog loading time if i call the images from domain.com/wp-content/theme/image.png or the function <theme directory>/image.png? one of them will load faster? or both same thing…(the theme is only for me, i wont share it with anyone so i wont have to do the <theme directory> necessarily…)

    Thanks…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Assuming you meant domain.com/wp-content/themes/theme_folder/image.png, there’s no difference in loading times as both paths point to exactly the same place. However, using <?php bloginfo('template_directory'); ?>/image.png might give you better future-proofing.

    Thread Starter blogshot

    (@blogshot)

    yes…that’s what i ment…thank you for replying…i understand…i guess you`re right…i will change them…mabye who knows…i will “borrow it” 🙂

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Theme images – blog loading time’ is closed to new replies.