Ready to get started?Download WordPress


Add php file with javascript (1 post)

  1. acrane
    Posted 2 years ago #

    I simply want to keep the sidebar dynamic on a Super Cached pages using

    <script type="text/javascript" src="my-sidebar.php"></script>

    But what do i put in the my-sidebar.php?

    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : endif;

    the above did not work.

Topic Closed

This topic has been closed to new replies.

About this Topic