';
}
}
function arouse_woocommerce_after_main_content() {
echo '
';
if ( ! is_active_sidebar( 'arouse-woocommerce-sidebar' ) ) {
return;
}
?>
';
}
/**
* Hooks custom css into the head.
*/
function arouse_custom_styles() {
$arouse_custom_styles = "";
$primary_color = get_theme_mod( 'arouse_primary_color', '#a58e78' );
$primary_color = esc_attr( $primary_color );
if ( $primary_color != '#a58e78' ) {
$arouse_custom_styles .= '
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
background: '. $primary_color .';
}
.main-navigation a:hover {
color: '. $primary_color .';
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
color: '. $primary_color .';
}
.arouse-search-form .search-form .search-submit {
background-color: '. $primary_color .';
}
.nav-links .current {
background: '. $primary_color .';
}
.widget-area a:hover {
color: '. $primary_color .';
}
.search-form .search-submit {
background: '. $primary_color .';
}
.widget_tag_cloud .tagcloud a {
background: '. $primary_color .';
}
.widget_tag_cloud .tagcloud a:hover {
color: #ffffff;
}
.ar-cat-title a:hover {
color: '. $primary_color .';
}
.site-title a:hover {
color: '. $primary_color .';
}
.site-description {
color: '. $primary_color .';
}
.arouse-post-list .entry-title a:hover,
.arouse-post-list .search-entry-title a:hover,
.arouse-post-grid .entry-title a:hover,
.arouse-post-grid .search-entry-title a:hover {
color: '. $primary_color .';
}
.page-template-template-featured .arouse-post-list .entry-title a:hover,
.page-template-template-featured .arouse-post-list .search-entry-title a:hover,
.page-template-template-featured .arouse-post-grid .entry-title a:hover,
.page-template-template-featured .arouse-post-grid .search-entry-title a:hover {
color: '. $primary_color .';
}
.comment-author .fn,
.comment-author .url,
.comment-reply-link,
.comment-reply-login {
color: '. $primary_color .';
}
.woocommerce ul.products li.product .star-rating {
color: '. $primary_color .';
}
.woocommerce ul.products li.product h3:hover {
color: '. $primary_color .';
}
.woocommerce-product-search input[type="submit"] {
background: '. $primary_color .';
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
background: '. $primary_color .';
}
.woocommerce nav.woocommerce-pagination ul li span.current {
background: '. $primary_color .';
}
.woocommerce .star-rating span {
color: '. $primary_color .';
}
.woocommerce .posted_in a,
a.woocommerce-review-link {
color: '. $primary_color .';
}';
}
$category_link_color = get_theme_mod( 'arouse_category_link_color', '#a58e78' );
$category_link_color = esc_attr( $category_link_color );
if ( $category_link_color != '#a58e78' ) {
$arouse_custom_styles .= '
.arouse-entry-category a {
color: '. $category_link_color .';
}
.arouse-post-list .cat-links a,
.arouse-post-grid .cat-links a {
color: '. $category_link_color .';
}
.page-template-template-featured .arouse-post-list .cat-links a,
.page-template-template-featured .arouse-post-grid .cat-links a {
color: '. $category_link_color .';
}
';
}
if ( ! empty( $arouse_custom_styles ) ) { ?>