Warning: strpos() [function.strpos]: needle is not a string or an integer in /home/digitopi/public_html/portabilitate.com/blog.portabilitate.com/comments.php on line 34

Warning: strpos() [function.strpos]: needle is not a string or an integer in /home/digitopi/public_html/portabilitate.com/blog.portabilitate.com/comments.php on line 35

Warning: strpos() [function.strpos]: needle is not a string or an integer in /home/digitopi/public_html/portabilitate.com/blog.portabilitate.com/comments.php on line 36
OnlyOne Blog - Wordpress image relative path to theme
Wordpress image relative path to theme 
Pentru a putea pune o imagine in o tema wordpress, folosind o cale relativa la tema nou creeata, trebuie folosita urmatoarea secventa:

<img src="<?php bloginfo('template_directory'); ?>/images/image.jpg" title="" alt="" />

unde folderul images este in folderul temei active.

Alta problema este inserarea unei imagini salvata in folderul images intr-un post prin o cale relativa. Se pot incerca variantele:
../wp-content/themes/theme_name/images/the_image.jpg
sau
../images/the_image.jpg

Comments 
Comments are not available for this entry.