diff options
Diffstat (limited to 'api/sidebar.php')
| -rw-r--r-- | api/sidebar.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/api/sidebar.php b/api/sidebar.php new file mode 100644 index 0000000..75c8b36 --- /dev/null +++ b/api/sidebar.php @@ -0,0 +1,12 @@ +<?php + +function fk_get_sidebar() { + ob_start(); + get_template_part( 'sidebar-templates/sidebar', 'right' ); + $content = ob_get_contents(); + $content = array("sidebar-right" => $content); + ob_end_clean(); + + return $content; +} + |
