'
', 'after_widget' => '
', 'before_title' => '
', 'after_title' => '
', )); } function dd_get_page_link_by_slug($page_slug) { $page = get_page_by_path($page_slug); if ($page) : return get_permalink( $page->ID ); else : $page = get_page_by_path($page_slug.'s'); if ($page) : return get_permalink( $page->ID ); else : return "#"; endif; endif; } function dd_comment_link() { global $post; if($post->comment_count==0){ $o = ""; $o .= $post->comment_count; $o .= " comments"; } else if($post->comment_count==1){ $o = ""; $o .= $post->comment_count; $o .= " comment"; } else { $o = ""; $o .= $post->comment_count; $o .= " comments"; } echo $o; } ?>