Title: techinfo2's Replies | WordPress.org

---

# techinfo2

  [  ](https://wordpress.org/support/users/techinfo2/)

 *   [Profile](https://wordpress.org/support/users/techinfo2/)
 *   [Topics Started](https://wordpress.org/support/users/techinfo2/topics/)
 *   [Replies Created](https://wordpress.org/support/users/techinfo2/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/techinfo2/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/techinfo2/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/techinfo2/engagements/)
 *   [Favorites](https://wordpress.org/support/users/techinfo2/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Help with php bloginfo(‘template_directory’);](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/)
 *  Thread Starter [techinfo2](https://wordpress.org/support/users/techinfo2/)
 * (@techinfo2)
 * [17 years ago](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/#post-1070979)
 * Thanks **t31os**
    I have change instead of this `get_bloginfo('stylesheet_directory')`
   to `get_bloginfo('template_directory')`
 * **like this:**
 *     ```
       <?php
       	$thumb = get_post_meta($post->ID,'Thumbnail', true);
       	$thumb = ( !empty( $thumb ) ) ? $thumb : get_bloginfo('template_directory').'./images/whitebg.jpg';
       	print '<img src="' . $thumb . '" width="80" height="80" alt="Post Thumb" />';
       	?>
       ```
   
 * and It works great! 😉
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Help with php bloginfo(‘template_directory’);](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/)
 *  Thread Starter [techinfo2](https://wordpress.org/support/users/techinfo2/)
 * (@techinfo2)
 * [17 years ago](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/#post-1070870)
 * Ok Thank you everyone, but I have solved my own problem 😉
 * here is the Problem
 *     ```
       <?php
       	$thumb = get_post_meta($post->ID,'Thumbnail', true);
       	$thumb = ( !empty( $thumb ) ) ? $thumb : '<?php get_bloginfo('stylesheet_directory');?>/images/whitebg.jpg';
       	print '<img src="' . $thumb . '" width="80" height="80" alt="" />';
       	?>
       ```
   
 * here is the Problem solved.
 *     ```
       <?php
       	$thumb = get_post_meta($post->ID,'Thumbnail', true);
       	$thumb = ( !empty( $thumb ) ) ? $thumb : './wp-content/themes/mytheme/images/whitebg.jpg';
       	print '<img src="' . $thumb . '" width="80" height="80" alt="" />';
       	?>
       ```
   
 * Thank you everyone and Good night
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Help with php bloginfo(‘template_directory’);](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/)
 *  Thread Starter [techinfo2](https://wordpress.org/support/users/techinfo2/)
 * (@techinfo2)
 * [17 years ago](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/#post-1070865)
 *     ```
       <?php
       	$thumb = get_post_meta($post->ID,'Thumbnail', true);
       	$thumb = ( !empty( $thumb ) ) ? $thumb : '<?php get_bloginfo('stylesheet_directory');?>/images/whitebg.jpg';
       	print '<img src="' . $thumb . '" width="80" height="80" alt="" />';
       	?>
       ```
   
 * jdembowski thanks for your Answer but I have tried, does not work
    If I view 
   the image, I get the web address URL like this: `http://localhost/wordpress/%
   3C?php%20get_bloginfo(%27stylesheet_directory%27);%20?%3E/images/whitebg.jpg`
   😉
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Help with php bloginfo(‘template_directory’);](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/)
 *  Thread Starter [techinfo2](https://wordpress.org/support/users/techinfo2/)
 * (@techinfo2)
 * [17 years ago](https://wordpress.org/support/topic/help-with-php-bloginfotemplate_directory/#post-1070852)
 * Please I really need your Help
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to Remove bull in Category?](https://wordpress.org/support/topic/how-to-remove-bull-in-category/)
 *  Thread Starter [techinfo2](https://wordpress.org/support/users/techinfo2/)
 * (@techinfo2)
 * [17 years ago](https://wordpress.org/support/topic/how-to-remove-bull-in-category/#post-1068927)
 * Do any one understand what I mean?
    I mean this little dot, on the left side 
   <= `<?php wp_list_categories() ?>` 😉
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to Remove bull in Category?](https://wordpress.org/support/topic/how-to-remove-bull-in-category/)
 *  Thread Starter [techinfo2](https://wordpress.org/support/users/techinfo2/)
 * (@techinfo2)
 * [17 years ago](https://wordpress.org/support/topic/how-to-remove-bull-in-category/#post-1068926)
 * Jane.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Help with Category color on the left side](https://wordpress.org/support/topic/help-with-category-color-on-the-left-side/)
 *  Thread Starter [techinfo2](https://wordpress.org/support/users/techinfo2/)
 * (@techinfo2)
 * [17 years ago](https://wordpress.org/support/topic/help-with-category-color-on-the-left-side/#post-1067618)
 * here is the Topic that was closed
    reason: I don’t know why lol [http://wordpress.org/support/topic/267495?replies=0](http://wordpress.org/support/topic/267495?replies=0)

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