Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#21336 closed defect (bug) (invalid)

child theme get_bloginfo('template_url') return wron url

Reported by: eggproject's profile eggproject Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.4.1
Component: General Keywords:
Focuses: Cc:


i little speak english... :(

I use wp 3.4.1
i create child theme

Theme Name: Pentaschool theme
Theme URI:
Description: Child theme for the Twenty Eleven theme
Author: Egg
Template: twentyeleven
Version: 0.1.0

and create code
<script type="text/javascript" src='<?php echo get_bloginfo('template_url'); ?>/acf/jquery.numeric.js'></script>

get_bloginfo('template_url') return twentyeleven url!

Change History (1)

#1 @kawauso
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

That's expected behaviour for 'template_url', you want 'stylesheet_directory'


Note: See TracTickets for help on using tickets.