placement fixes, added widget-head & widget-foot classes to the PLACED widgets (not default)
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
3369d27686
commit
522e305f2e
|
@ -152,6 +152,7 @@ foreach ( $years as $year ) {
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="post-foot"></div>
|
<div class="post-foot"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -771,10 +771,10 @@ if ( function_exists('register_sidebar') ) {
|
||||||
) as $label) {
|
) as $label) {
|
||||||
register_sidebar(array(
|
register_sidebar(array(
|
||||||
'name'=> $label,
|
'name'=> $label,
|
||||||
'before_widget' => '<div id="%1$s" class="widget %2$s">',
|
'before_widget' => '<div id="%1$s">'."\r\n".'<div class="widget-head"><div>'."\r\n".'<div class="widget %2$s">'."\r\n",
|
||||||
'after_widget' => '</div>',
|
'after_widget' => '</div>'."\r\n".'<div class="widget-foot"></div>'."\r\n".'</div>'."\r\n",
|
||||||
'before_title' => '<h2 class="widgettitle">',
|
'before_title' => '<h2 class="widgettitle">'."\r\n",
|
||||||
'after_title' => '</h2>'
|
'after_title' => '</h2>'."\r\n"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ function comicpress_display_post_tags() {
|
||||||
|
|
||||||
function comicpress_display_comment_link() {
|
function comicpress_display_comment_link() {
|
||||||
global $post;
|
global $post;
|
||||||
if ('open' == $post->comment_status) {
|
if ('open' == $post->comment_status && !is_page()) {
|
||||||
if (comicpress_check_child_file('partials/commentlink') == false && !is_single()) {
|
if (comicpress_check_child_file('partials/commentlink') == false && !is_single()) {
|
||||||
$post_comment_link = "<div class=\"comment-link\">".get_comment_reply_link('<span class="comment-balloon comment-balloon-empty"> </span> '.__('Comment ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress'))."</div>\r\n";
|
$post_comment_link = "<div class=\"comment-link\">".get_comment_reply_link('<span class="comment-balloon comment-balloon-empty"> </span> '.__('Comment ','comicpress'), '<span class="comment-balloon">1</span> '.__('Comment ','comicpress'), '<span class="comment-balloon">%</span> '.__('Comments ','comicpress'))."</div>\r\n";
|
||||||
apply_filters('comicpress_display_comment_link',$post_comment_link);
|
apply_filters('comicpress_display_comment_link',$post_comment_link);
|
||||||
|
@ -175,9 +175,9 @@ function comicpress_display_post() {
|
||||||
<?php comicpress_display_comment_link(); ?>
|
<?php comicpress_display_comment_link(); ?>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<?php comicpress_display_related_posts(); ?>
|
<?php comicpress_display_related_posts(); ?>
|
||||||
|
<?php if (is_page()) { edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>'); } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php if (is_page()) { edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>'); } ?>
|
|
||||||
<div class="post-foot"></div>
|
<div class="post-foot"></div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue