Need help, with theme options outside of wordpress
-
Hello,
I need some help/advise/support with using wordpress theme functions outside of wordpress. Basically I made a javascript widget that shows a countdown for upcoming episode and the problem is i have to edit that widget every week via ftp/etc. Is there any i can use a code like this
<?php $episode_title2 = get_theme_option('episode_title2'); echo ($episode_title2); ?>
inside a javscript file instead of changing it manually every week.what do i need to add to the javascript file to make that function work.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need help, with theme options outside of wordpress’ is closed to new replies.