I am curious if there is anyway to use bloginfo() to link to the uploads directory… rather than write an absolute url either from the domain level (http://example.com/wp-content/uploads/) or the server root level (/wp-content/uploads/)
Ideas or perhaps there’s some other function I could use to generate the correct path to my uploads (or custom uploads) directory?
If not, there SHOULD be, imo. I’d like to see some sort of function that read the database and tap into the value you put in the misc. settings for your uploads path.
If there IS something like this, please let me know…
- The topic ‘any way to use bloginfo() to link to uploads directory?’ is closed to new replies.