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.
|
* Render the ComicPress calendar widget.
|
||||||
*/
|
*/
|
||||||
function comicpress_calendar() {
|
function comicpress_calendar_embed() {
|
||||||
$calendar = new CalendarWidget();
|
$calendar = new CalendarWidget();
|
||||||
|
|
||||||
$instance = array();
|
$instance = array();
|
||||||
|
@ -897,7 +897,7 @@ function comicpress_calendar() {
|
||||||
/**
|
/**
|
||||||
* Render the ComicPress bookmark widget.
|
* Render the ComicPress bookmark widget.
|
||||||
*/
|
*/
|
||||||
function comicpress_comic_bookmark() {
|
function comicpress_comic_bookmark_embed() {
|
||||||
$bookmark = new BookmarkWidget();
|
$bookmark = new BookmarkWidget();
|
||||||
$bookmark->init();
|
$bookmark->init();
|
||||||
$bookmark->widget(array(), array());
|
$bookmark->widget(array(), array());
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>
|
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Left Sidebar') ) : ?>
|
||||||
<div class="widget">
|
<div class="widget">
|
||||||
<?php comicpress_calendar() ?>
|
<?php comicpress_calendar_embed() ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="widget">
|
<div class="widget">
|
||||||
<?php comicpress_archive_dropdown(); ?>
|
<?php comicpress_archive_dropdown(); ?>
|
||||||
|
|
|
@ -4,9 +4,12 @@ if (!$comicpress_options['disable_lrsidebars_frontpage']) { ?>
|
||||||
<div class="sidebar-head"></div>
|
<div class="sidebar-head"></div>
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right 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')) { ?>
|
<?php if (is_cp_theme_layout('standard,v')) { ?>
|
||||||
<div class="widget">
|
<div class="widget">
|
||||||
<?php comicpress_calendar(); ?>
|
<?php comicpress_calendar_embed(); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="widget">
|
<div class="widget">
|
||||||
|
|
Loading…
Reference in New Issue