My most sincere apology for a previous post.
-
Well, somehow, I posted the following question with the screwed up Topic title “won’t work,” and I do apologize for that knuckle-headed mistake.
I meant to say:
<?php get_stylesheet_directory_uri(); ?> won’t work, but somehow the function code didn’t show up after I pushed the Post button.So, I’m posting the question again at the risk of gettin’ scolded.
Any help anyone can offer will be truly appreciated.
==========================================================I have a wordpress site installed in a WAMP Server localhost environment on my machine.
Right now, my links to images are hard-coded and work fine.
I went to a wordpress group meeting tonight, and someone there showed me how to use this php function instead of doing all the hard-coding.
<img src=”<?php echo get_stylesheet_directory_uri(); ?>/images/aternus.png” alt=”” width=”” height=”” />
So, I plugged it in, made the appropriate path changes, tried every path configuration I could, and it won’t work—no image on the page.
Somehow, it cannot find the path to my image folder. I’ve tried it several times, being careful to check every single character in the string, alas, no image on the page.
Can someone please tell me what—if anything—I’m doin’ wrong?
Thanks so much.
- The topic ‘My most sincere apology for a previous post.’ is closed to new replies.