Buddypress childtheme - path to child theme image folder (3 posts)

  1. cavamondo
    Posted 4 years ago #

    Im building a child theme for a multisite buddypress site. And i wish to use the logo.png image located at the/wp-content/themes/theme/images/logo.png

    Normally i would go about it like this:
    <img src="<?php bloginfo('url'); ?>/wp-content/themes/theme/images/logo.png">

    But i would much more prefere a solution where i dont have to define an absolute path efter the <?php bloginfo('url'); ?>

    Is there a smarter way to implement this ?

  2. This is not buddypress or multisite specific. It;s the same way in all WordPress themes.


    which shows you would use:

    <?php bloginfo('stylesheet_directory'); ?>/images/logo.png

  3. cavamondo
    Posted 4 years ago #

    Excellent, thx ..

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.