Make WordPress Themes

Changeset 143873

Timestamp:
02/28/2021 01:17:51 AM (5 years ago)
Author:
themedropbox
Message:

New version of Perfect Blogging - 0.2.5

Location:
perfect-blogging/0.2.5
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • perfect-blogging/0.2.5/header.php

    r141639 r143873  
    2222    <header role="banner">
    2323      <?php if(get_theme_mod('perfect_blog_preloader_option',true) != '' || get_theme_mod('perfect_blog_responsive_preloader', true) != ''){ ?>
    24         <div id="loader-wrapper">
     24        <div id="loader-wrapper" class="w-100 h-100">
    2525          <div id="loader"></div>
    2626          <div class="loader-section section-left"></div>
     
    2929      <?php }?>
    3030      <a class="screen-reader-text skip-link" href="#maincontent"><?php esc_html_e( 'Skip to content', 'perfect-blogging' ); ?></a>
    31       <div id="header">
     31      <div id="header" class="py-1">
    3232        <div class="container">
    3333          <div class="row">
     
    4040                <?php if( get_theme_mod('perfect_blog_site_title',true) != ''){ ?>
    4141                  <?php if ( is_front_page() && is_home() ) : ?>
    42                     <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
     42                    <h1 class="site-title p-0"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    4343                  <?php else : ?>
    44                     <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
     44                    <p class="site-title mb-0"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
    4545                  <?php endif; ?>
    4646                <?php }?>
     
    5151                ?>
    5252                <?php if( get_theme_mod('perfect_blog_tagline',true) != ''){ ?>
    53                   <p class="site-description">
     53                  <p class="site-description mb-2">
    5454                    <?php echo esc_html($description); ?>
    5555                  </p>
     
    6060              <?php
    6161                if(has_nav_menu('primary')){ ?>
    62                 <div class="toggle-menu responsive-menu">
     62                <div class="toggle-menu responsive-menu my-2">
    6363                  <button class="mobiletoggle"><i class="fas fa-bars"></i><span class="screen-reader-text"><?php esc_html_e('Open Menu','perfect-blogging'); ?></span></button>
    6464                </div>
     
    7777                    }
    7878                  ?>
    79                   <div id="contact-info">
     79                  <div id="contact-info" class="text-center">
    8080                    <div class="social-icons">
    8181                      <?php if( get_theme_mod( 'perfect_blog_facebook_url') != '') { ?>
    82                         <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_facebook_url','' ) ); ?>" ><i class="fab fa-facebook-f"></i><span class="screen-reader-text"><?php esc_html_e( 'Facebook','perfect-blogging' );?></span></a>
     82                        <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_facebook_url','' ) ); ?>" class="m-2"><i class="fab fa-facebook-f p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Facebook','perfect-blogging' );?></span></a>
    8383                      <?php } ?>
    8484                      <?php if( get_theme_mod( 'perfect_blog_twitter_url') != '') { ?>
    85                         <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_twitter_url','' ) ); ?>"><i class="fab fa-twitter"></i><span class="screen-reader-text"><?php esc_html_e( 'Twitter','perfect-blogging' );?></span></a>
     85                        <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_twitter_url','' ) ); ?>" class="m-2"><i class="fab fa-twitter p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Twitter','perfect-blogging' );?></span></a>
    8686                      <?php } ?>
    8787                      <?php if( get_theme_mod( 'perfect_blog_skipe_url' ) != '') { ?>
    88                         <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_skipe_url','' ) ); ?>"><i class="fab fa-skype"></i><span class="screen-reader-text"><?php esc_html_e( 'Skype','perfect-blogging' );?></span></a>
     88                        <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_skipe_url','' ) ); ?>" class="m-2"><i class="fab fa-skype p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Skype','perfect-blogging' );?></span></a>
    8989                      <?php } ?>
    9090                      <?php if( get_theme_mod( 'perfect_blog_pint_url') != '') { ?>
    91                         <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_pint_url','' ) ); ?>"><i class="fab fa-pinterest-p"></i><span class="screen-reader-text"><?php esc_html_e( 'Pinterest','perfect-blogging' );?></span></a>
     91                        <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_pint_url','' ) ); ?>" class="m-2"><i class="fab fa-pinterest-p p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Pinterest','perfect-blogging' );?></span></a>
    9292                      <?php } ?>
    9393                    </div>
    9494                    <?php get_search_form();?>
    9595                  </div>
    96                   <a href="javascript:void(0)" class="closebtn responsive-menu"><i class="far fa-times-circle"></i><span class="screen-reader-text"><?php esc_html_e('Close Menu','perfect-blogging'); ?></span></a>
     96                  <a href="javascript:void(0)" class="closebtn responsive-menu p-2"><i class="far fa-times-circle"></i><span class="screen-reader-text"><?php esc_html_e('Close Menu','perfect-blogging'); ?></span></a>
    9797                </nav>
    9898              </div>
    9999            </div>
    100             <div class="social-media col-lg-2 col-md-3">
     100            <div class="social-media col-lg-2 col-md-3 my-3">
    101101              <?php if( get_theme_mod( 'perfect_blog_facebook_url') != '') { ?>
    102                 <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_facebook_url','' ) ); ?>"><i class="fab fa-facebook-f"></i><span class="screen-reader-text"><?php esc_html_e( 'Facebook','perfect-blogging' );?></span></a>
     102                <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_facebook_url','' ) ); ?>"><i class="fab fa-facebook-f p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Facebook','perfect-blogging' );?></span></a>
    103103              <?php } ?>
    104104              <?php if( get_theme_mod( 'perfect_blog_twitter_url') != '') { ?>
    105                 <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_twitter_url','' ) ); ?>"><i class="fab fa-twitter"></i><span class="screen-reader-text"><?php esc_html_e( 'Twitter','perfect-blogging' );?></span></a>
     105                <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_twitter_url','' ) ); ?>"><i class="fab fa-twitter p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Twitter','perfect-blogging' );?></span></a>
    106106              <?php } ?>
    107107              <?php if( get_theme_mod( 'perfect_blog_skipe_url' ) != '') { ?>
    108                 <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_skipe_url','' ) ); ?>"><i class="fab fa-skype"></i><span class="screen-reader-text"><?php esc_html_e( 'Skype','perfect-blogging' );?></span></a>
     108                <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_skipe_url','' ) ); ?>"><i class="fab fa-skype p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Skype','perfect-blogging' );?></span></a>
    109109              <?php } ?>
    110110              <?php if( get_theme_mod( 'perfect_blog_pint_url') != '') { ?>
    111                 <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_pint_url','' ) ); ?>"><i class="fab fa-pinterest-p"></i><span class="screen-reader-text"><?php esc_html_e( 'Pinterest','perfect-blogging' );?></span></a>
     111                <a href="<?php echo esc_url( get_theme_mod( 'perfect_blog_pint_url','' ) ); ?>"><i class="fab fa-pinterest-p p-2"></i><span class="screen-reader-text"><?php esc_html_e( 'Pinterest','perfect-blogging' );?></span></a>
    112112              <?php } ?>
    113113            </div>
  • perfect-blogging/0.2.5/page-template/custom-front-page.php

    r141639 r143873  
    3939                <?php if( get_theme_mod('perfect_blog_slider_button','READ MORE') != ''){ ?>
    4040                  <div class="more-btn">             
    41                     <a href="<?php the_permalink(); ?>"><?php echo esc_html(get_theme_mod('perfect_blog_slider_button','READ MORE'));?><span class="more"><i class="fas fa-long-arrow-alt-right"></i></span><span class="screen-reader-text"><?php echo esc_html(get_theme_mod('perfect_blog_slider_button','READ MORE'));?><span class="more"><i class="fas fa-long-arrow-alt-right"></i></span></span></a>
     41                    <a href="<?php the_permalink(); ?>" class="p-0 text-uppercase"><?php echo esc_html(get_theme_mod('perfect_blog_slider_button','READ MORE'));?><span class="more"><i class="fas fa-long-arrow-alt-right ml-2"></i></span><span class="screen-reader-text"><?php echo esc_html(get_theme_mod('perfect_blog_slider_button','READ MORE'));?><span class="more"><i class="fas fa-long-arrow-alt-right"></i></span></span></a>
    4242                  </div>   
    4343                <?php } ?>           
     
    6666  <?php do_action( 'perfect_blog_after_slider' ); ?>
    6767
    68   <div class="below-slider">
     68  <div class="below-slider my-4">
    6969    <div class="container">
    7070      <div class="row">
    7171        <div class="col-md-9">
    7272          <div class="title">
    73             <?php if( get_theme_mod('perfect_blog_cat_title') != ''){ ?> <h2><?php echo esc_html(get_theme_mod('perfect_blog_cat_title','')); ?></h2>
    74             <hr class="titlehr">
     73            <?php if( get_theme_mod('perfect_blog_cat_title') != ''){ ?> <h2 class="p-0"><?php echo esc_html(get_theme_mod('perfect_blog_cat_title','')); ?></h2>
     74            <hr class="titlehr mb-3">
    7575            <?php }?>
    76             <div class="category-section row">
     76            <div class="category-section row p-0">
    7777              <?php
    7878                $perfect_blog_catData=  get_theme_mod('perfect_blog_category');
     
    8484                        <?php if(has_post_thumbnail()) { ?><?php the_post_thumbnail(); ?><?php } ?>
    8585                      </div>
    86                       <div class="contentbox">
    87                         <a href="<?php the_permalink(); ?>"><h3><?php the_title(); ?></h3><span class="screen-reader-text"><?php the_title(); ?></span></a>
     86                      <div class="contentbox w-100 my-0 mx-auto">
     87                        <a href="<?php the_permalink(); ?>"><h3 class="my-0 mx-auto text-uppercase p-3"><?php the_title(); ?></h3><span class="screen-reader-text"><?php the_title(); ?></span></a>
    8888                      </div>
    8989                    </div>
     
    9494          </div>
    9595          <hr>
    96           <div class="category-post">
     96          <div class="category-post my-4">
    9797            <?php
    9898            $perfect_blog_catData=  get_theme_mod('perfect_blogging_category_post');
     
    100100              $page_query = new WP_Query(array( 'category_name' => esc_html($perfect_blog_catData,'perfect-blogging')));?>
    101101              <?php while( $page_query->have_posts() ) : $page_query->the_post(); ?>
    102                 <div class="main-cat-box row">
     102                <div class="main-cat-box row mb-5">
    103103                  <?php if(has_post_thumbnail()) { ?>
    104104                    <div class="box-image col-md-6">
     
    107107                  <?php } ?>
    108108                  <div class="overlay <?php if(has_post_thumbnail()) { ?>col-md-6"<?php } else { ?>col-md-12"<?php } ?>>
    109                     <a href="<?php the_permalink(); ?>"><h4><?php the_title(); ?></h4><span class="screen-reader-text"><?php the_title(); ?></span></a>
    110                     <div class="metabox">
    111                       <span class="entry-author"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?></a></span>
    112                       <span class="entry-date"><i class="fas fa-calendar-alt"></i><?php echo esc_html( get_the_date() ); ?></span>       
    113                       <span class="entry-comments"><i class="fas fa-comments"></i> <?php comments_number( __('0 Comment', 'perfect-blogging'), __('0 Comments', 'perfect-blogging'), __('% Comments', 'perfect-blogging') ); ?> </span>
     109                    <a href="<?php the_permalink(); ?>"><h4 class="p-0"><?php the_title(); ?></h4><span class="screen-reader-text"><?php the_title(); ?></span></a>
     110                    <div class="metabox py-2">
     111                      <span class="entry-author mr-2"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?></a></span>
     112                      <span class="entry-date mr-2"><i class="fas fa-calendar-alt"></i><?php echo esc_html( get_the_date() ); ?></span>       
     113                      <span class="entry-comments mr-2"><i class="fas fa-comments"></i> <?php comments_number( __('0 Comment', 'perfect-blogging'), __('0 Comments', 'perfect-blogging'), __('% Comments', 'perfect-blogging') ); ?> </span>
    114114                    </div>
    115                     <p><?php the_excerpt(); ?></p>
     115                    <p class="mb-2"><?php the_excerpt(); ?></p>
    116116                    <div class="read-comp">
    117                       <a href="<?php echo esc_url( get_permalink() );?>"><?php esc_html_e('READ COMPLETE POST','perfect-blogging'); ?><span class="more"><i class="fas fa-long-arrow-alt-right"></i></span><span class="screen-reader-text"><?php esc_html_e( 'READ COMPLETE POST','perfect-blogging' );?></span></a>
     117                      <a href="<?php echo esc_url( get_permalink() );?>"><?php esc_html_e('READ COMPLETE POST','perfect-blogging'); ?><span class="more p-2"><i class="fas fa-long-arrow-alt-right"></i></span><span class="screen-reader-text"><?php esc_html_e( 'READ COMPLETE POST','perfect-blogging' );?></span></a>
    118118                    </div>
    119119                  </div>
     
    137137
    138138  <?php do_action( 'perfect_blog_after_post_section' ); ?>
    139 
    140139</main>
    141140
  • perfect-blogging/0.2.5/readme.txt

    r141639 r143873  
    33Tags: custom-background, custom-menu, custom-colors, custom-logo, editor-style, featured-images, front-page-post-form, full-width-template, footer-widgets, one-column, sticky-post, two-columns, theme-options, threaded-comments, right-sidebar, left-sidebar, grid-layout, three-columns, blog, news
    44Requires at least: 5.0
    5 Tested up to: 5.6
     5Tested up to: 5.6.1
    66Requires PHP: 7.2.14
    7 Stable Tag: 0.2.4
     7Stable Tag: 0.2.5
    88License: GNU General Public License v3.0
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    7070  * Corrected some focus errors.
    7171
     72= 0.2.5 =
     73  * Optimized home page css.
     74
    7275== Resources ==
    7376
  • perfect-blogging/0.2.5/style.css

    r141639 r143873  
    55Author URI: https://www.themeshopy.com/
    66Description: The perfect blogging is a child theme of Perfect Blog, perfect blogging is attractive and is also categorised as a minimal blog theme crafted solely for the bloggers who are well versed in multipurpose blogging. Some important features accompanied with it are the user friendly personalization options like custom background apart from being SEO friendly. Other features included are styling options, call to action button [CTA] and the styling options.The perfect blog is a good blog theme that is associated with multiple characteristics or features. These are also translation ready making them suitable as far as understanding is concerned. The large slider is attached with a banner and it is where the CTA is. It is one of the important things that attract the visitors. They are experts in making personal blogs or sports blogs or fashion blogs or food blogs to photography blog, journals for the multipurpose magazines or newspaper theme. This theme has the compatibility with various feature layouts for different pages, products or posts. There is a security factor associated with it because of the clean code and the bootstrap framework with it increases the development speed. For the easy understanding of the theme, you have the interactive demo as well. Demo https://themeshopy.com/perfect-blog/
    7 Tested up to: 5.6
     7Tested up to: 5.6.1
    88Requires PHP: 7.2.14
    9 Version: 0.2.4
     9Version: 0.2.5
    1010license: GNU General Public License v3.0
    1111License URI: http://www.gnu.org/licenses/gpl.html
     
    101101    font-size: 15px;
    102102}
    103 #header .logo h1, #header .logo p{
    104     margin-bottom: 0;   
    105 }
    106 .social-media{
    107     margin: 20px 0;
    108 }
    109103.page-template-custom-front-page .social-media i{
    110104    border: solid 1px #3f424e;
     
    112106}
    113107.social-media i{
    114     padding: 10px;
    115108    border: solid 1px #fff;
    116109}
     
    167160  margin:0;
    168161}
    169 #sidebar .widget{
    170     margin-bottom: 25px;
    171 }
    172162#sidebar ul {
    173163  list-style: none;
     
    182172}
    183173/*------------------ Slider ------------------*/
    184 #slider .slide-cap a.read-more{
    185     border: none;
    186     padding: 0;
    187 }
    188 .below-slider,.category-post{
    189     padding: 3% 0;
    190 }
    191 .category-section{
    192     padding: 0;
    193 }
    194174.carousel-control-prev-icon, .carousel-control-next-icon {
    195175  display: inline-block;
    196176  width: 0px !important;
    197   height: auto !important;;
     177  height: auto !important;
    198178}
    199179#slider .inner_carousel .more-btn a {
     
    203183  font-weight: 700;
    204184  color: #fff;
    205   padding: 0;
    206185}
    207186#slider .inner_carousel .more-btn a:hover {
    208187  background: none;
    209188  color: #97cb17;
    210 }
    211 #slider .inner_carousel .more-btn {
    212   margin-top: 0px;
    213189}
    214190.middle-align {
     
    216192  padding: 20px 0 20px;
    217193}
    218 #slider .inner_carousel .more-btn a{
    219   text-transform: uppercase;
    220 }
    221194.read-comp a, #slider .inner_carousel .more-btn a, #comments .form-submit input[type="submit"]{
    222195  border-radius: 0 !important;
    223196}
    224197/*------------------ Category Post Section ------------------*/
    225 .imagebox {
    226   padding: 2px 0;
    227 }
    228198.title h2 {
    229199  font-size: 25px;
    230   margin: 0;
    231 }
    232 .title hr{
    233   margin-bottom: 15px;
    234200}
    235201.contentbox {
    236   width: 100%;
    237   margin: 0 auto;
    238202  position: absolute;
    239203  top: 50%;
     
    242206}
    243207.contentbox h3 {
    244   margin: 0 auto;
    245208  color: #fff;
    246   text-transform: uppercase;
    247209  background: #101631c7;
    248210  display: table;
    249   padding: 15px;
    250211  font-size: 14px;
    251212  letter-spacing: 2px;
     
    266227  border-top: solid 1px #ebeced;
    267228  border-bottom: solid 1px #ebeced;
    268   padding: 5px 0;
    269   margin-bottom: 10px;
    270229}
    271230.metabox a{
     
    274233.metabox span{
    275234  font-size: 16px;
    276   margin-right: 5px;
    277235}
    278236.metabox i:hover, .metabox a:hover{
     
    283241  font-size: 15px;
    284242  line-height: 25px;
    285   margin-bottom: 10px;
    286243}
    287244.read-comp a {
     
    293250    color: #97cb17;
    294251}
    295 .main-cat-box {
    296     margin-bottom: 20px;
    297 }
    298 span.more {
    299   padding: 5px;
    300 }
    301252/*------------------ Custom Post ------------------*/
    302253.entry-comments, span.entry-date{
     
    319270  float: none;
    320271}
    321 .main-cat-box {
    322   margin-bottom: 5%;
    323 }
    324 .main-cat-box h2{
    325   color: #3f424e;
    326 }
    327 hr {
     272hr{
    328273  margin-top: 1rem;
    329274  margin-bottom: 1rem;
     
    350295    background: #3f424e;
    351296}
     297#footer form.woocommerce-product-search button, #sidebar form.woocommerce-product-search button{
     298  background: #97cb17;
     299  border: 1px solid #97cb17;
     300}
    352301#sidebar input[type="submit"],.second-border a:hover,.pagination .current,.pagination a:hover,#sidebar .tagcloud a:hover,.copyright,#footer .tagcloud a:hover,.meta-nav{
    353302    background: #97cb17;
     
    416365  .social-icons i{
    417366    border: 1px solid #fff;
    418     padding: 10px;
    419367    font-size: 15px;
    420368  }
     
    427375    color: #000;
    428376  }
    429   .social-icons a{
    430     padding: 5px;
    431   }
    432377  .sidebar .closebtn a,.page-template-custom-front-page .primary-navigation a{
    433378    color: #fff;
     
    458403    display: none;
    459404  }
    460   #slider .inner_carousel .more-btn {
    461     margin-top: 20px;
    462   }
    463405  #menu-sidebar input[type="search"]{
    464406    display: block;
     
    469411  }
    470412}
    471 @media screen and (max-width: 1024px) and (min-width: 1000px){
    472   .social-media i{
    473     padding: 7px;
    474   }
    475   .primary-navigation ul{
    476     margin: 0;
    477   }
    478 }
    479 @media screen and (max-width: 720px){
    480   #slider .inner_carousel .more-btn{
    481     margin:0 !important;
    482   }
    483 }
  • perfect-blogging/0.2.5/template-parts/content-audio.php

    r141639 r143873  
    2222  }
    2323?>
    24 <div class="main-cat-box">
     24<div class="main-cat-box mb-4">
    2525  <h2><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo the_title_attribute(); ?>"><?php the_title();?><span class="screen-reader-text"><?php the_title(); ?></span></a></h2>
    2626  <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '' || get_theme_mod( 'perfect_blog_date_hide',true) != '' || get_theme_mod( 'perfect_blog_comment_hide',true) != '') { ?>
    27     <div class="metabox">
     27    <div class="metabox p-1">
    2828      <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '') { ?>
    2929        <span class="entry-author"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?><span class="screen-reader-text"><?php the_author(); ?></span></a></span><?php echo esc_html( get_theme_mod('perfect_blog_metabox_separator_blog_post') ); ?>
  • perfect-blogging/0.2.5/template-parts/content-gallery.php

    r141639 r143873  
    1313  $archive_day   = get_the_time('d');
    1414?>
    15 <div class="main-cat-box">
     15<div class="main-cat-box mb-5">
    1616  <h2><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo the_title_attribute(); ?>"><?php the_title();?><span class="screen-reader-text"><?php the_title(); ?></span></a></h2>
    1717  <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '' || get_theme_mod( 'perfect_blog_date_hide',true) != '' || get_theme_mod( 'perfect_blog_comment_hide',true) != '') { ?>
    18     <div class="metabox">
     18    <div class="metabox p-1">
    1919      <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '') { ?>
    2020        <span class="entry-author"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?><span class="screen-reader-text"><?php the_author(); ?></span></a></span><?php echo esc_html( get_theme_mod('perfect_blog_metabox_separator_blog_post') ); ?>
  • perfect-blogging/0.2.5/template-parts/content-image.php

    r141639 r143873  
    1313  $archive_day   = get_the_time('d');
    1414?>
    15 <div class="main-cat-box"> 
     15<div class="main-cat-box mb-5"> 
    1616  <div class="row">
    1717    <?php if(has_post_thumbnail()) { ?>
     
    2323      <h2><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo the_title_attribute(); ?>"><?php the_title();?><span class="screen-reader-text"><?php the_title(); ?></span></a></h2>
    2424      <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '' || get_theme_mod( 'perfect_blog_date_hide',true) != '' || get_theme_mod( 'perfect_blog_comment_hide',true) != '') { ?>
    25         <div class="metabox">
     25        <div class="metabox p-1">
    2626          <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '') { ?>
    2727            <span class="entry-author"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?><span class="screen-reader-text"><?php the_author(); ?></span></a></span><?php echo esc_html( get_theme_mod('perfect_blog_metabox_separator_blog_post') ); ?>
  • perfect-blogging/0.2.5/template-parts/content-video.php

    r141639 r143873  
    2222  }
    2323?>
    24 <div class="main-cat-box">
     24<div class="main-cat-box mb-5">
    2525  <h2><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo the_title_attribute(); ?>"><?php the_title();?><span class="screen-reader-text"><?php the_title(); ?></span></a></h2>
    2626  <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '' || get_theme_mod( 'perfect_blog_date_hide',true) != '' || get_theme_mod( 'perfect_blog_comment_hide',true) != '') { ?>
    27     <div class="metabox">
     27    <div class="metabox p-1">
    2828      <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '') { ?>
    2929        <span class="entry-author"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?><span class="screen-reader-text"><?php the_author(); ?></span></a></span><?php echo esc_html( get_theme_mod('perfect_blog_metabox_separator_blog_post') ); ?>
  • perfect-blogging/0.2.5/template-parts/content.php

    r141639 r143873  
    1313  $archive_day   = get_the_time('d');
    1414?>
    15 <div class="main-cat-box"> 
     15<div class="main-cat-box mb-5"> 
    1616  <div class="row">
    1717    <?php if(has_post_thumbnail()) { ?>
     
    2323      <h2><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo the_title_attribute(); ?>"><?php the_title();?><span class="screen-reader-text"><?php the_title(); ?></span></a></h2>
    2424      <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '' || get_theme_mod( 'perfect_blog_date_hide',true) != '' || get_theme_mod( 'perfect_blog_comment_hide',true) != '') { ?>
    25       <div class="metabox">
     25      <div class="metabox p-1">
    2626        <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '') { ?>
    2727          <span class="entry-author"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?><span class="screen-reader-text"><?php the_author(); ?></span></a></span><?php echo esc_html( get_theme_mod('perfect_blog_metabox_separator_blog_post') ); ?>
  • perfect-blogging/0.2.5/template-parts/grid-layout.php

    r140186 r143873  
    1414?>
    1515<div class="col-md-4 col-sm-4">
    16   <div class="main-cat-box">
     16  <div class="main-cat-box mb-5">
    1717    <h2><a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo the_title_attribute(); ?>"><?php the_title();?><span class="screen-reader-text"><?php the_title(); ?></span></a></h2>
    1818    <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '' || get_theme_mod( 'perfect_blog_date_hide',true) != '' || get_theme_mod( 'perfect_blog_comment_hide',true) != '') { ?>
    19     <div class="metabox">
     19    <div class="metabox p-1">
    2020      <?php if( get_theme_mod( 'perfect_blog_author_hide',true) != '') { ?>
    2121        <span class="entry-author"><i class="fas fa-user"></i><a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>"><?php the_author(); ?><span class="screen-reader-text"><?php the_author(); ?></span></a></span><?php echo esc_html( get_theme_mod('perfect_blog_metabox_separator_blog_post') ); ?>
Note: See TracChangeset for help on using the changeset viewer.