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>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
</div>
|
||||
|
|
|
@ -771,10 +771,10 @@ if ( function_exists('register_sidebar') ) {
|
|||
) as $label) {
|
||||
register_sidebar(array(
|
||||
'name'=> $label,
|
||||
'before_widget' => '<div id="%1$s" class="widget %2$s">',
|
||||
'after_widget' => '</div>',
|
||||
'before_title' => '<h2 class="widgettitle">',
|
||||
'after_title' => '</h2>'
|
||||
'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>'."\r\n".'<div class="widget-foot"></div>'."\r\n".'</div>'."\r\n",
|
||||
'before_title' => '<h2 class="widgettitle">'."\r\n",
|
||||
'after_title' => '</h2>'."\r\n"
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ function comicpress_display_post_tags() {
|
|||
|
||||
function comicpress_display_comment_link() {
|
||||
global $post;
|
||||
if ('open' == $post->comment_status) {
|
||||
if ('open' == $post->comment_status && !is_page()) {
|
||||
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";
|
||||
apply_filters('comicpress_display_comment_link',$post_comment_link);
|
||||
|
@ -175,9 +175,9 @@ function comicpress_display_post() {
|
|||
<?php comicpress_display_comment_link(); ?>
|
||||
<div class="clear"></div>
|
||||
<?php comicpress_display_related_posts(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if (is_page()) { edit_post_link(__('Edit this page.','comicpress'), '<p>', '</p>'); } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-foot"></div>
|
||||
</div>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue