Dynamic Web Lab
Back to insights

Get Template Path in WordPress Child Themes

February 5, 20131 min read
To get the child theme path use this code on your child theme [php]<?php echo dirname( get_bloginfo(‘stylesheet_url’) ); ?>[/php]

Written by

Dynamic Web Lab Editorial

We share how we design, engineer, and scale digital products across the GCC, Europe, and the US.

Share this article

Topics

wordpress

Need help implementing this?

We turn these playbooks into shipped features. Let us scope your roadmap and support your team.

Start a project conversation