[Plugin: Runners Log] Modifying single.php
-
I am trying to add the following code to my single.php file so that I don’t have to manually add runners_log_basic and other graphs when I add a post. Where exactly do I need to add the code in my single.php? I have no php experience so I am not sure what to do here. Any help would be appreciated.
<?php if ( in_category('3') ): ?> <?php if (function_exists(runners_log_basic)) echo runners_log_basic(); ?> <?php if (function_exists(runners_log_graph)) echo runners_log_graph(); ?> <?php if (function_exists(runners_log_graphmini_distance)) echo runners_log_graphmini_distance(); ?> <?php endif; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Runners Log] Modifying single.php’ is closed to new replies.