mailing list area
This commit is contained in:
parent
4b85698070
commit
c1bfb6c9f7
@ -53,7 +53,9 @@
|
||||
</a>
|
||||
<div class="st-article-section-sub-article__text-container">
|
||||
<a href="<?php echo home_url($category->slug); ?>" class="st-article-section-sub-article__category-link"><?php echo $category->name; ?></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>">
|
||||
<h3><?php the_title(); ?></h3>
|
||||
</a>
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
@ -72,6 +74,9 @@
|
||||
the_ad_group(147);
|
||||
the_ad_group(148);
|
||||
}
|
||||
if (function_exists('dynamic_sidebar')) {
|
||||
dynamic_sidebar('mailing_list');
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
<!-- TECH SECTION -->
|
||||
@ -136,7 +141,9 @@
|
||||
</a>
|
||||
<div class="st-article-section-sub-article__text-container">
|
||||
<a href="<?php echo home_url($category->slug); ?>" class="st-article-section-sub-article__category-link"><?php echo $category->name; ?></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>">
|
||||
<h3><?php the_title(); ?></h3>
|
||||
</a>
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
@ -176,7 +183,9 @@
|
||||
</a>
|
||||
<div class="st-article-section-wide-article__text-container">
|
||||
<a href="<?php echo home_url($category->slug); ?>" class="st-article-section-wide-article__category-link"><?php echo $category->name; ?></a>
|
||||
<a class="st-article-section-wide-article__title" href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a>
|
||||
<a class="st-article-section-wide-article__title" href="<?php the_permalink(); ?>">
|
||||
<h3><?php the_title(); ?></h3>
|
||||
</a>
|
||||
<p class="st-article-section-wide-article__excerpt"><?php the_excerpt(); ?></p>
|
||||
</div>
|
||||
</a>
|
||||
@ -260,7 +269,9 @@
|
||||
</a>
|
||||
<div class="st-article-section-sub-article__text-container">
|
||||
<a href="<?php echo home_url($category->slug); ?>" class="st-article-section-sub-article__category-link"><?php echo $category->name; ?></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>">
|
||||
<h3><?php the_title(); ?></h3>
|
||||
</a>
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
@ -279,6 +290,9 @@
|
||||
the_ad_group(147);
|
||||
the_ad_group(148);
|
||||
}
|
||||
if (function_exists('dynamic_sidebar')) {
|
||||
dynamic_sidebar('mailing_list');
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
|
||||
@ -343,7 +357,9 @@
|
||||
</a>
|
||||
<div class="st-article-section-sub-article__text-container">
|
||||
<a href="<?php echo home_url($category->slug); ?>" class="st-article-section-sub-article__category-link"><?php echo $category->name; ?></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a>
|
||||
<a class="st-article-section-sub-article__title" href="<?php the_permalink(); ?>">
|
||||
<h3><?php the_title(); ?></h3>
|
||||
</a>
|
||||
</div>
|
||||
</a>
|
||||
</article>
|
||||
@ -386,7 +402,9 @@
|
||||
</a>
|
||||
<div class="st-article-section-wide-article__text-container">
|
||||
<a href="<?php echo home_url($category->slug); ?>" class="st-article-section-wide-article__category-link"><?php echo $category->name; ?></a>
|
||||
<a class="st-article-section-wide-article__title" href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3></a>
|
||||
<a class="st-article-section-wide-article__title" href="<?php the_permalink(); ?>">
|
||||
<h3><?php the_title(); ?></h3>
|
||||
</a>
|
||||
<p class="st-article-section-wide-article__excerpt"><?php the_excerpt(); ?></p>
|
||||
</div>
|
||||
</a>
|
||||
|
@ -31,6 +31,16 @@ function slowtwitch_menus() {
|
||||
register_nav_menus($locations);
|
||||
}
|
||||
|
||||
add_action( 'widgets_init', 'st_widgets_init' );
|
||||
|
||||
function st_widgets_init() {
|
||||
register_sidebar( array(
|
||||
'name' => 'Mailing List',
|
||||
'id' => 'mailing_list',
|
||||
'before_widget' => '<div class="st-mailing-list-widget">',
|
||||
'after_widget' => '</div>',) );
|
||||
}
|
||||
|
||||
add_action( 'widgets_init', 'my_widgets_init' );
|
||||
|
||||
function my_widgets_init() {
|
||||
|
@ -69,6 +69,9 @@
|
||||
the_ad_group(147);
|
||||
the_ad_group(148);
|
||||
}
|
||||
if (function_exists('dynamic_sidebar')) {
|
||||
dynamic_sidebar('mailing_list');
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
</section>
|
||||
|
26
style.css
26
style.css
@ -196,6 +196,7 @@ SECTIONS
|
||||
.st-header-scrolled {
|
||||
max-height: 80px;
|
||||
background-color: rgba(255, 255, 255, 0.95);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.st-header-icon-bar {
|
||||
@ -694,7 +695,7 @@ SECTIONS
|
||||
top: 85px;
|
||||
left: 0;
|
||||
align-self: start;
|
||||
z-index: -1000;
|
||||
/* z-index: -1000; */
|
||||
}
|
||||
}
|
||||
|
||||
@ -1324,8 +1325,6 @@ a.page-numbers,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.discourse-comments-area {
|
||||
margin: 1em 0;
|
||||
}
|
||||
@ -1452,3 +1451,24 @@ a.page-numbers,
|
||||
left: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
.st-mailchimp-signup label {
|
||||
display: inline-block;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
.st-mailchimp-signup__button {
|
||||
background-color: #0b4fa0;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: .25em .75em;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.st-mailchimp-signup__button:hover {
|
||||
background-color: #FFDB12;
|
||||
color: #414b4c;
|
||||
}
|
Loading…
Reference in New Issue
Block a user