[Plugin: WP Super Cache] dynamic function not working
-
ok im testing [Plugin: WP Super Cache]
they told me to use the dynamic cache content tag
<!--dynamic-cached-content--><?php include_once( ABSPATH . '/scripts/adverts.php' ); print_sidebar_ad(); do_more_stuff(); ?><!-- include_once( ABSPATH . '/scripts/adverts.php' ); print_sidebar_ad(); do_more_stuff(); --><!--/dynamic-cached-content-->
ok so the function is this:
<?php if(function_exists('stt_terms_list')) echo stt_terms_list() ;?>
so i ended putting it up like the example and i ended up like this:
<!--dynamic-cached-content--> <?php if(function_exists('stt_terms_list')) echo stt_terms_list() ;?> <!-- if(function_exists('stt_terms_list')) echo stt_terms_list() ;?> --><!--/dynamic-cached-content-->
now they told me to do the….
To execute WordPress functions you must define $wp_super_cache_late_init in your config file.
so i dont know how to do that….im not a programmer.
where is that config file?
ok i think i manage to find the config file
$wp_super_cache_late_init = 0; //Added by WP-Cache Manager
ok that 0 i change it to a 1
but still i got this error:
Parse error: syntax error, unexpected T_STRING in mydomain.com/wp-content/plugins/wp-super-cache/wp-cache-phase1.php(204) : eval()’d code on line 175
- The topic ‘[Plugin: WP Super Cache] dynamic function not working’ is closed to new replies.