How to use theme function in post/page?
-
I want to be able to reference the theme directory in a page/post using php code. I don’t know how to do this with WordPress but other CMS use something like a path_to_home php variable like
<img src="<?php path_to_home() . 'images/image.jpb'; ?>">
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to use theme function in post/page?’ is closed to new replies.