changed function names for the embed's of the .inc's
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
68e849717d
commit
8a8e50ba68
|
@ -883,7 +883,7 @@ if (comicpress_check_child_file('childfunctions') == false) {}
|
|||
/**
|
||||
* Render the ComicPress calendar widget.
|
||||
*/
|
||||
function comicpress_calendar() {
|
||||
function comicpress_calendar_embed() {
|
||||
$calendar = new CalendarWidget();
|
||||
|
||||
$instance = array();
|
||||
|
@ -897,7 +897,7 @@ function comicpress_calendar() {
|
|||
/**
|
||||
* Render the ComicPress bookmark widget.
|
||||
*/
|
||||
function comicpress_comic_bookmark() {
|
||||
function comicpress_comic_bookmark_embed() {
|
||||
$bookmark = new BookmarkWidget();
|
||||
$bookmark->init();
|
||||
$bookmark->widget(array(), array());
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="sidebar">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>
|
||||
<div class="widget">
|
||||
<?php comicpress_calendar() ?>
|
||||
<?php comicpress_calendar_embed() ?>
|
||||
</div>
|
||||
<div class="widget">
|
||||
<?php comicpress_archive_dropdown(); ?>
|
||||
|
|
|
@ -4,9 +4,12 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
|
|||
<div class="sidebar-head"></div>
|
||||
<div class="sidebar">
|
||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) : ?>
|
||||
<div class="widget">
|
||||
<?php comicpress_comic_bookmark_embed(); ?>
|
||||
</div>
|
||||
<?php if (is_cp_theme_layout('standard,v')) { ?>
|
||||
<div class="widget">
|
||||
<?php comicpress_calendar(); ?>
|
||||
<?php comicpress_calendar_embed(); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="widget">
|
||||
|
|
Loading…
Reference in New Issue