For eg, I wrote my own WordPress plugin that uses the Transient API’s to retrieve the total count of Facebook fans and I want to display a Facebook icon, adjacent to the total Facebook fan count on the side bar of my wordpress theme.
In my code I put
<p><img src="../../transientlabel/facebook.png" alt="Facebook">
as my transientlabel is my custom plugin folder. However, wordpress did not like that so I’m clueless as to why WordPress wouldn’t allow me to do this..
I confirmed that the icon image above does exist and it’s located in that folder certainly.
Does anybody know what I can do to get around this trivial problem?
1 Answer