• Resolved Ramzii

    (@ramzii)


    A ‘simple’ question:

    How does
    <?php bloginfo('template_url'); ?>
    differ in comparison to
    <?php echo get_template_directory_uri(); ?>
    ?

    They both accomplish the same, do they not?

    So my question basically is, which one do I use, and why?
    Thanks!

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

The topic ‘template_url vs get_template_directory_uri’ is closed to new replies.