Make WordPress Themes

Changeset 143874

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

New version of Abdum - 1.3

Location:
abdum/1.3
Files:
49 added
10 deleted
23 edited
1 copied

Legend:

Unmodified
Added
Removed
  • abdum/1.3/404.php

    r141360 r143874  
    55 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    1111?>
    1212
    13         <div class="abdum-page-title-area nfound-title">
    14             <div class="container">
    15                 <div class="row">
    16                     <div class="col-lg-12">
    17                             <h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'abdum' ); ?></h1>
    18                         <?php
    19                         if(function_exists('bcn_display')){
    20                             bcn_display();
    21                         }
    22                     ?>
    23                     </div>
    24                 </div>
    25             </div>
    26         </div>
     13    <main id="primary" class="site-main container">
     14        <div class="row">
     15            <section class="error-404 not-found col-md-12">
     16                <header class="page-header">
     17                    <h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'abdum' ); ?></h1>
     18                </header><!-- .page-header -->
    2719
    28     <div id="primary" class="content-area abdum-content-area-padding">
    29         <main id="main" class="site-main">
     20                <div class="page-content">
     21                    <p><?php esc_html_e( 'It looks like nothing was found at this Page. Try one of the links below or a search?', 'abdum' ); ?></p>
    3022
    31             <div class="container">
    32                 <div class="row">
    33                     <div class="col-lg-12">
    34                         <p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'abdum' ); ?></p>
    35                     </div>
    36                 </div>
    37                 <div class="row widget-area">
    38                     <div class="col-lg-4">
    39                         <div class="widget widget_search">
    40                             <?php
    41                             get_search_form();
    42                             ?>
    43                         </div>
    4423                        <?php
    45                         the_widget( 'WP_Widget_Recent_Posts' );
     24                        get_search_form();
     25                        ?>
    4626
     27                        <?php
    4728                        /* translators: %1$s: smiley */
    4829                        $abdum_archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'abdum' ), convert_smilies( ':)' ) ) . '</p>';
    4930                        the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$abdum_archive_content" );
    50                         ?>
    51                     </div>
    52                     <div class="col-lg-4">
    53                         <div class="widget widget_categories">
    54                             <h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'abdum' ); ?></h2>
    55                             <ul>
    56                                 <?php
    57                                 wp_list_categories( array(
    58                                     'orderby'    => 'count',
    59                                     'order'      => 'DESC',
    60                                     'show_count' => 1,
    61                                     'title_li'   => '',
    62                                     'number'     => 10,
    63                                 ) );
    64                                 ?>
    65                             </ul>
    66                         </div><!-- .widget -->
    67                     </div>
    68                     <div class="col-lg-4">
    69                         <?php
     31
    7032                        the_widget( 'WP_Widget_Tag_Cloud' );
    7133                        ?>
    72                     </div>
    73                 </div>
    74             </div>
    7534
    76         </main><!-- #main -->
    77     </div><!-- #primary -->
     35                </div><!-- .page-content -->
     36            </section><!-- .error-404 -->
     37        </div><!-- row -->
     38
     39    </main><!-- #main -->
    7840
    7941<?php
  • abdum/1.3/LICENSE

    r141360 r143874  
    22                       Version 2, June 1991
    33
    4  Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
     4 Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
    55 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
    66 Everyone is permitted to copy and distribute verbatim copies
     
    291291the "copyright" line and a pointer to where the full notice is found.
    292292
    293     <one line to give the program's name and a brief idea of what it does.>
    294     Copyright (C) <year>  <name of author>
     293    {description}
     294    Copyright (C) {year}  {fullname}
    295295
    296296    This program is free software; you can redistribute it and/or modify
     
    330330  `Gnomovision' (which makes passes at compilers) written by James Hacker.
    331331
    332   <signature of Ty Coon>, 1 April 1989
     332  {signature of Ty Coon}, 1 April 1989
    333333  Ty Coon, President of Vice
    334334
  • abdum/1.3/archive.php

    r141360 r143874  
    11<?php
    22/**
    3  * The template for displaying archive pages
     3 * The main template file
     4 *
     5 * This is the most generic template file in a WordPress theme
     6 * and one of the two required files for a theme (the other being style.css).
     7 * It is used to display a page when nothing more specific matches a query.
     8 * E.g., it puts together the home page when no home.php file exists.
    49 *
    510 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    611 *
    7  * @package abdum
     12 * @package Abdum
    813 */
    914
    1015get_header();
    1116?>
     17<div id="primary" class="content-area">
     18    <main id="main" class="site-main">
     19    <div class="container">
     20                        <div class="row">
     21                            <div class="col-md-8 top-featured-right">
     22                                <div class="blog-content-div">
     23                                    <?php get_template_part( 'loop' ); ?>
     24                                </div>
     25                                <nav class="main-pagination number">
     26                                    <div class="inner">
     27                                        <?php echo paginate_links(); ?>
     28                                    </div>
     29                                </nav>
    1230
    13     <div class="abdum-page-title-area archive-title">
    14         <div class="container">
    15                 <div class="row">
    16                     <div class="col-lg-12">
    17                             <?php
    18                                 the_archive_title( '<h1 class="page-title">', '</h1>' );
    19                                 the_archive_description( '<div class="archive-description">', '</div>' );
    20                             ?>
    21                         <?php
    22                         if(function_exists('bcn_display')){
    23                             bcn_display();
    24                         }
    25                     ?>
    26                     </div>
    27                 </div>
    28         </div>
    29     </div>
    30 
    31     <div id="primary" class="content-area abdum-content-area-padding">
    32     <div id="primary" class="content-area">
    33         <main id="main" class="site-main">
    34 
    35         <div class="container">
    36                 <div class="row">
    37                     <div class="col-lg-8">
    38                         <div class="abdum-blog-list">
    39                             <?php if ( have_posts() ) : ?>
    40 
    41                                 <?php
    42                                 /* Start the Loop */
    43                                 while ( have_posts() ) :
    44                                     the_post();
    45 
    46                                     /*
    47                                      * Include the Post-Type-specific template for the content.
    48                                      * If you want to override this in a child theme, then include a file
    49                                      * called content-___.php (where ___ is the Post Type name) and that will be used instead.
    50                                      */
    51                                     get_template_part( 'template-parts/content', get_post_type() );
    52 
    53                                 endwhile;
    54 
    55                                 the_posts_navigation();
    56 
    57                             else :
    58 
    59                                 get_template_part( 'template-parts/content', 'none' );
    60 
    61                             endif;
    62                             ?>
     31                            </div>
     32                            <div class="col-md-4">
     33                                <?php get_sidebar(); ?>
     34                            </div>
    6335                        </div>
    64                     </div>
    65                    
    66                     <div class="col-lg-4">
    67                         <?php
    68                             get_sidebar();
    69                         ?>
    70                     </div>
    71                 </div>
    72             </div>
    73 
    74         </main><!-- #main -->
    75     </div><!-- #primary -->
    76 
     36                    </div>                 
     37                 
     38    </main><!-- #main -->
     39</div><!-- primary -->
    7740<?php
    7841get_footer();
  • abdum/1.3/comments.php

    r141360 r143874  
    88 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    99 *
    10  * @package abdum
     10 * @package Abdum
    1111 */
    1212
     
    2323<div id="comments" class="comments-area">
    2424
    25     <?php
    26     // You can start editing here -- including this comment!
    27     if ( have_comments() ) : ?>
     25    <?php
     26    // You can start editing here -- including this comment!
     27    if ( have_comments() ) :
     28        ?>
     29        <h2 class="comments-title">
     30            <?php
     31            $abdum_comment_count = get_comments_number();
     32            if ( '1' === $abdum_comment_count ) {
     33                printf(
     34                     
     35                    esc_html__( 'One comment on &ldquo;%1$s&rdquo;', 'abdum' ),
     36                    '<span>' . wp_kses_post( get_the_title() ) . '</span>'
     37                );
     38            } else {
     39                printf(
     40                     
     41                    esc_html( _nx( '%1$s comment on &ldquo;%2$s&rdquo;', '%1$s comments on &ldquo;%2$s&rdquo;', $abdum_comment_count, 'comments title', 'abdum' ) ),
     42                    number_format_i18n( $abdum_comment_count ), 
     43                    '<span>' . wp_kses_post( get_the_title() ) . '</span>'
     44                );
     45            }
     46            ?>
     47        </h2><!-- .comments-title -->
    2848
    29         <h2 class="comments-title">
    30             <?php
    31             $abdum_post_comments_number = get_comments_number();
    32             if ( '1' === $abdum_post_comments_number ) {
    33                 printf(
    34                     /* translators: 1: title. */
    35                     esc_html__( 'One thought on &ldquo;%1$s&rdquo;', 'abdum' ),
    36                     '<span>' . esc_html(get_the_title()) . '</span>'
    37                 );
    38             } else {
    39                 printf( // WPCS: XSS OK.
    40                     /* translators: 1: comment count number, 2: title. */
    41                     esc_html( _nx( '%1$s thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', $abdum_post_comments_number, 'comments title', 'abdum' ) ),
    42                     esc_html( number_format_i18n( $abdum_post_comments_number ) ),
    43                     '<span>' . esc_html( get_the_title() ) . '</span>'
    44                 );
    45             }
    46             ?>
    47         </h2><!-- .comments-title -->
     49        <?php the_comments_navigation(); ?>
    4850
     51        <ol class="comment-list">
     52            <?php
     53            wp_list_comments(
     54                array(
     55                    'style'      => 'ol',
     56                    'short_ping' => true,
     57                )
     58            );
     59            ?>
     60        </ol><!-- .comment-list -->
    4961
    50         <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
    51             <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
    52                 <h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'abdum' ); ?></h2>
    53                 <div class="nav-links">
     62        <?php
     63        the_comments_navigation();
    5464
    55                     <div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'abdum' ) ); ?></div>
    56                     <div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'abdum' ) ); ?></div>
     65        // If comments are closed and there are comments, let's leave a little note, shall we?
     66        if ( ! comments_open() ) :
     67            ?>
     68            <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'abdum' ); ?></p>
     69            <?php
     70        endif;
    5771
    58                 </div><!-- .nav-links -->
    59             </nav><!-- #comment-nav-above -->
    60         <?php endif; // Check for comment navigation. ?>
     72    endif; // Check for have_comments().
    6173
    62         <ul class="comment-list">
    63             <?php
    64             wp_list_comments( array( 'callback' => 'abdum_post_comment', 'avatar_size' => 50 ));
    65             ?>
    66         </ul><!-- .comment-list -->
    67 
    68         <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
    69             <nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
    70                 <h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'abdum' ); ?></h2>
    71                 <div class="nav-links">
    72 
    73                     <div class="nav-previous"><?php previous_comments_link( esc_html__( 'Older Comments', 'abdum' ) ); ?></div>
    74                     <div class="nav-next"><?php next_comments_link( esc_html__( 'Newer Comments', 'abdum' ) ); ?></div>
    75 
    76                 </div><!-- .nav-links -->
    77             </nav><!-- #comment-nav-below -->
    78             <?php
    79         endif; // Check for comment navigation.
    80 
    81     endif; // Check for have_comments().
    82 
    83 
    84     // If comments are closed and there are comments, let's leave a little note, shall we?
    85     if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
    86 
    87         <p class="no-comments"><?php esc_html__( 'Comments are closed.', 'abdum' ); ?></p>
    88         <?php
    89     endif; ?>
    90 
    91     <?php comment_form( $args = array(
    92         'id_form'           => 'commentform',  // that's the wordpress default value! delete it or edit it ;)
    93         'id_submit'         => 'commentsubmit',
    94         'title_reply'       => esc_html__( 'Leave a Reply', 'abdum' ),  // that's the wordpress default value! delete it or edit it ;)
    95         /* translators: 1: Reply Specific User */
    96         'title_reply_to'    => esc_html__( 'Leave a Reply to %s', 'abdum' ),  // that's the wordpress default value! delete it or edit it ;)
    97         'cancel_reply_link' => esc_html__( 'Cancel Reply', 'abdum' ),  // that's the wordpress default value! delete it or edit it ;)
    98         'label_submit'      => esc_html__( 'Post Comment', 'abdum' ),  // that's the wordpress default value! delete it or edit it ;)
    99 
    100         'comment_field' =>  '<p><textarea placeholder="'.esc_attr('Start typing...', 'abdum').'" id="comment" class="form-control" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
    101 
    102         'comment_notes_after' => '<p class="form-allowed-tags">' .
    103             __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:', 'abdum' ) .
    104             '</p><div class="alert alert-info">' . allowed_tags() . '</div>'
    105 
    106         // So, that was the needed stuff to have bootstrap basic styles for the form elements and buttons
    107 
    108         // Basically you can edit everything here!
    109         // Checkout the docs for more: http://codex.wordpress.org/Function_Reference/comment_form
    110         // Another note: some classes are added in the bootstrap-wp.js - ckeck from line 1
    111 
    112     ));
    113 
     74    comment_form();
    11475    ?>
    11576
  • abdum/1.3/footer.php

    r141360 r143874  
    77 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
    88 *
    9  * @package abdum
     9 * @package Abdum
    1010 */
    1111
    12  if(!is_page_template( 'blank-page.php' ) && !is_page_template( 'blank-page-with-container.php' )): ?>
     12?>
     13   
     14   
    1315
    14     </div><!-- #content -->
    15 
    16     <?php get_template_part( 'footer-widget' ); ?>
    17     <footer id="colophon" class="site-footer">
     16    </div> <!-- #content -->
     17   
     18    <footer id="coltell" class="site-footer">
     19         
    1820        <div class="site-info">
    1921            <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'abdum' ) ); ?>">
    2022                <?php
    21                 /* translators: %s: CMS name, i.e. WordPress. */
    2223                printf( esc_html__( 'Proudly powered by %s', 'abdum' ), 'WordPress' );
    2324                ?>
    2425            </a>
     26            <span class="sep"> | </span>
     27                <?php
     28                esc_html_e( 'Abdum WordPress Theme by', 'abdum' ); ?>
     29                <a href="<?php echo esc_url('http://abnoo.in/'); ?>" target="_blank"><?php esc_html_e( 'Abnoo', 'abdum' ); ?></a>
    2530        </div><!-- .site-info -->
    26     </footer><!-- #colophon -->
    27 <?php endif; ?>
     31    </footer>
    2832</div><!-- #page -->
    2933
  • abdum/1.3/functions.php

    r141360 r143874  
    11<?php
    22/**
    3  * abdum functions and definitions
     3 * Abdum functions
    44 *
    55 * @link https://developer.wordpress.org/themes/basics/theme-functions/
    66 *
    7  * @package abdum
    8  */
     7 * @package Abdum
     8 */
     9
     10if ( ! defined( 'ABDUM_VERSION' ) ) {
     11    // current version of the theme
     12    define( 'ABDUM_VERSION', '1.0.0' );
     13}
    914
    1015if ( ! function_exists( 'abdum_setup' ) ) :
     
    1823    function abdum_setup() {
    1924
     25        load_theme_textdomain( 'abdum', get_template_directory() . '/languages' );
     26
    2027        // Add default posts and comments RSS feed links to head.
    2128        add_theme_support( 'automatic-feed-links' );
    22 
    23         /*
    24          * Let WordPress manage the document title.
    25          * By adding theme support, we declare that this theme does not use a
    26          * hard-coded <title> tag in the document head, and expect WordPress to
    27          * provide it for us.
    28          */
    2929        add_theme_support( 'title-tag' );
    30 
    31         /*
    32          * Enable support for Post Thumbnails on posts and pages.
    33          *
    34          * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
    35          */
    3630        add_theme_support( 'post-thumbnails' );
    37         add_image_size( 'abdum-blog', 750, 450, true );
    38         add_image_size( 'abdum-logo', 300, 90, true );
     31        // additional image sizes
     32        add_image_size( 'abdum_grid_gallery_thumbnail', 620, 380, true );
     33        set_post_thumbnail_size( 'abdum_masonry_thumbnail', 620, 9999 );
    3934
    4035        // This theme uses wp_nav_menu() in one location.
    41         register_nav_menus( array(
    42         'primary_menu' => esc_html__( 'Primary Menu', 'abdum' ),
    43         'right_side_menu' => esc_html__( 'Right Side Menu', 'abdum' ),
    44     ) );
     36        register_nav_menus(
     37            array(
     38                'menu-1' => esc_html__( 'Primary', 'abdum' ),
     39            )
     40        );
    4541
    4642        /*
     
    4844         * to output valid HTML5.
    4945         */
    50         add_theme_support( 'html5', array(
    51             'search-form',
    52             'comment-form',
    53             'comment-list',
     46        add_theme_support(
     47            'html5',
     48            array(
     49                'search-form',
     50                'comment-form',
     51                'comment-list',
     52                'gallery',
     53                'caption',
     54                'style',
     55                'script',
     56            )
     57        );
     58
     59        add_theme_support( 'post-formats', array(
     60            'image',
    5461            'gallery',
    55             'caption',
     62            'video',
    5663        ) );
    5764
    58     function abdum_add_editor_styles() {
    59         add_editor_style( 'custom-editor-style.css' );
    60     }
    61     add_action( 'admin_init', 'abdum_add_editor_styles' );
    62 
    6365        // Set up the WordPress core custom background feature.
    64         add_theme_support( 'custom-background', apply_filters( 'abdum_custom_background_args', array(
    65             'default-color' => 'ffffff',
    66             'default-image' => '',
    67         ) ) );
     66        add_theme_support(
     67            'custom-background',
     68            apply_filters(
     69                'abdum_custom_background_args',
     70                array(
     71                    'default-color' => 'ffffff',
     72                    'default-image' => '',
     73                )
     74            )
     75        );
    6876
    6977        // Add theme support for selective refresh for widgets.
     
    7583         * @link https://codex.wordpress.org/Theme_Logo
    7684         */
    77         add_theme_support( 'custom-logo', array(
    78             'height'      => 90,
    79             'width'       => 300,
    80             'flex-width'  => true,
    81             'flex-height' => true,
    82         ) );
     85        add_theme_support(
     86            'custom-logo',
     87            array(
     88                'height'      => 250,
     89                'width'       => 250,
     90                'flex-width'  => true,
     91                'flex-height' => true,
     92            )
     93        );
     94
     95        /**
     96         * Changing excerpt length for abdum theme
     97         */
     98        function abdum_excerpt_length( $length ) {
     99            if ( ! is_admin() ) {
     100                return 50;
     101            } else {
     102                return $length;
     103            }
     104        }
     105        add_filter( 'excerpt_length', 'abdum_excerpt_length', 999 );
     106
    83107    }
    84108endif;
     
    93117 */
    94118function abdum_content_width() {
    95     // This variable is intended to be overruled from themes.
    96     // Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}.
    97     // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
    98     $GLOBALS['content_width'] = apply_filters( 'abdum_content_width', 640 );
     119    $GLOBALS['content_width'] = apply_filters( 'abdum_content_width', 1140 );
    99120}
    100121add_action( 'after_setup_theme', 'abdum_content_width', 0 );
    101122
     123
     124
    102125/**
    103126 * Register widget area.
     
    106129 */
    107130function abdum_widgets_init() {
    108     register_sidebar( array(
    109         'name'          => esc_html__( 'Sidebar', 'abdum' ),
    110         'id'            => 'sidebar-1',
    111         'description'   => esc_html__( 'Add widgets here.', 'abdum' ),
    112         'before_widget' => '<section id="%1$s" class="widget %2$s">',
    113         'after_widget'  => '</section>',
    114         'before_title'  => '<h2 class="widget-title">',
    115         'after_title'   => '</h2>',
    116     ) );
    117     register_sidebar( array(
    118         'name'          => esc_html__( 'Footer 1', 'abdum' ),
    119         'id'            => 'footer-1',
    120         'description'   => esc_html__( 'Add widgets here.', 'abdum' ),
    121         'before_widget' => '<section id="%1$s" class="widget %2$s">',
    122         'after_widget'  => '</section>',
    123         'before_title'  => '<h3 class="widget-title">',
    124         'after_title'   => '</h3>',
    125     ) );
    126     register_sidebar( array(
    127         'name'          => esc_html__( 'Footer 2', 'abdum' ),
    128         'id'            => 'footer-2',
    129         'description'   => esc_html__( 'Add widgets here.', 'abdum' ),
    130         'before_widget' => '<section id="%1$s" class="widget %2$s">',
    131         'after_widget'  => '</section>',
    132         'before_title'  => '<h3 class="widget-title">',
    133         'after_title'   => '</h3>',
    134     ) );
    135     register_sidebar( array(
    136         'name'          => esc_html__( 'Footer 3', 'abdum' ),
    137         'id'            => 'footer-3',
    138         'description'   => esc_html__( 'Add widgets here.', 'abdum' ),
    139         'before_widget' => '<section id="%1$s" class="widget %2$s">',
    140         'after_widget'  => '</section>',
    141         'before_title'  => '<h3 class="widget-title">',
    142         'after_title'   => '</h3>',
    143     ) );
     131    register_sidebar(
     132        array(
     133            'name'          => esc_html__( 'Sidebar', 'abdum' ),
     134            'id'            => 'sidebar-1',
     135            'description'   => esc_html__( 'Add widgets here.', 'abdum' ),
     136            'before_widget' => '<section id="%1$s" class="widget %2$s">',
     137            'after_widget'  => '</section>',
     138            'before_title'  => '<h2 class="widget-title">',
     139            'after_title'   => '</h2>',
     140        )
     141    );
     142
     143     
    144144}
    145145add_action( 'widgets_init', 'abdum_widgets_init' );
    146146
     147
     148
    147149/**
    148150 * Enqueue scripts and styles.
    149151 */
    150152function abdum_scripts() {
    151 
    152     wp_enqueue_style( 'bootstrap', get_template_directory_uri().'/assets/css/bootstrap.css', array(), '4.4.1', 'all' );
    153     wp_enqueue_style( 'fontawesome', get_template_directory_uri().'/assets/css/fontawesome-all.css', array(), '5.13.0', 'all' );
    154     wp_enqueue_style( 'abdum-defaultcss', get_template_directory_uri().'/assets/css/default.css', array(), '1.0', 'all' );
    155     wp_enqueue_style( 'abdum-customcss', get_template_directory_uri().'/assets/css/custom.css', array(), '1.0', 'all' );
    156     wp_enqueue_style( 'sinanav', get_template_directory_uri().'/assets/css/sina-nav.css', array(), '1.0', 'all' );
    157     wp_enqueue_style( 'abdum-responsive', get_template_directory_uri().'/assets/css/responsive.css', array(), '2.1', 'all' );
    158     if ( class_exists( 'WooCommerce' ) ) {
    159         wp_enqueue_style( 'abdum-woocomerce-style', get_template_directory_uri() . '/assets/css/woocommerce.css' );
    160     }
    161 
    162     wp_enqueue_style( 'abdum-style', get_stylesheet_uri() );
    163 
     153  // Add custom fonts, used in the main stylesheet.
     154  wp_enqueue_style( 'abdum-fonts', abdum_fonts_url(), array(), null );
     155
     156  // Add Font Awesome Icons. Unminified version included.
     157  wp_enqueue_style('fontAwesome', get_template_directory_uri() . '/inc/font-awesome/css/fontawesome-all.min.css', array(), '5.0.12' );
     158 
     159  // Load our responsive stylesheet based on Bootstrap. Unminified version included.
     160    wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.min.css', array( ), '3.3.5' );
     161 
     162    wp_enqueue_style( 'abdum-style', get_stylesheet_uri(), array(), ABDUM_VERSION );
    164163   
    165     // Internet Explorer HTML5 support
    166     wp_enqueue_script( 'html5hiv',get_template_directory_uri().'/assets/js/html5.js', array(), '3.7.0', false );
    167     wp_script_add_data( 'html5hiv', 'conditional', 'lt IE 9' );
    168 
    169     wp_enqueue_script( 'sinanavjs',get_template_directory_uri().'/assets/js/sina-nav.js', array('jquery'), '2.1.0', true );
    170     wp_enqueue_script( 'bootstrap-bundled-js', get_template_directory_uri() . '/assets/js/bootstrap.bundle.min.js', array('jquery'), '4.4.1', true );
    171     wp_enqueue_script( 'abdum-navigationjs', get_template_directory_uri() . '/assets/js/navigation.js', array(), '1.0', true );
    172     wp_enqueue_script( 'abdum-themejs', get_template_directory_uri() . '/assets/js/theme-script.js', array(), '', true );
    173     wp_enqueue_script( 'abdum-skip-link-focus-fix-js', get_template_directory_uri() . '/assets/js/skip-link-focus-fix.js', array(), '1.0', true );
    174     wp_enqueue_script( 'abdum-main-js', get_template_directory_uri() . '/assets/js/main.js', array(), '1.0', true );
     164
     165  wp_enqueue_script( 'abdum-navigation', get_template_directory_uri() . '/js/navigation.js', array(), ABDUM_VERSION, true );
     166 
     167  // customjs
     168    wp_enqueue_script( 'article-main-js', get_template_directory_uri() . '/js/main.js', array('jquery'), '1.0.0', true );
     169
     170       
     171
    175172
    176173    if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
     
    180177add_action( 'wp_enqueue_scripts', 'abdum_scripts' );
    181178
     179/**
     180 * Register Google fonts.
     181 * @return string Google fonts URL for the theme.
     182 */
     183
     184if ( ! function_exists( 'abdum_fonts_url' ) ) :
     185    function abdum_fonts_url() {
     186        $abdum_fonts_url = '';
     187        $abdum_fonts     = array();
     188        $abdum_font_subsets   = 'latin,latin-ext';
     189           
     190        // Translators: If there are characters in your language that are not supported by Open Sans, translate this to 'off'. Do not translate into your own language.
     191        if ( 'off' !== esc_html_x( 'on', 'Open Sans font: on or off', 'abdum' ) ) {
     192            $abdum_fonts[] = 'Open Sans:400,600,700';
     193        }
     194           
     195        // Translators: If there are characters in your language that are not supported by Bad Script, translate this to 'off'. Do not translate into your own language.
     196        if ( 'off' !== esc_html_x( 'on', 'Bad Script font: on or off', 'abdum' ) ) {
     197            $abdum_fonts[] = 'Bad Script:400';
     198        }   
     199   
     200        if ( $abdum_fonts ) {
     201            $abdum_fonts_url = add_query_arg( array(
     202                'family' => urlencode( implode( '|', $abdum_fonts ) ),
     203                'subset' => urlencode( $abdum_font_subsets ),
     204            ), 'https://fonts.googleapis.com/css' );
     205        }
     206   
     207        return $abdum_fonts_url;
     208    }
     209    endif;
    182210
    183211/**
     
    195223 */
    196224require get_template_directory() . '/inc/customizer.php';
    197  
    198 
    199 /**
    200  * Load custom WordPress nav walker.
    201  */
    202 if ( ! class_exists( 'wp_bootstrap_navwalker' )) {
    203     require_once(get_template_directory() . '/inc/wp_bootstrap_navwalker.php');
    204 }
     225
     226
     227
     228/**
     229 * Abdum upsell link
     230 */
     231require get_template_directory() . '/inc/blaze-upsells/blaze-pro-btn/class-customize.php';
  • abdum/1.3/header.php

    r141360 r143874  
    77 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
    88 *
    9  * @package nazagency
     9 * @package Abdum
    1010 */
    1111
     
    2222
    2323<body <?php body_class(); ?>>
    24     <?php if ( function_exists( 'wp_body_open' ) ) {
    25         wp_body_open();
    26     } ?>
     24<?php wp_body_open(); ?>
     25<div id="page" class="site">
     26    <a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'abdum' ); ?></a>
     27    <div class="container">
     28        <header id="mainhead" class="site-header row">
     29            <div id="site-branding-wrapper" class="col-lg-3 col-md-4 col-sm-4 col-sm-4">
    2730
    28 <div id="page" class="site sscroll">
    29     <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'abdum' ); ?></a>
    30     <?php if(!is_page_template( 'blank-page.php' ) && !is_page_template( 'blank-page-with-container.php' )): ?>
    31     <header id="mastheadx" class="site-header navbar-static-top" role="banner">
    32         <!-- menu works -->
    33        <?php include_once get_template_directory() . '/inc/menubars/header_nav.php'; ?>
    34        <!-- .menu work ends -->
    35     </header><!-- #masthead -->
    36    
    37     <div id="content" class="site-content">
    38                 <?php endif; ?>
     31                <div id="site-branding">
     32                    <div class="site-logo">
     33                        <?php the_custom_logo(); ?>
     34                    </div>
     35                    <div class="site-title" itemprop="headline">
     36                        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
     37                    </div>
     38                        <?php
     39                            $abdum_description = get_bloginfo( 'description', 'display' );
     40                            if ( $abdum_description || is_customize_preview() ) :
     41                            ?>
     42                            <div class="site-description" itemprop="description"><p><?php bloginfo( 'description' ); ?></p></div>
     43                        <?php endif; ?>
     44                </div><!-- .site-branding -->
     45            </div><!-- .site branding wrapper -->
     46
     47            <nav id="site-navigation" class="main-navigation col-lg-9 col-md-8 col-sm-8 col-sm-8">
     48                <div class="toggle-container visible-xs visible-sm hidden-md hidden-lg">
     49                <?php   
     50                        echo '<button class="menu-toggle nobanner">', esc_html_e( 'Menu', 'abdum' ), '</button>';
     51                       
     52                        ?>
     53                </div>
     54                                               
     55                <?php
     56                   
     57                        if ( has_nav_menu( 'primary' ) ) {
     58                            wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu nobanner' ) );
     59                            } else {
     60                                    wp_nav_menu( array( 'container' => '', 'menu_class' => 'nobanner', 'title_li' => '' ));
     61                            }   
     62                   
     63                ?>
     64                <?php
     65                    echo '<div class="abdum_search_box">';
     66                    get_search_form();
     67                    echo '</div>';
     68        ?>
     69            </nav><!-- #site-navigation -->
     70
     71        </header><!-- #masthead -->
     72    </div><!-- .container -->
     73
     74    <div id="header-wrapper">
     75        <div id="header-banner"></div>
     76    </div>
     77
     78    <div id="content" class="site-content clearfix">
     79
     80   
  • abdum/1.3/inc/customizer.php

    r141360 r143874  
    11<?php
    22/**
    3  * abdum Theme Customizer
     3 * Abdum Theme Customizer
    44 *
    5  * @package abdum
     5 * @package Abdum
    66 */
    77
     
    1111 * @param WP_Customize_Manager $wp_customize Theme Customizer object.
    1212 */
    13 
    14 
    15  /* =============
    16  Sanitization Added
    17  ==============*/
    18  //checkbox sanitize
    19 if ( ! function_exists( 'abdum_checkbox_sanitization' ) ) {
    20     function abdum_checkbox_sanitization( $checked ) {
    21         // Boolean check.
    22         return ( ( isset( $checked ) && true == $checked ) ? true : false );
    23     }
    24 }
    25 
    26 
    27 //File sanitize
    28         if ( ! function_exists( 'abdum_file_sanitization' ) ) {
    29             function abdum_file_sanitization( $file, $setting ) {
    30              
    31                 //allowed file types
    32                 $mimes = array(
    33                     'jpg|jpeg|jpe' => 'image/jpeg',
    34                     'gif'          => 'image/gif',
    35                     'png'          => 'image/png'
    36                 );
    37                  
    38                 //check file type from file name
    39                 $file_ext = wp_check_filetype( $file, $mimes );
    40                  
    41                 //if file has a valid mime type return it, otherwise return default
    42                 return ( $file_ext['ext'] ? $file : $setting->default );
    43             }
    44         }
    45 
    46 //Select sanitize menu alignment
    47         if ( ! function_exists ( 'abdum_select_sanitization_align' ) ){
    48         function abdum_select_sanitization_align( $input ) {
    49             $align = array(
    50                 'sina-menu-left' => 'Left',
    51                 'sina-menu-center' => 'Center',
    52                 'sina-menu-right' => 'Right',
    53                 );
    54              if ( array_key_exists( $input, $align ) ) {
    55               return $input;
    56                 } else {
    57               return '';
    58             }
    59         }
    60     }
    61 //Select sanitize
    62         if ( ! function_exists ( 'abdum_select_sanitization' ) ){
    63             function abdum_select_sanitization( $input ) {
    64                 $checkyn = array(
    65                     'yes' => 'Yes',
    66                     'no' => 'No',
    67                     );
    68              if ( array_key_exists( $input, $checkyn ) ) {
    69               return $input;
    70                 } else {
    71               return '';
    72             }
    73         }
    74     }
    75 
    76 
    77 /* END of Sanitizations */
    78 
    79 
    8013function abdum_customize_register( $wp_customize ) {
    81     /*=========================
    82     Theme Options Added
    83     =========================*/
    84     // Creating Panel
    85     $wp_customize->add_panel(
    86         'abdum_theme_options',
    87         array (
    88             'title' => esc_html__('Theme Options', 'abdum'),
    89             'priority' => 160,
    90         ));
    91 
    92     // Adding Section in panel
    93     $wp_customize->add_section(
    94         'menu_option',
    95         array(
    96             'title' => esc_html__( 'Navigation Menu Options', 'abdum' ),
    97             'panel' => 'abdum_theme_options',
    98             'priority' => 30,
    99         )
    100     );
    101     // Nav alignment configure
    102     $wp_customize->add_setting(
    103         'main_menu_setting',
    104         array(
    105         'default'   => 'sina-menu-left',
    106         'type'       => 'theme_mod',
    107         'capability' => 'edit_theme_options',
    108         'sanitize_callback' => 'abdum_select_sanitization_align',
    109     ) );
    110 
    111     $wp_customize->add_control( new WP_Customize_Control($wp_customize, 'menu_alignment_setting', array(
    112         'label' => esc_html__( 'Menu Alignment', 'abdum' ),
    113         'section'    => 'menu_option',
    114         'settings'   => 'main_menu_setting',
    115         'type'    => 'select',
    116         'choices' => array(
    117             'sina-menu-left' => esc_html__('Left', 'abdum'),
    118             'sina-menu-center' => esc_html__('Center', 'abdum'),
    119             'sina-menu-right' => esc_html__('Right', 'abdum'),
    120         )
    121     ) ) );
    122 
    123     // Nav Fixed to Top Configure
    124     $wp_customize->add_setting(
    125         'fixed_nav_setting',
    126         array(
    127         'default'   => 'no',
    128         'type'       => 'theme_mod',
    129         'capability' => 'edit_theme_options',
    130         'sanitize_callback' => 'abdum_select_sanitization',
    131     ) );
    132 
    133     $wp_customize->add_control( new WP_Customize_Control($wp_customize, 'fixed_nav_setting', array(
    134         'label' => esc_html__( 'Enable Fixed Menu', 'abdum' ),
    135         'section'    => 'menu_option',
    136         'settings'   => 'fixed_nav_setting',
    137         'type'    => 'select',
    138         'choices' => array(
    139             'yes' => esc_html__( 'Yes', 'abdum' ),
    140             'no' => esc_html__( 'No', 'abdum' ),
    141         )
    142     ) ) );
    143 
    144     // Right Search Configure
    145     $wp_customize->add_setting(
    146         'right_search_setting',
    147         array(
    148         'default'   => 'no',
    149         'type'       => 'theme_mod',
    150         'capability' => 'edit_theme_options',
    151         'sanitize_callback' => 'abdum_select_sanitization',
    152     ) );
    153 
    154     $wp_customize->add_control( new WP_Customize_Control($wp_customize, 'right_search_setting', array(
    155         'label' => esc_html__( 'Show Right Side Search Option', 'abdum' ),
    156         'section'    => 'menu_option',
    157         'settings'   => 'right_search_setting',
    158         'type'    => 'select',
    159         'choices' => array(
    160             'yes' => esc_html__( 'Yes', 'abdum' ),
    161             'no' => esc_html__( 'No', 'abdum' ),
    162         )
    163     ) ) );
    164 
    165     // Right Menu Configure
    166     $wp_customize->add_setting(
    167         'right_menu_setting',
    168         array(
    169         'default'   => 'no',
    170         'type'       => 'theme_mod',
    171         'capability' => 'edit_theme_options',
    172         'sanitize_callback' => 'abdum_select_sanitization',
    173     ) );
    174 
    175     $wp_customize->add_control( new WP_Customize_Control($wp_customize, 'right_menu_setting', array(
    176         'label' => esc_html__( 'Show Right Side Menu', 'abdum' ),
    177         'section'    => 'menu_option',
    178         'settings'   => 'right_menu_setting',
    179         'type'    => 'select',
    180         'choices' => array(
    181             'yes' => esc_html__( 'Yes', 'abdum' ),
    182             'no' => esc_html__( 'No', 'abdum' ),
    183         )
    184     ) ) );
    185 
    186 
    187 
    188     /*=============
    189     Header background section for different pages
    190     =============*/
    191     $wp_customize->add_section(
    192         'title_bg_section',
    193         array(
    194             'title' => esc_html__( 'Page Title Customization', 'abdum' ),
    195             'panel'  => 'abdum_theme_options',
    196             'priority' => 30,
    197         )
    198     );
    199 
    200 
    201     //color selection BLOG page
    202     $wp_customize->add_setting(
    203         'blog_title_bg_color',
    204         array(
    205             'default'     => '#333',
    206             'sanitize_callback' => 'sanitize_hex_color',
    207         )
    208     );
    209     $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize,
    210             'blog_title_bg_color',
    211             array(
    212                 'label'      => esc_html__( 'Blog page title background color', 'abdum' ),
    213                 'section'    => 'title_bg_section',
    214                 'settings'   => 'blog_title_bg_color',
    215             ) )
    216     );
    217 
    218 
    219     //image selection BLOG page
    220         $wp_customize->add_setting(
    221             'blog_title_bg_image',
    222             array(
    223                 'sanitize_callback' => 'abdum_file_sanitization'
    224             )
    225         );
    226          
    227          
    228         $wp_customize->add_control( new WP_Customize_Upload_Control( $wp_customize,
    229                 'blog_title_bg_image',
    230                 array(
    231                     'label'      => esc_html__( 'Blog page title background image', 'abdum' ),
    232                     'section'    => 'title_bg_section'                   
    233                 )
    234             )
    235         ); 
    236    
    237 
    238     //color selection ARCHIVE/CATEGORY/TAG page
    239     $wp_customize->add_setting(
    240         'archive_title_bg_color',
    241         array(
    242             'default'     => '#333',
    243             'sanitize_callback' => 'sanitize_hex_color',
    244         )
    245     );
    246     $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize,
    247             'archive_title_bg_color',
    248             array(
    249                 'label'      => esc_html__( 'Archive page title background color', 'abdum' ),
    250                 'section'    => 'title_bg_section',
    251                 'settings'   => 'archive_title_bg_color',
    252             ) )
    253     );
    254 
    255 
    256     //image selection ARCHIVE/CATEGORY/TAG page
    257         $wp_customize->add_setting(
    258             'archive_title_bg_image',
    259             array(
    260                 'sanitize_callback' => 'abdum_file_sanitization'
    261             )
    262         );
    263          
    264          
    265         $wp_customize->add_control( new WP_Customize_Upload_Control( $wp_customize,
    266                 'archive_title_bg_image',
    267                 array(
    268                     'label'      => esc_html__( 'Archive page title background image', 'abdum' ),
    269                     'section'    => 'title_bg_section'                   
    270                 )
    271             )
    272         ); 
    273    
    274 
    275     //color selection SEARCH page
    276     $wp_customize->add_setting(
    277         'search_title_bg_color',
    278         array(
    279             'default'     => '#333',
    280             'sanitize_callback' => 'sanitize_hex_color',
    281         )
    282     );
    283     $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize,
    284             'search_title_bg_color',
    285             array(
    286                 'label'      => esc_html__( 'Search page title background color', 'abdum' ),
    287                 'section'    => 'title_bg_section',
    288                 'settings'   => 'search_title_bg_color',
    289             ) )
    290     );
    291 
    292 
    293     //image selection SEARCH page
    294         $wp_customize->add_setting(
    295             'search_title_bg_image',
    296             array(
    297                 'sanitize_callback' => 'abdum_file_sanitization'
    298             )
    299         );
    300          
    301          
    302         $wp_customize->add_control( new WP_Customize_Upload_Control( $wp_customize,
    303                 'search_title_bg_image',
    304                 array(
    305                     'label'      => esc_html__( 'Search page title background image', 'abdum' ),
    306                     'section'    => 'title_bg_section'                   
    307                 )
    308             )
    309         ); 
    310    
    311 
    312     //color selection 404 page
    313     $wp_customize->add_setting(
    314         'nfound_title_bg_color',
    315         array(
    316             'default'     => '#333',
    317             'sanitize_callback' => 'sanitize_hex_color',
    318         )
    319     );
    320     $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize,
    321             'nfound_title_bg_color',
    322             array(
    323                 'label'      => esc_html__( '404 page title background color', 'abdum' ),
    324                 'section'    => 'title_bg_section',
    325                 'settings'   => 'nfound_title_bg_color',
    326             ) )
    327     );
    328 
    329 
    330     //image selection 404 page
    331         $wp_customize->add_setting(
    332             'nfound_title_bg_image',
    333             array(
    334                 'sanitize_callback' => 'abdum_file_sanitization'
    335             )
    336         );
    337          
    338          
    339         $wp_customize->add_control( new WP_Customize_Upload_Control( $wp_customize,
    340                 'nfound_title_bg_image',
    341                 array(
    342                     'label'      => esc_html__( '404 page title background image', 'abdum' ),
    343                     'section'    => 'title_bg_section'                   
    344                 )
    345             )
    346         ); 
    347 
    348     /*============
    349     Adding Section in panel for Other Customization
    350     ============*/
    351     $wp_customize->add_section(
    352         'other_customize',
    353         array(
    354             'title' => esc_html__( 'Other Customization', 'abdum' ),
    355             //'description' => esc_html__( 'This is a section for the nav', 'abdum' ),
    356             'panel' => 'abdum_theme_options',
    357             'priority' => 30,
    358         )
    359     ); // Custom theme option ends
    360 
    361 
    36214    $wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
    36315    $wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';
     
    36517
    36618    if ( isset( $wp_customize->selective_refresh ) ) {
    367         $wp_customize->selective_refresh->add_partial( 'blogname', array(
    368             'selector'        => '.site-title a',
    369             'render_callback' => 'abdum_customize_partial_blogname',
    370         ) );
    371         $wp_customize->selective_refresh->add_partial( 'blogdescription', array(
    372             'selector'        => '.site-description',
    373             'render_callback' => 'abdum_customize_partial_blogdescription',
    374         ) );
     19        $wp_customize->selective_refresh->add_partial(
     20            'blogname',
     21            array(
     22                'selector'        => '.site-title a',
     23                'render_callback' => 'abdum_customize_partial_blogname',
     24            )
     25        );
     26        $wp_customize->selective_refresh->add_partial(
     27            'blogdescription',
     28            array(
     29                'selector'        => '.site-description',
     30                'render_callback' => 'abdum_customize_partial_blogdescription',
     31            )
     32        );
    37533    }
     34
     35
     36
     37
     38
    37639}
    37740add_action( 'customize_register', 'abdum_customize_register' );
     
    39558}
    39659
    397 
    398 
    399 // abdum generate CSS added
    400 add_action( 'wp_head', 'abdum_gen_customizer_css');
    401 function abdum_gen_customizer_css()
    402 {
    403     ?>
    404     <style type="text/css">
    405         .blog-title { background-color: <?php echo esc_attr(get_theme_mod('blog_title_bg_color', '#333')); ?>;
    406         <?php if(!empty(get_theme_mod('blog_title_bg_image'))) :  ?>
    407             background-image: url(
    408         <?php echo esc_url(get_theme_mod('blog_title_bg_image')); ?>); <?php endif;  ?> }
    409 
    410         .archive-title { background-color: <?php echo esc_attr(get_theme_mod('archive_title_bg_color', '#333')); ?>;
    411         <?php if(!empty(get_theme_mod('archive_title_bg_image'))) :  ?>
    412             background-image: url(
    413         <?php echo esc_url(get_theme_mod('archive_title_bg_image')); ?>); <?php endif;  ?> }
    414 
    415         .search-title { background-color: <?php echo esc_attr(get_theme_mod('search_title_bg_color', '#333')); ?>;
    416         <?php if(!empty(get_theme_mod('search_title_bg_image'))) : ?>
    417             background-image: url(
    418         <?php echo esc_url(get_theme_mod('search_title_bg_image')); ?>); <?php endif;  ?> }
    419 
    420         .nfound-title { background-color: <?php echo esc_attr(get_theme_mod('nfound_title_bg_color', '#333')); ?>;
    421         <?php if(!empty(get_theme_mod('nfound_title_bg_image'))) : ?>
    422             background-image: url(
    423         <?php echo esc_url(get_theme_mod('nfound_title_bg_image')); ?>); <?php endif;  ?> }
    424     </style>
    425     <?php
    426 }
    427 
    428 
    42960/**
    43061 * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
    43162 */
    43263function abdum_customize_preview_js() {
    433     wp_enqueue_script( 'abdum-customizer', get_template_directory_uri() . '/assets/js/customizer.js', array( 'customize-preview' ), '20151215', true );
     64    wp_enqueue_script( 'abdum-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), ABDUM_VERSION, true );
    43465}
    43566add_action( 'customize_preview_init', 'abdum_customize_preview_js' );
     67
     68
  • abdum/1.3/inc/template-functions.php

    r141360 r143874  
    33 * Functions which enhance the theme by hooking into WordPress
    44 *
    5  * @package abdum
     5 * @package Abdum
    66 */
    77
     
    3232function abdum_pingback_header() {
    3333    if ( is_singular() && pings_open() ) {
    34         echo '<link rel="pingback" href="', esc_url( get_bloginfo( 'pingback_url' ) ), '">';
     34        printf( '<link rel="pingback" href="%s">', esc_url( get_bloginfo( 'pingback_url' ) ) );
    3535    }
    3636}
    3737add_action( 'wp_head', 'abdum_pingback_header' );
    38 
    39 /**
    40  * Add color styling from theme
    41  */
    42 if ( is_user_logged_in() ) {
    43     function abdum_custom_styles() {
    44         wp_enqueue_style(
    45             'custom-style',
    46             get_template_directory_uri() . '/assets/css/custom.css'
    47         );
    48            
    49             $custom_css = "
    50                     .search-box.searchmod{
    51                             top: 94px;
    52                     }
    53                     @media only screen and (max-width: 782px) {
    54                     .search-box.searchmod{
    55                             top: 107px;
    56                     }
    57                     }
    58 ";
    59             wp_add_inline_style( 'abdum-customcss', $custom_css );
    60     }
    61     add_action( 'wp_enqueue_scripts', 'abdum_custom_styles' );
    62 }
  • abdum/1.3/inc/template-tags.php

    r141360 r143874  
    55 * Eventually, some of the functionality here could be replaced by core features.
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    1818        }
    1919
    20         $time_string = sprintf( $time_string,
     20        $time_string = sprintf(
     21            $time_string,
    2122            esc_attr( get_the_date( DATE_W3C ) ),
    2223            esc_html( get_the_date() ),
     
    3132        );
    3233
    33         echo '<span class="posted-on"><i class="fas fa-calendar-check" aria-hidden="true"></i> ' . $posted_on . '</span>'; // WPCS: XSS OK.
     34        echo '<span class="posted-on">' . $posted_on . '</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3435
    3536    }
     
    4748        );
    4849
    49         echo '<span class="byline"><i class="fas fa-user-circle" aria-hidden="true"></i> ' . $byline . '</span>'; // WPCS: XSS OK.
     50        echo '<span class="byline"> ' . $byline . '</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5051
    5152    }
    5253endif;
    53 
    54 if ( ! function_exists( 'abdum_posted_comment' ) ) :
    55     /**
    56      * Prints HTML with meta information for the current author.
    57      */
    58     function abdum_posted_comment() {
    59         if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
    60             echo '<span class="comments-link"><i class="fas fa-comments" aria-hidden="true"></i> ';
    61             comments_popup_link(
    62                 sprintf(
    63                     wp_kses(
    64                         /* translators: %s: post title */
    65                         __( 'Leave a Comment<span class="screen-reader-text"> on %s</span>', 'abdum' ),
    66                         array(
    67                             'span' => array(
    68                                 'class' => array(),
    69                             ),
    70                         )
    71                     ),
    72                     get_the_title()
    73                 )
    74             );
    75             echo '</span>';
    76         }
    77     }
    78 endif;
    79 
    80 
    81 if ( ! function_exists( 'abdum_post_comment' ) ) :
    82     /**
    83      * Template for comments and pingbacks.
    84      *
    85      * Used as a callback by wp_list_comments() for displaying the comments.
    86      */
    87     function abdum_post_comment( $comment, $args, $depth ) {
    88        // $GLOBALS['comment'] = $comment;
    89 
    90         if ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) : ?>
    91 
    92             <li id="comment-<?php comment_ID(); ?>" <?php comment_class( 'media' ); ?>>
    93             <div class="comment-body">
    94                 <?php esc_html_e( 'Pingback:', 'abdum' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( 'Edit', 'abdum' ), '<span class="edit-link">', '</span>' ); ?>
    95             </div>
    96 
    97         <?php else : ?>
    98 
    99         <li id="comment-<?php comment_ID(); ?>" <?php comment_class( empty( $args['has_children'] ) ? '' : 'parent' ); ?>>
    100             <article id="div-comment-<?php comment_ID(); ?>" class="comment-body media mb-4">
    101                 <a class="pull-left" href="#">
    102                     <?php if ( 0 != $args['avatar_size'] ) echo get_avatar( $comment, $args['avatar_size'] ); ?>
    103                 </a>
    104 
    105                 <div class="media-body">
    106                     <div class="media-body-wrap card">
    107 
    108                         <div class="card-header">
    109                             <h5 class="mt-0"><?php printf( __( '%s <span class="says">says:</span>', 'abdum' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?></h5>
    110                             <div class="comment-meta">
    111                                 <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
    112                                     <time datetime="<?php comment_time( 'c' ); ?>">
    113                                         <?php printf( esc_html_x( '%1$s at %2$s', '1: date, 2: time', 'abdum' ), esc_html(get_comment_date()), esc_html(get_comment_time()) ); ?>
    114                                     </time>
    115                                 </a>
    116                                 <?php edit_comment_link( wp_kses(__( '<span style="margin-left: 5px;" class="fas fa-edit"></span> Edit', 'abdum' ), array('span' => array( 'class' => array(),'style' => array(),),)), '<span class="edit-link">', '</span>' ); ?>
    117                             </div>
    118                         </div>
    119 
    120                         <?php if ( '0' == $comment->comment_approved ) : ?>
    121                             <p class="comment-awaiting-moderation"><?php esc_html_e( 'Your comment is awaiting moderation.', 'abdum' ); ?></p>
    122                         <?php endif; ?>
    123 
    124                         <div class="comment-content card-block">
    125                             <?php comment_text(); ?>
    126                         </div><!-- .comment-content -->
    127 
    128                         <?php comment_reply_link(
    129                             array_merge(
    130                                 $args, array(
    131                                     'add_below' => 'div-comment',
    132                                     'depth'     => $depth,
    133                                     'max_depth' => $args['max_depth'],
    134                                     'before'    => '<footer class="reply comment-reply card-footer">',
    135                                     'after'     => '</footer><!-- .reply -->'
    136                                 )
    137                             )
    138                         ); ?>
    139 
    140                     </div>
    141                 </div><!-- .media-body -->
    142 
    143             </article><!-- .comment-body -->
    144 
    145             <?php
    146         endif;
    147     }
    148 endif; // ends check for abdum_post_comment()
    14954
    15055if ( ! function_exists( 'abdum_entry_footer' ) ) :
     
    15964            if ( $categories_list ) {
    16065                /* translators: 1: list of categories. */
    161                 printf( '<span class="cat-links">' . esc_html__( 'Posted in %1$s', 'abdum' ) . '</span>', $categories_list ); // WPCS: XSS OK.
     66                printf( '<span class="cat-links">' . esc_html__( 'Posted in %1$s', 'abdum' ) . '</span>', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    16267            }
    16368
     
    16671            if ( $tags_list ) {
    16772                /* translators: 1: list of tags. */
    168                 printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', 'abdum' ) . '</span>', $tags_list ); // WPCS: XSS OK.
     73                printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', 'abdum' ) . '</span>', $tags_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    16974            }
     75        }
     76
     77        if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
     78            echo '<span class="comments-link">';
     79            comments_popup_link(
     80                sprintf(
     81                    wp_kses(
     82                        /* translators: %s: post title */
     83                        __( 'Leave a Comment<span class="screen-reader-text"> on %s</span>', 'abdum' ),
     84                        array(
     85                            'span' => array(
     86                                'class' => array(),
     87                            ),
     88                        )
     89                    ),
     90                    wp_kses_post( get_the_title() )
     91                )
     92            );
     93            echo '</span>';
    17094        }
    17195
     
    181105                    )
    182106                ),
    183                 get_the_title()
     107                wp_kses_post( get_the_title() )
    184108            ),
    185             '<span class="edit-link"><i class="fas fa-edit"></i> ',
     109            '<span class="edit-link">',
    186110            '</span>'
    187111        );
     
    210134        <?php else : ?>
    211135
    212         <a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true" tabindex="-1">
     136            <a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true" tabindex="-1">
     137                <?php
     138                    the_post_thumbnail(
     139                        'post-thumbnail',
     140                        array(
     141                            'alt' => the_title_attribute(
     142                                array(
     143                                    'echo' => false,
     144                                )
     145                            ),
     146                        )
     147                    );
     148                ?>
     149            </a>
     150
    213151            <?php
    214             the_post_thumbnail( 'post-thumbnail', array(
    215                 'alt' => the_title_attribute( array(
    216                     'echo' => false,
    217                 ) ),
    218             ) );
    219             ?>
    220         </a>
    221 
    222         <?php
    223152        endif; // End is_singular().
    224153    }
    225154endif;
     155
     156if ( ! function_exists( 'wp_body_open' ) ) :
     157    /**
     158     * Shim for sites older than 5.2.
     159     *
     160     * @link https://core.trac.wordpress.org/ticket/12563
     161     */
     162    function wp_body_open() {
     163        do_action( 'wp_body_open' );
     164    }
     165endif;
  • abdum/1.3/index.php

    r141360 r143874  
    1010 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    1111 *
    12  * @package abdum
     12 * @package Abdum
    1313 */
    1414
    1515get_header();
    1616?>
     17<div id="primary" class="content-area">
     18    <main id="main" class="site-main">
     19   
     20                    <div class="container">
     21                        <div class="row">
     22                            <div class="col-md-8 top-featured-right">
     23                                <div class="blog-content-div">
     24                                    <?php get_template_part( 'loop' ); ?>
     25                                </div>
     26                                <nav class="main-pagination number">
     27                                    <div class="inner">
     28                                        <?php echo paginate_links(); ?>
     29                                    </div>
     30                                </nav>
    1731
    18 
    19             <div class="abdum-page-title-area blog-title">
    20                 <div class="container">
    21                     <div class="row">
    22                         <div class="col-lg-12">
    23                             <h2><?php echo esc_html_e( 'Blog', 'abdum' ); ?></h2>
     32                            </div>
     33                            <div class="col-md-4">
     34                                <?php get_sidebar(); ?>
     35                            </div>
    2436                        </div>
    25                     </div>
    26                 </div>
    27             </div>
    28 
    29     <div id="primary" class="content-area abdum-content-area-padding">
    30         <main id="main" class="site-main">
    31 
    32             <div class="container">
    33                 <div class="row">
    34                     <div class="col-lg-8">
    35                         <div class="abdum-blog-list">
    36                             <?php
    37                                 if ( have_posts() ) :
    38 
    39                                     if ( is_home() && ! is_front_page() ) :
    40                                         ?>
    41                                         <header>
    42                                             <h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
    43                                         </header>
    44                                         <?php
    45                                     endif;
    46 
    47                                     /* Start the Loop */
    48                                     while ( have_posts() ) :
    49                                         the_post();
    50 
    51                                         /*
    52                                          * Include the Post-Type-specific template for the content.
    53                                          * If you want to override this in a child theme, then include a file
    54                                          * called content-___.php (where ___ is the Post Type name) and that will be used instead.
    55                                          */
    56                                         get_template_part( 'template-parts/content', get_post_type() );
    57 
    58                                     endwhile;
    59 
    60                                     the_posts_navigation();
    61 
    62                                 else :
    63 
    64                                     get_template_part( 'template-parts/content', 'none' );
    65 
    66                                 endif;
    67                             ?>
    68                         </div>
    69                     </div>
    70 
    71                     <div class="col-lg-4">
    72                         <?php
    73                             get_sidebar();
    74                         ?>
    75                     </div>
    76                 </div>
    77             </div>
    78 
    79         </main><!-- #main -->
    80     </div><!-- #primary -->
    81 
     37                    </div>                 
     38                 
     39    </main><!-- #main -->
     40</div><!-- primary -->
    8241<?php
    8342get_footer();
  • abdum/1.3/page.php

    r141360 r143874  
    11<?php
    22/**
    3  * The template for displaying all pages
    4  *
    5  * This is the template that displays all pages by default.
    6  * Please note that this is the WordPress construct of pages
    7  * and that other 'pages' on your WordPress site may use a
    8  * different template.
    9  *
    10  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    11  *
    12  * @package abdum
    13  */
     3 * default page template
     4 * @package Abdum
     5*/
    146
    15 get_header();
    16 ?>
     7get_header(); ?>
    178
    189
    19     <div style="background-image: url(<?php the_post_thumbnail_url( 'large' )?>);" class="abdum-page-title-area">
    20         <div class="container">
    21             <div class="row">
    22                 <div class="col-lg-12">             
    23                     <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
    24                     <?php
    25                         if(function_exists('bcn_display')){
    26                             bcn_display();
    27                         }
    28                     ?>
    29                 </div>
    30             </div>
    31         </div>
    32     </div>
    33 
    34 
    35 <?php while ( have_posts() ) : the_post(); ?>
    36 
    37     <div id="primary" class="content-area">
    38         <main id="main" class="site-main">
    39             <div class="container">
    40                 <div class="row">
    41                     <div class="col-lg-12">
    42                         <?php
    43 
    44                             get_template_part( 'template-parts/content', 'page' );
    45 
    46                             // If comments are open or we have at least one comment, load up the comment template.
    47                             if ( comments_open() || get_comments_number() ) :
    48                                 comments_template();
    49                             endif; // End of the loop.
    50                         ?>
    51                     </div>
    52                 </div>
    53             </div>
    54 
    55         </main><!-- #main -->
    56     </div><!-- #primary -->
    57 
    58 <?php
    59     endwhile;
    60 get_footer();
     10   
     11 <div id="primary" class="content-area container">
     12    <main id="main" class="site-main row">
     13 
     14      <div class="col-md-8" itemprop="mainContentOfSinglePage">       
     15        <?php
     16                // Start the loop.
     17                while ( have_posts() ) : the_post();
     18               
     19                // Include the page content template.
     20                get_template_part( 'template-parts/content', 'page' );
     21               
     22                // If comments are open or we have at least one comment, load up the comment template.
     23                if ( comments_open() || get_comments_number() ) :
     24                    comments_template();
     25                endif;
     26               
     27                // End the loop.
     28                endwhile;
     29                ?>           
     30      </div>
     31   
     32      <div class="col-md-4">       
     33        <?php get_sidebar(); ?>       
     34      </div>
     35             
     36       
     37    </main>
     38</div>   
     39   
     40 
     41<?php get_footer(); ?> 
  • abdum/1.3/readme.txt

    r141360 r143874  
    11=== Abdum ===
    2 Contributors: abnoo
    3 Tags: custom-menu,theme-options,threaded-comments,translation-ready,custom-background,custom-header,editor-style,featured-images,two-columns,blog
    4 Requires at least: 4.0
    5 Tested up to: 5.6
     2
     3Contributors: abnoo theme
     4Tags: custom-background, two-columns, right-sidebar, custom-menu,custom-header,custom-logo, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, flexible-header, full-width-template
     5
     6Requires at least: 4.5
     7Tested up to: 5.4
    68Requires PHP: 5.6
    7 Stable tag: 1.1
    8 License: GPLv2 or later
    9 License URI: https://www.gnu.org/licenses/gpl-2.0.html
     9License: GNU General Public License v2 or later
     10License URI: LICENSE
    1011
    11 abdum WordPress Theme, Copyright 2020 webocta group.
    12 abdum is distributed under the terms of the GNU GPL.
    1312
    1413== Description ==
    15 its a very starter theme and very useful for startup. its a suitable for blog. its a bootstrap based theme and fully responsive theme. and support all type device like mobile, tablet and pc.
    1614
    17 == Frequently Asked Questions ==
     15Abdum is a beautiful multipurpose WordPress Theme design specially for Business, Blog, News and Magazine. It comes with very powerful advance feature so you can easily create your website.Its fully responsive theme and support all type format like desktop, mobile. It's SEO optimized (Search engine optimized) and has a fast loading time. You can check demo at http://abnoo.in
    1816
    19 = How to customize theme ? =
     17== Installation ==
    2018
    21 Just click on Appearance -> Customize
    22 Now you can customize all section in theme
    23 
    24 = How to work on Header search =
    25 Just click on Appearance -> Customize -> Theme options -> Navigation Menu Options
    26 
    27 = How to align menu =
    28 Just click on Appearance -> Customize -> Theme options -> Navigation Menu Options
    29 
    30 = How to customize page title background =
    31 Just click on Appearance -> Customize -> Theme options -> Page Title Customization
    32 
    33 = How to work on Footer Widgets ? =
    34 Just click on Appearance -> Customize -> Widget
     191. In your admin panel, go to Appearance > Themes and click the Add New button.
     202. Click Upload Theme and Choose File, then select the theme's .zip file. Click Install Now.
     213. Click Activate to use your new theme right away.
    3522
    3623
    3724
    38 == Upgrade Notice ==
     25== Changelog ==
    3926
    40     In your WordPress dashboard, go to Appearance => Themes. you will see the updates available will display an alert banner. Click on the theme you want to upgrade and click on "update now".
     27= 1.2 - Feb 11 2021 =
     28* fixed issues
    4129
    42 == Screenshots ==
    43 
    44 *   No extrnal image used in this theme.
     30= 1.1 - Jan 06 2021 =
     31* Initial release
    4532
    4633
    47 == Resources ==
     34== License ==
     35Unless otherwise specified, all the theme files, scripts and images are licensed under GNU General Public License  v2 or later
     36License: GNU General Public License v2 or later
     37License URI: http://www.opensource.org/licenses/gpl-license.php GPL v2 (or later)
     38Blog Life WordPress Theme, Copyright 2018 BlazeThemes
     39Blog Life is distributed under the terms of the GNU GPL.
    4840
    49 *   Font Awesome Free License
    50     -------------------------
    51     Font Awesome Free is free, open source, and GPL friendly. You can use it for
    52     commercial projects, open source projects, or really almost whatever you want.
    53     Full Font Awesome Free license: https://fontawesome.com/license.
     41Screenshot Image
     42* License: CC0 Public Domain
     43* License url: https://creativecommons.org/publicdomain/zero/1.0/deed.en
    5444
    55     # Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
    56     In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
    57     packaged as SVG and JS file types.
    5845
    59     # Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL)
    60     In the Font Awesome Free download, the SIL OLF license applies to all icons
    61     packaged as web and desktop font files.
     46Font awesome
     47    *Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
     48    * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
    6249
    63     # Code: MIT License (https://opensource.org/licenses/MIT)
    64     In the Font Awesome Free download, the MIT license applies to all non-font and
    65     non-icon files.
     50Bootstrap (v4.0.0):
     51    License: MIT license
     52    License url: https://v4-alpha.getbootstrap.com/about/license/
     53    Url: https://getbootstrap.com/
    6654
    67     # Attribution
    68     Attribution is required by MIT, SIL OLF, and CC BY licenses. Downloaded Font
    69     Awesome Free files already contain embedded comments with sufficient
    70     attribution, so you shouldn't need to do anything additional when using these
    71     files normally.
    7255
    73     We've kept attribution comments terse, so we ask that you do not actively work
    74     to remove them from files, especially code. They're a great way for folks to
    75     learn about Font Awesome.
     56== Credits ==
    7657
    77     # Brand Icons
    78     All brand icons are trademarks of their respective owners. The use of these
    79     trademarks does not indicate endorsement of the trademark holder by Font
    80     Awesome, nor vice versa. **Please do not use brand logos for any purpose except
    81     to represent the company, product, or service to which they refer.**
    82        
    83 *   Bootstrap
    84     Bootstrap v4.1.3 (http://getbootstrap.com)
    85     Copyright 2011-2016 Twitter, Inc.
    86     Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
    87 
    88 *   abdum is based on Underscores http://underscores.me/,
    89     (C) 2012-2017 Automattic, Inc.
    90     License: GNU General Public License v2 or later
    91 
    92 *   WP Bootstrap Navwalker https://github.com/wp-bootstrap/wp-bootstrap-navwalker,
    93     [GPLv3] (https://www.gnu.org/licenses/gpl-3.0.en.html)
    94 
    95 *   Sina nav 4 https://github.com/shaonsina/sina-nav-4,
    96     [GPLv3] (https://github.com/shaonsina/sina-nav-4/blob/master/LICENSE)
    97 
    98 *   html5shiv https://github.com/aFarkas/html5shiv,
    99     Licensed under MIT GPLv2 (https://github.com/aFarkas/html5shiv/blob/master/MIT%20and%20GPL2%20licenses.md)
     58* Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)
     59* normalize.css https://necolas.github.io/normalize.css/, (C) 2012-2018 Nicolas Gallagher and Jonathan Neal, [MIT](https://opensource.org/licenses/MIT)
  • abdum/1.3/search.php

    r141360 r143874  
    55 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    1111?>
    1212
    13         <div class="abdum-page-title-area search-title">
    14             <div class="container">
    15                 <div class="row">
    16                     <div class="col-lg-12">
    17                         <h1>
    18                             <?php
    19                         /* translators: %s: search query. */
    20                         printf( esc_html__( 'Search Results for: %s', 'abdum' ), '<span>' . get_search_query() . '</span>' );
    21                         ?>
    22                         </h1>
    23                         <?php
    24                         if(function_exists('bcn_display')){
    25                             bcn_display();
    26                         }
     13<section id="primary" class="content-area">
     14    <main id="main" class="site-main" role="main">
     15        <div class="container">
     16      <div class="row">
     17        <div class="col-lg-12">
     18
     19                    <?php if ( have_posts() ) : ?>
     20
     21                        <header class="page-header">
     22                            <h1 class="page-title">
     23                                <?php
     24                                /* translators: %s: search query. */
     25                                printf( esc_html__( 'Search Results for: %s', 'abdum' ), '<span>' . get_search_query() . '</span>' );
     26                                ?>
     27                            </h1>
     28                        </header><!-- .page-header -->
     29
     30                        <?php
     31                        /* Start the Loop */
     32                        while ( have_posts() ) :
     33                            the_post();
     34
     35                            /**
     36                             * Run the loop for the search to output the results.
     37                             * If you want to overload this in a child theme then include a file
     38                             * called content-search.php and that will be used instead.
     39                             */
     40                            get_template_part( 'template-parts/content', 'search' );
     41                        endwhile;
     42                        the_posts_navigation();
     43                        else :
     44                            get_template_part( 'template-parts/content', 'none' );
     45                        endif;
    2746                    ?>
    28                     </div>
    29                 </div>
     47                </div> <!-- end of col md 12 -->
    3048            </div>
    3149        </div>
    3250
    33     <section id="primary" class="content-area abdum-content-area-padding">
    34         <main id="main" class="site-main">
    35             <div class="container">
    36                 <div class="row">
    37                     <div class="col-lg-8">
    38                         <div class="abdum-blog-list">
    39                             <?php if ( have_posts() ) : ?>
    40 
    41                                 <?php
    42                                 /* Start the Loop */
    43                                 while ( have_posts() ) :
    44                                     the_post();
    45 
    46                                     /**
    47                                      * Run the loop for the search to output the results.
    48                                      * If you want to overload this in a child theme then include a file
    49                                      * called content-search.php and that will be used instead.
    50                                      */
    51                                     get_template_part( 'template-parts/content', 'search' );
    52 
    53                                 endwhile;
    54 
    55                                 the_posts_navigation();
    56 
    57                             else :
    58 
    59                                 get_template_part( 'template-parts/content', 'none' );
    60 
    61                             endif;
    62                             ?>
    63                         </div>
    64                     </div>
    65 
    66                     <div class="col-lg-4">
    67                         <?php
    68                             get_sidebar();
    69                         ?>
    70                     </div>
    71                 </div>
    72             </div>
    73 
    74        
    75 
    76         </main><!-- #main -->
    77     </section><!-- #primary -->
     51    </main><!-- #main -->
     52</section><!-- #primary -->
    7853
    7954<?php
  • abdum/1.3/searchform.php

    r141360 r143874  
    1 <form role="search" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>">
    2     <span class="search-addon search-icon"></span>
    3     <div class="search-input">
    4         <input type="search" class="form-control" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder', 'abdum' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" title="<?php esc_attr_x( 'Search for:', 'label', 'abdum' ); ?>">
     1<?php
     2/**
     3 * The template for displaying search forms
     4 * @package Abdum
     5 */
     6?>
     7
     8
     9<form method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
     10    <span class="screen-reader-text"><?php _x( 'Search for:', 'Screen reader text', 'abdum' ); ?></span>
     11    <div class="form-group">       
     12            <input type="text" class="form-control" value="<?php echo esc_attr( get_search_query() ); ?>" name="s" placeholder="<?php _x( 'Enter words', 'Search placeholder','abdum' ) ; ?>">
     13                <button class="button-search" type="submit"><i class="fa fa-search"></i></button>   
    514    </div>
    6     <button type="button" class="search-addon close-search"><i class="fa fa-times"></i></button>
    7 </form>
     15</form>
  • abdum/1.3/sidebar.php

    r141360 r143874  
    55 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    1313?>
    1414
    15 <aside id="secondary" class="widget-area">
     15<aside id="secondary" class="widget-area"">
    1616    <?php dynamic_sidebar( 'sidebar-1' ); ?>
    1717</aside><!-- #secondary -->
  • abdum/1.3/single.php

    r141360 r143874  
    55 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    1111?>
    1212
    13 <?php while ( have_posts() ) : the_post(); ?>
    14 
    15     <div <?php if(has_post_thumbnail()) : ?> style="background-image: url(<?php the_post_thumbnail_url( 'large' )?>);" <?php endif; ?> class="abdum-page-title-area">
     13<div id="primary" class="content-area">
     14    <main id="main" class="site-main" role="main">
    1615        <div class="container">
    1716            <div class="row">
    18                 <div class="col-lg-12">             
    19                     <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
     17                <div class="col-md-8" itemprop="mainContentOfSinglePost">   
     18                <?php if ( have_posts() ) : ?>     
    2019                    <?php
    21                         if(function_exists('bcn_display')){
    22                             bcn_display();
    23                         }
    24                     ?>
    25                 <div class="blog-entry-meta">
    26                     <?php
    27                     abdum_posted_on();
    28                     abdum_posted_by();
    29                     ?>
    30                 </div><!-- .entry-meta -->
     20                    // Start the loop.
     21                    while ( have_posts() ) : the_post();
     22                   
     23                    // Include the page content template.
     24                    get_template_part( 'template-parts/content', 'single' );
     25                   
     26                    // If comments are open or we have at least one comment, load up the comment template.
     27                    if ( comments_open() || get_comments_number() ) :
     28                        comments_template();
     29                    endif;
     30                   
     31                    // End the loop.
     32                       
     33                    endwhile;
     34                    the_posts_navigation();
     35                endif;       
     36                ?>
    3137                </div>
    32             </div>
    33         </div>
    34     </div> <!-- Title area end -->
    35 
    36 
    37     <div id="primary" class="content-area abdum-content-area-padding">
    38         <main id="main" class="site-main">
    39         <div class="container">
    40             <div class="row">
    41                 <div class="col-lg-8">
    42                     <?php
    43 
    44                             get_template_part( 'template-parts/content', get_post_type() );
    45 
    46                             the_post_navigation();
    47 
    48                             // If comments are open or we have at least one comment, load up the comment template.
    49                             if ( comments_open() || get_comments_number() ) :
    50                             comments_template();
    51                             endif;
    52 
    53                     ?>
     38           
     39                <div class="col-md-4">       
     40                    <?php get_sidebar(); ?>     
    5441                </div>
    55                 <div class="col-lg-4">
    56                     <?php get_sidebar(); ?>
    57                 </div>
    58             </div>
    59         </div>
    60        
    61 
    62         </main><!-- #main -->
    63     </div><!-- #primary -->
    64 
    65     <?php endwhile; // End of the loop. ?>
     42            </div><!-- end row -->
     43        </div><!-- end container -->
     44    </main><!-- #main -->
     45</div>
    6646
    6747<?php
  • abdum/1.3/style.css

    r143025 r143874  
     1/*!
     2Theme Name: Abdum
     3Theme URI: http://abnoo.in/abdum-free-responsive-multipurpose-wordpress-theme/
     4Author: Abnoo Themes
     5Author URI: http://abnoo.in
     6Description: Abdum is a beautiful multipurpose WordPress Theme design specially for Business, Blog, News and Magazine. It comes with very powerful advance feature so you can easily create your website.Its fully responsive theme and support all type format like desktop, mobile. It's SEO optimized (Search engine optimized) and has a fast loading time. You can check demo at http://abnoo.in.
     7Version: 1.3
     8Tested up to: 5.4
     9Requires PHP: 5.6
     10License: GNU General Public License v2 or later
     11License URI: http://www.gnu.org/licenses/gpl-3.0.html
     12Text Domain: abdum
     13Tags: custom-background, two-columns, right-sidebar, custom-menu,custom-header,custom-logo, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, flexible-header, full-width-template
     14
     15This theme, like WordPress, is licensed under the GPL.
     16Use it to make something cool, have fun, and share what you've learned.
     17
     18Abdum is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
     19Underscores is distributed under the terms of the GNU GPL v2 or later.
     20
     21Normalizing styles have been helped along thanks to the fine work of
     22Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
     23*/
     24
     25/*--------------------------------------------------------------
     26>>> TABLE OF CONTENTS:
     27----------------------------------------------------------------
     28# Generic
     29    - Normalize
     30    - Box sizing
     31# Base
     32    - Typography
     33    - Elements
     34    - Links
     35    - Forms
     36## Layouts
     37# Components
     38    - Navigation
     39    - Posts and pages
     40    - Comments
     41    - Widgets
     42    - Media
     43    - Captions
     44    - Galleries
     45# plugins
     46    - Jetpack infinite scroll
     47# Utilities
     48    - Accessibility
     49    - Alignments
     50
     51--------------------------------------------------------------*/
     52
     53/*--------------------------------------------------------------
     54# Generic
     55--------------------------------------------------------------*/
     56
     57/* Normalize
     58--------------------------------------------- */
     59
     60/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
     61
     62/* Document
     63     ========================================================================== */
     64
     65/**
     66 * 1. Correct the line height in all browsers.
     67 * 2. Prevent adjustments of font size after orientation changes in iOS.
     68 */
     69img,
     70legend{
     71    border:0
     72}
     73    legend, td, th {
     74    padding: 0;
     75}
     76html {
     77    font-family: sans-serif;
     78    -webkit-text-size-adjust: 100%;
     79    -ms-text-size-adjust: 100%}
     80body {
     81    margin: 0;
     82}
     83article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
     84    display: block;
     85}
     86audio, canvas, progress, video {
     87    display: inline-block;
     88    vertical-align: baseline;
     89}
     90audio:not([controls]) {
     91    display: none;
     92    height: 0;
     93}
     94[hidden], template {
     95    display: none;
     96}
     97a {
     98    background-color: transparent;
     99}
     100a:active, a:hover {
     101    outline: 0;
     102}
     103abbr[title] {
     104    border-bottom: 1px dotted;
     105}
     106b, optgroup, strong {
     107    font-weight: 700;
     108}
     109dfn {
     110    font-style: italic;
     111}
     112h1 {
     113    margin: .67em 0;
     114    font-size: 2em;
     115}
     116mark {
     117    color: #000;
     118    background: #ff0;
     119}
     120small {
     121    font-size: 80%}
     122sub, sup {
     123    position: relative;
     124    font-size: 75%;
     125    line-height: 0;
     126    vertical-align: baseline;
     127}
     128sup {
     129    top: -.5em;
     130}
     131sub {
     132    bottom: -.25em;
     133}
     134svg:not(:root) {
     135    overflow: hidden;
     136}
     137figure {
     138    margin: 0 16px;
     139}
     140hr {
     141    height: 0;
     142    -webkit-box-sizing: content-box;
     143    box-sizing: content-box;
     144}
     145pre, textarea {
     146    overflow: auto;
     147}
     148code, kbd, pre, samp {
     149    font-family: monospace, monospace;
     150    font-size: 1em;
     151}
     152button, input, optgroup, select, textarea {
     153    margin: 0;
     154    font: inherit;
     155    color: inherit;
     156}
     157button {
     158    overflow: visible;
     159}
     160button, select {
     161    text-transform: none;
     162}
     163button, html input[type=button], input[type=reset], input[type=submit] {
     164    -webkit-appearance: button;
     165    cursor: pointer;
     166}
     167button[disabled], html input[disabled] {
     168    cursor: default;
     169}
     170button::-moz-focus-inner, input::-moz-focus-inner {
     171    padding: 0;
     172    border: 0;
     173}
     174input {
     175    line-height: normal;
     176}
     177input[type=checkbox], input[type=radio] {
     178    -webkit-box-sizing: border-box;
     179    box-sizing: border-box;
     180    padding: 0;
     181}
     182input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
     183    height: auto;
     184}
     185input[type=search] {
     186    -webkit-box-sizing: content-box;
     187    box-sizing: content-box;
     188    -webkit-appearance: textfield;
     189}
     190input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
     191    -webkit-appearance: none;
     192}
     193fieldset {
     194    padding: .35em .625em .75em;
     195    margin: 0 2px;
     196    border: 1px solid silver;
     197}
     198table {
     199    border-spacing: 0;
     200    border-collapse: collapse;
     201}
     202@media print {
     203        blockquote, img, pre, tr {
     204        page-break-inside: avoid;
     205    }
     206    *, :after, :before {
     207        text-shadow: none!important;
     208        -webkit-box-shadow: none!important;
     209        box-shadow: none!important;
     210    }
     211    a, a:visited {
     212        text-decoration: underline;
     213    }
     214    abbr[title]:after {
     215        content: " (" attr(title) ")"}
     216    blockquote, pre {
     217        border: 1px solid #999;
     218    }
     219    thead {
     220        display: table-header-group;
     221    }
     222    img {
     223        max-width: 100%!important;
     224    }
     225    h2, h3, p {
     226        orphans: 3;
     227        widows: 3;
     228    }
     229    h2, h3 {
     230        page-break-after: avoid;
     231    }
     232    .navbar {
     233        display: none;
     234    }
     235    .btn>.caret, .dropup>.btn>.caret {
     236        border-top-color: #000!important;
     237    }
     238    .label {
     239        border: 1px solid #000;
     240    }
     241    .table {
     242        border-collapse: collapse!important;
     243    }
     244    .table td, .table th {
     245        background-color: #fff!important;
     246    }
     247    .table-bordered td, .table-bordered th {
     248        border: 1px solid #ddd!important;
     249    }
     250}
     251
     252
     253/*--------------------------------------------------------------
     254 Theme Base
     255--------------------------------------------------------------*/
     256*,
     257*:before,
     258*:after {
     259  -webkit-box-sizing: inherit;
     260          box-sizing: inherit;
     261}
     262@-moz-viewport {
     263  width: device-width;
     264}
     265
     266@-ms-viewport {
     267  width: device-width;
     268}
     269
     270@-webkit-viewport {
     271  width: device-width;
     272}
     273
     274@viewport {
     275  width: device-width;
     276}
     277html {
     278    font-size: 100%; /* Default browser 16px */
     279    font-family: 'Poppins', sans-serif;
     280    -ms-text-size-adjust: 100%;
     281    -webkit-text-size-adjust: 100%;
     282    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
     283     -webkit-box-sizing: border-box;
     284    -moz-box-sizing: border-box;
     285     box-sizing: border-box;
     286}
     287body {
     288    font-size: 0.813rem; /* Content 13px */
     289    line-height: 1.65;
     290    color: #505050;
     291    background-color: #f6f6f6; /* Fallback for when there is no custom background color defined. */
     292    overflow-x: hidden;
     293    -webkit-font-smoothing: antialiased;
     294    -ms-word-wrap: break-word;
     295    word-wrap: break-word;
     296}
     297
     298
     299.clearfix:before,
     300.clearfix:after,
     301.container:before,
     302.container:after,
     303.container-fluid:before,
     304.container-fluid:after,
     305.row:before,
     306.row:after {
     307  content: " ";
     308  display: table;
     309}
     310.clearfix:after,
     311.container:after,
     312.container-fluid:after,
     313.row:after {
     314  clear: both;
     315}
     316
     317
     318/* Text meant only for screen readers. */
     319.screen-reader-text {
     320    clip: rect(1px, 1px, 1px, 1px);
     321    position: absolute !important;
     322    height: 1px;
     323    width: 1px;
     324    overflow: hidden;
     325}
     326
     327.screen-reader-text:focus {
     328    background-color: #f1f1f1;
     329    border-radius: 3px;
     330    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
     331    clip: auto !important;
     332    color: #21759b;
     333    display: block;
     334    font-size: 14px;
     335    font-size: 0.875rem;
     336    font-weight: bold;
     337    height: auto;
     338    left: 5px;
     339    line-height: normal;
     340    padding: 15px 23px 14px;
     341    text-decoration: none;
     342    top: 5px;
     343    width: auto;
     344    z-index: 100000; /* Above WP toolbar. */
     345}
     346
     347
     348/*--------------------------------------------------------------
     349Layout
     350--------------------------------------------------------------*/
     351#site-branding {
     352    margin-top: 10px;
     353}
     354.site-header {
     355    position: absolute;
     356    width: 96.2%;
     357    z-index: 1000;
     358    left: 1.4em;
     359}
     360
     361/* Site Branding */
     362#site-branding-wrapper {
     363    display: inline-block; 
     364    text-align: center;
     365}
     366#site-branding {
     367    display: inline-block;
     368    padding: .75% 5%;
     369    background-color: #fff;
     370    -webkit-transition: all 0.3s;
     371    -moz-transition: all 0.3s;
     372    -ms-transition: all 0.3s;
     373    -o-transition: all 0.3s;
     374    transition: all 0.3s;   
     375}
     376.site-title {
     377    font-family: 'Poppins', sans-serif;
     378    font-size: 2.5rem;
     379    line-height: 1.3;
     380    letter-spacing: -2px;
     381    letter-spacing: normal;
     382}
     383.site-title,
     384.site-title a,
     385.site-title a, .site-title a:visited, .site-title {
     386    color: #f5890d;
     387    font-weight: 700;
     388}
     389.site-title a:hover {
     390    text-decoration: none;
     391}
     392.site-title:after {
     393    margin-left: auto;
     394    margin-right: auto;
     395}
     396.site-title:after {
     397    content: "";
     398    width: 50%;
     399    height: 1px;
     400    background-color: #000;
     401    display: block;
     402    margin: 1px auto 4px;
     403}
     404.site-description {
     405    text-transform: uppercase;
     406    margin-top: 5px;
     407    letter-spacing: 1px;
     408    color: #c4bf9f;
     409}
     410.site-description p {
     411    margin:5px 0 0;
     412    font-family: "Open Sans", Arial, Helvetica, sans-serif;
     413}
     414
     415.site-description {
     416    color: #000;
     417}
     418
     419
     420#header-banner {
     421    margin: 0;
     422    min-height: 70px;
     423    background: #fff;
     424    box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
     425
     426}
     427
     428.site-content {
     429    padding: 60px 0px 0px 0px;
     430}
     431
     432.site-footer {
     433    background-color: #222;
     434    margin: 2px auto 0;
     435    padding: 30px 0;
     436    font-size: 0.75rem;
     437    text-align: center;
     438    border-top: 1px solid #e6e6e6;
     439    color: #fff;
     440    clear: both;
     441}
     442
     443/*--------------------------------------------------------------
     444Typography
     445--------------------------------------------------------------*/
     446h1, h2, h3, h4, h5, h6 {
     447    margin:0;
     448    line-height: 1.1;
     449    font-family: "Open Sans", Arial, Helvetica, sans-serif;
     450    font-weight: 400;
     451    color: #333;
     452}
     453h1, h2, h3 {
     454  margin-bottom: 20px;
     455}
     456h4, h5, h6 {
     457  margin-bottom: 16px;
     458}
     459
     460h1 {
     461  font-size: 1.75rem;
     462}
     463h2 {
     464  font-size: 1.5rem;
     465}
     466h3 {
     467  font-size: 1.25rem;
     468}
     469h4 {
     470  font-size: 1.125rem;
     471}
     472h5 {
     473  font-size: 1rem;
     474}
     475h6 {
     476  font-size: 0.75rem;
     477}
     478.entry-title,
     479.page-title {
     480    text-transform: uppercase;
     481    font-weight: 800;
     482}
     483#error-title {
     484    color: #fff;
     485}
     486.display-4 {
     487    font-size: 2.688rem;
     488}
     489.display-3 {
     490    font-size: 2.25rem;
     491}
     492.display-2 {
     493    font-size: 1.75rem;
     494}
     495.display-1 {
     496    font-size: 1.5rem;
     497}
     498.lead {
     499    font-size: 1.25rem;
     500    font-weight:300;
     501}
     502p {
     503    margin: 0 0 1.2rem;
     504}
     505.text-left {
     506    text-align: left;
     507}
     508.text-center {
     509    text-align: center;
     510}
     511.text-right {
     512    text-align: right;
     513}
     514.text-justify {
     515    text-align: justify;
     516}
     517.text-nowrap {
     518    white-space: nowrap;
     519}
     520.text-lowercase {
     521    text-transform: lowercase;
     522}
     523.text-uppercase {
     524    text-transform: uppercase;
     525}
     526.text-normal {
     527    text-transform:none;
     528}
     529.text-capitalize {
     530    text-transform: capitalize;
     531}
     532dfn,
     533cite,
     534em,
     535i {
     536    font-style: italic;
     537}
     538cite {
     539    font-size: 0.75rem;
     540}
     541code,
     542kbd,
     543tt,
     544var {
     545    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
     546    font-size: 15px;
     547    font-size: 0.9375rem;
     548}
     549code {
     550    padding: 3px 8px;
     551    font-size: 95%;
     552    color: #bd4147;
     553    background-color: #F5F5F5;
     554    border-radius: 4px;
     555}
     556
     557kbd {
     558    padding: 1px 6px;
     559    font-size: 90%;
     560    color: #fff;
     561    background-color: #333;
     562    border-radius: 4px;
     563}
     564
     565kbd kbd {
     566  padding: 0;
     567  font-size: 100%;
     568  font-weight: bold;
     569}
     570
     571pre {
     572  display: block;
     573  margin-top: 0;
     574  margin-bottom: 1rem;
     575  font-size: 90%;
     576  line-height: 1.5;
     577  color: #373a3c;
     578}
     579
     580pre code {
     581  padding: 0;
     582  font-size: inherit;
     583  color: inherit;
     584  background-color: transparent;
     585  border-radius: 0;
     586}
     587
     588.pre-scrollable {
     589  max-height: 340px;
     590  overflow-y: scroll;
     591}
     592
     593abbr[title],
     594abbr[data-original-title] {
     595  cursor: help;
     596  border-bottom: 1px dotted #818a91;
     597}
     598
     599mark,
     600ins {
     601    background-color: #FBFBA4;
     602    text-decoration: none;
     603    padding: 0 5px;
     604}
     605
     606big {
     607    font-size: 125%;
     608}
     609small {
     610  font-size: 80%;
     611}
     612
     613
     614/*--------------------------------------------------------------
     615Links
     616--------------------------------------------------------------*/
     617a, a:visited {
     618  color: #000;
     619  text-decoration: none;
     620    -webkit-transition: all 0.5s ease;
     621    -moz-transition: all 0.5s ease;
     622    -o-transition: all 0.5s ease;
     623    transition: all 0.5s ease;
     624}
     625
     626a:focus,
     627a:hover {
     628  color: #fea633;
     629}
     630
     631a:focus {
     632  outline: thin dotted;
     633  outline: 5px auto -webkit-focus-ring-color;
     634  outline-offset: -2px;
     635}
     636.entry-title a,
     637.entry-title a:visited {
     638    color: #333;
     639}
     640.entry-title a:hover {
     641    color: #fea633;
     642}
     643
     644/*--------------------------------------------------------------
     6456.0 Elements
     646--------------------------------------------------------------*/
     647blockquote:before,
     648blockquote:after,
     649q:before,
     650q:after {
     651    content: "";
     652}
     653
     654blockquote,
     655q {
     656    quotes: "" "";
     657}
     658
     659blockquote {
     660    margin: 1.5rem;
     661    padding: 20px;
     662    border: 1px solid #ccc;
     663}
     664blockquote p {
     665    color: #999;
     666    margin-bottom: 0;
     667    font-family: "Georgia";
     668    font-size: 1rem;
     669    line-height: 1.4;
     670    font-style: italic;
     671}
     672
     673hr {
     674  margin-top: 24px;
     675  margin-bottom: 24px;
     676  border: 0;
     677  border-top: 1px solid #e8e8e8;
     678}
     679abbr[title],
     680abbr[data-original-title] {
     681  cursor: help;
     682  border-bottom: 1px dotted #818a91;
     683}
     684
     685address {
     686  margin-bottom: 1rem;
     687  font-style: normal;
     688  line-height: inherit;
     689}
     690ol,
     691ul,
     692dl {
     693  margin-top: 0;
     694  margin-bottom: 1rem;
     695}
     696
     697ol ol,
     698ul ul,
     699ol ul,
     700ul ol {
     701  margin-bottom: 0;
     702}
     703
     704dt {
     705  font-weight: bold;
     706}
     707
     708dd {
     709  margin-bottom: .5rem;
     710  margin-left: 0;
     711}
     712
     713img {
     714    height: auto; /* Make sure images are scaled correctly. */
     715    max-width: 100%; /* Adhere to container width. */
     716}
     717
     718/* tables */
     719table {
     720    width: 100%;
     721    margin-bottom: 20px;
     722    border-collapse: separate;
     723    border-spacing: 0;
     724    text-align: left;
     725}
     726table thead th, 
     727table thead td {
     728    color: #222;
     729    background: #e6e6e6;
     730}
     731caption, th {
     732    font-size: 0.813rem;
     733    font-weight: 400;
     734    letter-spacing: 2px;
     735    text-transform: uppercase;
     736}
     737th, td {
     738    padding: 8px 12px;
     739}
     740tr:nth-child(odd) {
     741    background-color: #f5f5f5;
     742}
     743
     744/*--------------------------------------------------------------
     745Posts and Pages
     746--------------------------------------------------------------*/
     747.sticky {
     748    display: block;
     749}
     750.featured {
     751    background-color: #000;
     752    color: #fff;
     753    display: inline-block;
     754    position: relative;
     755    margin-right: 8px;
     756    letter-spacing: 1px;
     757    text-transform: uppercase;
     758}
     759.page-header {
     760    margin-top: 0;
     761   
     762}
     763.blog-content-div > .page-header {
     764    background-color: #fff;
     765    padding: 30px;
     766    margin-bottom: 50px;
     767}
     768.hentry {
     769    margin: 0 0 35px;
     770}
     771.byline,
     772.comments-link,
     773.edit-link {
     774    margin: 0 4px;
     775}
     776.entry-footer .edit-link {
     777    margin: 0;
     778}
     779.byline,
     780.updated:not(.published) {
     781    display: none;
     782}
     783.single .byline,
     784.group-blog .byline {
     785    display: inline;
     786}
     787.entry-title {
     788    font-size: 1.625rem;
     789    margin-bottom: 14px;
     790}
     791.single .entry-title {
     792    font-size: 1.5rem;
     793    font-weight:800;
     794}
     795.page-content,
     796.entry-content,
     797.entry-summary {
     798    margin: 14px 0 0;
     799}
     800.page-links {
     801    clear: both;
     802    margin: 0 0 1.5em;
     803}
     804.cat-links,
     805.tags-links {
     806    display: block;
     807    text-transform: uppercase;
     808}
     809.wp-post-image {
     810    margin-bottom: 20px;
     811  border-radius: 0px
     812}
     813
     814/* Blog Left and Right Featured styles */
     815.left-featured header,
     816.right-featured header,
     817.left-featured .entry-content,
     818.right-featured .entry-content {
     819    margin: 0;
     820}
     821.left-featured .entry-content,
     822.right-featured .entry-content {
     823    margin-top: 14px;
     824}
     825.left-featured .wp-post-image,
     826.right-featured .wp-post-image, .left-featured .video video, .right-featured .video video {
     827    max-width: 100%;
     828    float: none;
     829    margin: 0 auto 20px;
     830}
     831.left-featured .entry-title,
     832.right-featured .entry-title {
     833    font-size: 1.375rem;
     834}
     835.left-featured .featured,
     836.right-featured .featured {
     837    font-size: 0.813rem;
     838    line-height:1;
     839    padding: 2px 16px;
     840    bottom: 4px;
     841}
     842
     843/* Top right featured + Top left featured + Top left and right featured */
     844.top-featured-left .featured,
     845.top-featured-right .featured {
     846    font-size: 0.813rem;
     847    line-height:1;
     848    padding: 3px 16px;
     849    bottom: 5px;
     850}
     851.top-featured-left .entry-title,
     852.top-featured-right .entry-title {
     853    font-size: 1.438rem;
     854}
     855
     856
     857/* Top left and right featured */
     858.top-left-right-featured .entry-title {
     859    font-size: 1.313rem;   
     860}
     861.top-left-right-featured .featured {
     862    font-size: 0.75rem;
     863    line-height:1;
     864    padding: 4px 16px 2px;
     865    bottom: 4px;
     866}
     867
     868/* Blog Top Centered Featured image */
     869.top-featured-centered header,
     870.top-featured-centered .entry-content {
     871    max-width: 80%;
     872    margin: auto;
     873    text-align: center;
     874}
     875.top-featured-centered .entry-content {
     876    margin-top: 14px;
     877}
     878.top-featured-centered .entry-title {
     879    font-size:1.5rem;
     880}
     881.top-featured-centered .featured {
     882    display: inline-block;
     883    padding: 2px 16px;
     884    margin-bottom: 16px;
     885}
     886.top-featured-centered .wp-post-image {
     887    display: block;
     888    margin-left: auto;
     889    margin-right: auto;
     890}
     891
     892/* Grid Layout Custom CSS */
     893.grid-container {
     894   
     895}
     896.grid-container ul {
     897    list-style:none;
     898    margin:0;
     899    padding:0;
     900}
     901.grid-style .hentry {
     902    text-align: center;
     903}
     904.grid-style .entry-title {
     905    font-size: 1.125rem;
     906}
     907.grid-style .featured {
     908    font-size: 0.75rem;
     909    line-height: 1;
     910    padding: 4px 16px 3px;
     911    margin-bottom: 16px;
     912}
     913
     914/* Grid  and Masonry Layout  */
     915.masonry-style.page-header,
     916.grid-style.page-header {
     917    width: 90%;
     918    margin: 0 auto 40px;
     919}
     920.masonry-style .page-title,
     921.grid-style .page-title,
     922.masonry-style .category-description,
     923.grid-style .category-description {
     924    text-align: center;
     925}
     926
     927/*--------------------------------------------------------------
     928Aside Post Format
     929--------------------------------------------------------------*/
     930.blog .format-aside .entry-title,
     931.archive .format-aside .entry-title {
     932    display: none;
     933}
     934.format-aside,
     935.masonry-style .format-aside,
     936.grid-style .format-aside {
     937    margin-bottom: 40px;
     938}
     939.blog .format-aside .entry-title,
     940.archive .format-aside .entry-title {
     941    display: none;
     942}
     943.aside-wrapper {
     944    padding: 1.125rem 1.125rem 0;
     945}
     946.format-aside {
     947    background-color: #f5f5f5;
     948}
     949.top-featured-center .format-aside {
     950    text-align: center;
     951}
     952.single .format-aside {
     953    background-color: transparent;
     954}
     955.left-featured .format-aside header,
     956.left-featured .format-aside .entry-content,
     957.right-featured .format-aside header,
     958.right-featured .format-aside .entry-content  {
     959    margin-left: 0;
     960    margin-right: 0;
     961}
     962
     963/*--------------------------------------------------------------
     964Quote Post Format
     965--------------------------------------------------------------*/
     966.format-quote blockquote,
     967.format-quote .entry-footer {
     968    margin:0;
     969    padding:0;
     970    text-align: center;
     971}
     972.format-quote {
     973    background-color: #c4bf9f;
     974}
     975.masonry-style .format-quote,
     976.grid-style .format-quote {
     977    margin-bottom: 40px;
     978}
     979.format-quote .featured-image {
     980    background-size: cover;
     981    background-position:center;
     982}
     983.format-quote-overlay {
     984    width:100%;
     985    height: 100%;
     986    margin: auto;
     987    background-color:rgba(0,0,0,0.30);
     988}
     989.format-quote .entry-title {
     990    display: block;
     991    margin: 0;
     992}
     993.top-centered-featured .format-quote .entry-title {
     994    text-align: center;
     995}
     996.quote-wrapper {
     997    padding: 60px 40px;
     998}
     999.format-quote .entry-title,
     1000.format-quote p,
     1001.format-quote a {
     1002    color: #fff;
     1003}
     1004.quote-wrapper p { 
     1005    font-family: Arial, Helvetica, Arial, sans-serif;
     1006    font-size: 0.938rem;
     1007    font-style: italic;
     1008    margin-bottom: 0;
     1009    padding:0;
     1010    border: none;
     1011}
     1012.format-quote cite {
     1013    font-size: 0.75rem;
     1014    display: block;
     1015    margin-top: 5px;
     1016}
     1017.format-quote cite:before {
     1018    content: "\2014 \2009";
     1019}
     1020.single .format-quote {
     1021    background-color: transparent;
     1022}
     1023.single .format-quote .entry-title,
     1024.single .format-quote p,
     1025.single .format-quote a {
     1026    color: inherit;
     1027}
     1028.single .format-quote .entry-title,
     1029.single .format-quote blockquote,
     1030.single .format-quote .entry-footer {
     1031    text-align: left;
     1032}
     1033.single blockquote p {
     1034    border: none;
     1035    font-family: inherit;
     1036    font-size: inherit;
     1037    font-style: normal;
     1038    padding:0;
     1039}
     1040.left-featured .format-quote header,
     1041.left-featured .format-quote .entry-content,
     1042.right-featured .format-quote header,
     1043.right-featured .format-quote .entry-content  {
     1044    margin-left: 0;
     1045    margin-right: 0;
     1046}
     1047.masonry-style .format-quote .entry-title,
     1048.masonry-grid .format-quote .entry-title {
     1049    text-align: center;
     1050}
     1051
     1052/*--------------------------------------------------------------
     1053Image Post Format
     1054--------------------------------------------------------------*/
     1055.format-image .featured-image {
     1056        padding: 60px 20px;
     1057    background-size: cover;
     1058    background-position:center;
     1059}
     1060.format-image .post-date span {
     1061    background: none;
     1062}
     1063.format-image,
     1064.masonry-style .format-image {
     1065    margin-bottom: 40px;
     1066        text-align: center;
     1067        color: #fff;
     1068}
     1069
     1070.format-image .post-date,
     1071.format-image .post-date a,
     1072.format-image .more-link,
     1073.format-image .more-link:visited {
     1074    color: #d8d8d8;
     1075}
     1076.format-image .entry-title,
     1077.format-image .post-date {
     1078    text-align: center;
     1079    margin-bottom: 5px;
     1080}
     1081.single-format-image .entry-title {
     1082    text-align: left;
     1083}
     1084.format-image .entry-title a,
     1085.grid-style .format-image .entry-title a {
     1086    color: #fff;
     1087}
     1088
     1089.format-image .entry-title a:hover,
     1090.format-image .more-link:hover,
     1091.grid-style .format-image .entry-title a:hover {
     1092    color: #ccc;
     1093}
     1094.format-image-overlay {
     1095    width:80%;
     1096    margin: auto;
     1097    padding: 30px;
     1098    background-color:rgba(0,0,0,0.40);
     1099}
     1100.format-image .more-link-wrapper {
     1101    margin: 0 auto;
     1102}
     1103.format-image .entry-footer {
     1104    margin:0;
     1105}
     1106
     1107.single-format-image .right-column .format-image,
     1108.single-format-image .left-column .format-image,
     1109.single-format-image .format-image {
     1110    color: #6e6e6e;
     1111    text-align: left;
     1112}
     1113.grid-style .format-image {
     1114    color: #6e6e6e;
     1115}
     1116.left-featured .format-image header,
     1117.left-featured .format-image .entry-content,
     1118.right-featured .format-image header,
     1119.right-featured .format-image .entry-content,
     1120
     1121.top-left-featured .format-image header,
     1122.top-left-featured .format-image .entry-content,
     1123.top-right-featured .format-image header,
     1124.top-right-featured .format-image .entry-content,
     1125.grid-style .format-image header,
     1126.grid-style .format-image .entry-content,
     1127.masonry-style .format-image header,
     1128.masonry-style .format-image .entry-content {
     1129    margin: 0;
     1130}
     1131
     1132
     1133/*--------------------------------------------------------------
     1134Gallery Post Format
     1135--------------------------------------------------------------*/
     1136#gallery-header {
     1137    max-width: 1036px;
     1138    margin: 0 auto 50px;
     1139    text-align: center;
     1140}
     1141#format-gallery-outer {
     1142    text-align: center;
     1143}
     1144#format-gallery-inner {
     1145    margin: auto;
     1146}
     1147#landing-gallery {
     1148    text-align: center;
     1149}
     1150.format-gallery {
     1151    display: inline-block;
     1152    /*float: left;*/
     1153    margin: 0 -2px;
     1154}
     1155.single-format-gallery .entry-header,
     1156.single-format-gallery .entry-content {
     1157    text-align: center;
     1158}
     1159
     1160.format-gallery .gallery-thumbnail-wrapper {
     1161    position: relative;
     1162    display: inline-block;
     1163}
     1164.gallery-thumbnail-wrapper img { /* for firefox responsive images in a container */
     1165    width: 100%;
     1166}
     1167.format-gallery .wp-post-image,
     1168.single-format-gallery .wp-post-image {
     1169    display: block;
     1170    margin:0;
     1171}
     1172.single-format-gallery .format-gallery {
     1173    width: 100%;
     1174}
     1175.single-format-gallery .wp-post-image {
     1176    margin:0 auto;
     1177}
     1178.single-format-gallery .featured-image-wrapper {
     1179    text-align: center;
     1180    background-color: #303030;
     1181    padding: 10px;
     1182    margin-bottom: 32px;
     1183}
     1184.format-gallery .format-gallery-overlay,
     1185.format-gallery .format-gallery-overlay a,
     1186.format-gallery .format-gallery-overlay a:visited,
     1187.format-gallery .format-gallery-overlay a:hover {
     1188    color: #fff;
     1189}
     1190.format-gallery .format-gallery-overlay {
     1191    font-size: 14px;
     1192    width: 100%;
     1193    position: absolute;
     1194    left: 0;
     1195    height: 100%;
     1196    background-color:rgba(0,0,0,0.5);
     1197    background-color: #b3ad89;
     1198    top: 0;
     1199    color: #fff;
     1200    text-align: center;
     1201    box-sizing: border-box;
     1202    z-index: 4;
     1203    opacity: 0;
     1204    -webkit-transition: all .5s ease-out;
     1205    transition: all .5s ease-out;
     1206}
     1207.format-gallery .format-gallery-overlay:hover {
     1208    opacity: 1;
     1209}
     1210.format-gallery .text-outer {
     1211    display: table;
     1212    width: 100%;
     1213    height: 100%;
     1214}
     1215.format-gallery .text-inner {
     1216    display: table-cell;
     1217    vertical-align: middle;
     1218    text-align: center;
     1219}
     1220.format-gallery .entry-title {
     1221    font-size: 1.25rem;
     1222}
     1223.single-format-gallery .entry-title {
     1224    font-size: 1.5rem;
     1225}
     1226.format-gallery .overlay-category {
     1227    font: normal 1rem/1.5 "Bad Script", Georgia, serif;
     1228}
     1229.format-gallery .text-separator {
     1230    width: 0;
     1231    margin: 10px auto;
     1232    display: block;
     1233    height: 1px;
     1234    background: #fff;
     1235    border-bottom: 0;
     1236    transition: width .3s .1s;
     1237    -webkit-transition: width .3s .1s;
     1238}
     1239.format-gallery .format-gallery-overlay:hover .text-separator {
     1240    width: 75px;
     1241}
     1242
     1243.gallery-pagination {
     1244    display: block;
     1245    width: 300px;
     1246    margin: 40px auto;
     1247}
     1248.gallery-pagination .post-nav-newer {
     1249    float: none;
     1250    margin-left: 20px;
     1251}
     1252.gallery-pagination .post-nav-older {
     1253    float: none;
     1254     margin-right: 20px;
     1255}
     1256.gallery-pagination .post-nav-older:after,
     1257.gallery-pagination .post-nav-newer:before {
     1258    content: "";
     1259}
     1260.gallery-pagination .post-nav-older:before,
     1261.gallery-pagination .post-nav-newer:after {
     1262    font-family: FontAwesome;
     1263    font-size: 0.813rem;
     1264    content: "\f100";
     1265    margin-right: 5px;
     1266}
     1267
     1268.gallery-pagination .post-nav-newer:after {
     1269    content: "\f101";
     1270    margin: 0 0 0 5px;
     1271}
     1272
     1273/*--------------------------------------------------------------
     1274Comments
     1275--------------------------------------------------------------*/
     1276.comments-title {
     1277    font-size: 1.25rem;
     1278}
     1279.comments-title span {
     1280    font-style: italic;
     1281}
     1282.comment {
     1283    padding: 0;
     1284}
     1285.comment p {
     1286    margin: 0 0 1.5rem;
     1287}
     1288.comment-info p {
     1289    margin-bottom: 14px;
     1290}
     1291.comment-list{
     1292    list-style: none;
     1293    position: relative;
     1294    z-index: 2;
     1295    padding: 0;
     1296    margin: 16px 0 0;
     1297}
     1298.comment-list li{
     1299    display: inline-block;
     1300    position: relative;
     1301    width: 100%;
     1302}
     1303.comment-list > li{
     1304    margin: 12px 0 0;
     1305}
     1306.comment-wrapper {
     1307    margin: 10px 0 0;
     1308}
     1309.comment-wrapper .avatar {
     1310    float: left;
     1311    margin: 0 16px 0 0;
     1312    border-radius: 50%;
     1313}
     1314.comment-meta {
     1315     margin-bottom: 6px;
     1316    min-height: 50px;
     1317}
     1318.comment-metadata {
     1319    line-height: 1.2;
     1320    font-size: 0.75rem;
     1321    float: left;
     1322    font-style: italic;
     1323    font-family: verdana, sans-serif;
     1324}
     1325.comment-info .fn {
     1326    font-size: 1rem;
     1327    font-style: normal;
     1328}
     1329.comment-info .fn a {
     1330    color: #616161;
     1331}
     1332.comment-edit-link,
     1333.comment-reply-link {
     1334    margin-left: 8px;
     1335}
     1336.comment-reply-link {
     1337    font-weight: 600;
     1338}
     1339.logged-in-as {
     1340    margin: 10px 0;
     1341    font-style: italic;
     1342}
     1343.comment-wrapper .form-submit {
     1344    margin: 0 0 20px;
     1345}
     1346.comment-list li ul.children {
     1347    margin: 0;
     1348    padding: 0 0 0 40px;
     1349}
     1350#respond h3 {
     1351    margin: 0 0 15px 0;
     1352}
     1353#respond h3.comment-reply-title{
     1354    margin:0;
     1355    font-size: 1.25rem;
     1356    font-weight: 600;
     1357}
     1358#respond small {
     1359    display: block;
     1360    margin: 0;
     1361    position: relative;
     1362}
     1363.comment .comment-respond{
     1364    margin-top: 40px;
     1365}
     1366#respond textarea,
     1367#respond input[type='text'] {
     1368    position: relative;
     1369    width:100%;
     1370    margin: 0 0 15px 0;
     1371    padding: 10px 17px;
     1372    outline: 0;
     1373    resize: none;
     1374    font-family: inherit;
     1375    font-size: inherit;
     1376    line-height: 18px;
     1377    border-radius: 0;
     1378    -webkit-box-sizing: border-box;
     1379    -moz-box-sizing: border-box;
     1380    box-sizing: border-box;
     1381}
     1382#respond textarea {
     1383    padding: 15px 17px;
     1384}
     1385#respond textarea {
     1386    margin: 0 0 12px;
     1387}
     1388.comment-form {
     1389    display: inline-block;
     1390    margin: 0 0 40px;
     1391    width: 100%;
     1392    padding:0;
     1393}
     1394.comment-form form p.form-submit,
     1395.comment p.form-submit {
     1396    margin: 0;
     1397}
     1398.comment-reply-login {
     1399    margin-left: 10px;
     1400}
     1401.comment-form form p.form-submit .success p{
     1402    margin: 10px 0 0;
     1403}
     1404.comment-form form p.logged-in-as{
     1405    margin: 0 0 17px;
     1406    font-size: 12px;
     1407    font-weight: 400
     1408}
     1409#cancel-comment-reply-link {
     1410    margin: 0px;
     1411    display: inline-block;
     1412    width: 100%;
     1413    font-size: 0.813rem;
     1414    font-weight: 600;
     1415}
     1416.comment blockquote {
     1417    display: block;
     1418    background: #fff;
     1419    padding: 7px 20px 7px 45px;
     1420    margin: 0 0 20px;
     1421    position: relative;
     1422    font-size: 0.875rem;
     1423    line-height: inherit;
     1424    font-style: italic;
     1425}
     1426.comment blockquote p {
     1427    margin: 0;
     1428}
     1429.comment blockquote:before {
     1430    content: "\201C"; /*Unicode for Left Double Quote*/
     1431    font-family: Georgia, serif;
     1432    font-size: 3rem;
     1433    font-weight: 600;
     1434    color: #838383;
     1435    position: absolute;
     1436    left: 10px;
     1437    top: -8px;
     1438}
     1439
     1440/*--------------------------------------------------------------
     1441Alignments
     1442--------------------------------------------------------------*/
     1443.alignleft {
     1444    display: inline;
     1445    float: left;
     1446    margin: 4px 60px 0 0;
     1447}
     1448.alignright {
     1449    display: inline;
     1450    float: right;
     1451    margin: 4px 0 0 60px;
     1452}
     1453.aligncenter {
     1454    clear: both;
     1455    display: block;
     1456    margin-left: auto;
     1457    margin-right: auto;
     1458    margin: 4px auto 0;
     1459}
     1460.pull-left {
     1461    float: left;
     1462}
     1463.pull-right {
     1464    float: left;
     1465}
     1466
     1467/*--------------------------------------------------------------
     146810.0 Media
     1469--------------------------------------------------------------*/
     1470.figure {
     1471    display: inline-block;
     1472}
     1473figcaption {
     1474    color: #888;
     1475    font-style:italic;
     1476}
     1477[id^="attachment_"] .wp-caption-text,
     1478[id*=" attachment_"] .wp-caption-text {
     1479    color: #505050;
     1480}
     1481.page-content .wp-smiley,
     1482.entry-content .wp-smiley,
     1483.comment-content .wp-smiley {
     1484    border: none;
     1485    margin-bottom: 0;
     1486    margin-top: 0;
     1487    padding: 0;
     1488}
     1489
     1490/* Make sure embeds and iframes fit their containers. */
     1491embed,
     1492iframe,
     1493object {
     1494    max-width: 100%;
     1495}
     1496
     1497/*--------------------------------------------------------------
     1498Captions
     1499--------------------------------------------------------------*/
     1500.wp-caption {
     1501    margin-bottom: 1.5em;
     1502    max-width: 100%;
     1503}
     1504.wp-caption img[class*="wp-image-"] {
     1505    display: block;
     1506    margin-left: auto;
     1507    margin-right: auto;
     1508}
     1509.wp-caption .wp-caption-text {
     1510    margin: 0.8075em 0;
     1511}
     1512.wp-caption-text {
     1513    text-align: center;
     1514}
     1515
     1516/*--------------------------------------------------------------
     1517Galleries
     1518--------------------------------------------------------------*/
     1519
     1520/* WP Gallery up to 9 columns */
     1521.gallery {
     1522   max-width: 100%;
     1523    margin: 4% 0;
     1524}
     1525.gallery img{ /* for Firefox */
     1526    width: 100%;
     1527    display: block;
     1528}
     1529.gallery .gallery-item {
     1530    position: relative;
     1531    display: inline-block;
     1532    width: 100%;
     1533    margin: 0;
     1534    padding: 0 6px 0 0;
     1535    text-align: center;
     1536}
     1537.gallery-columns-2 .gallery-item {
     1538    max-width: 50%;
     1539}
     1540.gallery-columns-3 .gallery-item {
     1541    max-width: 33.33%;
     1542}
     1543.gallery-columns-4 .gallery-item {
     1544    max-width: 25%;
     1545}
     1546.gallery-columns-5 .gallery-item {
     1547    max-width: 20%;
     1548}
     1549.gallery-columns-6 .gallery-item {
     1550    max-width: 16.66%;
     1551}
     1552.gallery-columns-7 .gallery-item {
     1553    max-width: 14.28%;
     1554}
     1555.gallery-columns-8 .gallery-item {
     1556    max-width: 12.5%;
     1557}
     1558.gallery-columns-9 .gallery-item {
     1559    max-width: 11.11%;
     1560}
     1561.gallery .gallery-caption {
     1562    opacity: 0;
     1563    width: calc(100% - 6px);
     1564    position: absolute;
     1565    left: 0;
     1566    bottom: 0;
     1567    color: #fff;
     1568    text-align: center;
     1569    box-sizing: border-box;
     1570    padding: 10px;
     1571    background-color: #b3ad89;
     1572    /* lets create animated captions ending at 10px */
     1573    -webkit-transform: translateY(10px);
     1574    -ms-transform: translateY(10px);
     1575    transform: translateY(10px);
     1576    -webkit-transition-duration:  .2s;
     1577    transition-duration:  .2s;
     1578}
     1579.gallery-item:hover .gallery-caption {
     1580    opacity: 1;
     1581    /* lets create animated captions starting from 0 */
     1582    -webkit-transform: translateY(0px);
     1583    -ms-transform: translateY(0px);
     1584    transform: translateY(0px);
     1585}
     1586/* Thumbnails are too small so lets hide the captions */
     1587.gallery-columns-6 .gallery-caption,
     1588.gallery-columns-7 .gallery-caption, 
     1589.gallery-columns-8 .gallery-caption, 
     1590.gallery-columns-9 .gallery-caption {
     1591    display: none;
     1592}
     1593
     1594.gallery-icon.landscape {
     1595    float: left;
     1596}
     1597.wp-caption-text { 
     1598    color: #fff;
     1599    font-size: 0.813rem;
     1600    line-height: 1.2;
     1601    text-align: center;
     1602    font-style:normal;
     1603    text-transform: uppercase;
     1604}
     1605.wp-caption {
     1606    max-width: 100%;
     1607}
     1608
     1609/*--------------------------------------------------------
     1610Pages - Attachment Page
     1611--------------------------------------------------------*/
     1612
     1613.attachment.hentry {
     1614    text-align: center;
     1615}
     1616.attachment .page-title {
     1617    font-weight: 400;
     1618    font-size: 1.75rem;
     1619}
     1620
     1621.attachment .featured-image-wrapper {
     1622    text-align: center;
     1623    background-color: #303030;
     1624    padding: 10px;
     1625    margin-bottom: 32px;
     1626}
     1627.attachment  .featured-image-wrapper img {
     1628    display: block;
     1629    margin: auto;
     1630}
     1631.attachment .entry-caption p {
     1632    margin: 0;
     1633    font-size: 1.125rem;
     1634}
     1635.attachment .entry-content p {
     1636    width: 75%;
     1637    margin: 20px auto;
     1638}
     1639.single .attachment .entry-header {
     1640    text-align: center;
     1641}
     1642#image-navigation a {
     1643    color: #c4bf9f;
     1644}
     1645
     1646/*--------------------------------------------------------
     1647Author Bio and Page
     1648--------------------------------------------------------*/
     1649.bypostauthor {}
     1650.author-information {
     1651  margin-bottom: 50px;
     1652}
     1653.author-avatar {
     1654  display: inline-block;
     1655  float: left;
     1656}
     1657.author-avatar img {
     1658    border-radius: 50%;
     1659}
     1660.author-info {
     1661    margin: 50px 0;
     1662    padding: 15px;
     1663    background-color: #f7f7f7;
     1664}
     1665.author-title {
     1666  margin: 0;
     1667  font-size: 1.25rem;
     1668  display: inline;
     1669}
     1670.author-website {
     1671  margin: 7px 0;
     1672  font-style: italic;
     1673  font-size: 0.813rem;
     1674}
     1675.author-bio {
     1676    margin: 6px 0 0;
     1677    font-size: 0.813rem;
     1678    font-style: italic;
     1679}
     1680.fn {
     1681    font-weight: 600;
     1682}
     1683.author-description {
     1684    margin: 0 0 0 60px;
     1685}
     1686.author .author-description {
     1687  margin-left: 0;
     1688}
     1689.author-page-header h1,
     1690.author .page-header h2 {
     1691  font-size: 1.5rem;
     1692  margin: 0;
     1693}
     1694
     1695
     1696/*--------------------------------------------------------------
     1697Landing Page
     1698--------------------------------------------------------------*/
     1699#landing-content {
     1700    max-width: 80%;
     1701    text-align: center;
     1702    margin: 0 auto;
     1703}
     1704
     1705/*--------------------------------------------------------------
     1706Error Page
     1707--------------------------------------------------------------*/
     1708.error-404 {
     1709    position: relative;
     1710}
     1711#error-overlay {
     1712    width: 100%;
     1713    /* z-index: 2; */
     1714    position: absolute;
     1715    top: 50%;
     1716    left: 0;
     1717    right: 0;
     1718    margin: 0 auto;
     1719    padding: 20px;
     1720    background-color: rgba(0,0,0,0.30);
     1721    text-align: center;
     1722    -webkit-transform: translateY(-50%);
     1723    -ms-transform: translateY(-50%);
     1724    transform: translateY(-50%);
     1725    color: #fff;
     1726}
     1727#error-title {
     1728    font-size: 2.5rem;
     1729    line-height: 1.2;
     1730}
     1731#error-title:after {
     1732    content: "";
     1733    width: 30%;
     1734    height: 1px;
     1735    background-color: #fff;
     1736    display: block;
     1737        margin: 20px auto 0;
     1738}
     1739#error-message {
     1740    font-size: 1.25rem;
     1741    margin-bottom: 0;
     1742}
     1743#error-button {
     1744    margin: 20px auto 0;   
     1745}
     1746#error-button a,
     1747#error-button a:visited {
     1748    color: #fff;
     1749    text-transform: uppercase;
     1750    background-color: transparent;
     1751    border: 1px solid #fff;
     1752    padding: 5px 20px;
     1753    text-decoration: none;
     1754}
     1755#error-button a:hover {
     1756    background-color: #fff;
     1757    color: #505050;
     1758}
     1759
     1760/*-------------------------------------------------------------
     1761Search Page
     1762---------------------------------------------------------------*/
     1763.button-search {
     1764    width: 100%;
     1765}
     1766.search .format-gallery {
     1767    width: 100%;
     1768    margin-bottom: 32px;
     1769}
     1770.search .format-quote,
     1771.search .format-aside,
     1772.search .format-image {
     1773    background-color:transparent;
     1774    text-align:left;
     1775}
     1776.search .format-quote .entry-title,
     1777.search .format-quote p,
     1778.search .format-quote a,
     1779.search .format-image,
     1780.search .format-image .entry-title a,
     1781.search .format-image .entry-content,
     1782.search .format-image a {
     1783    color: #505050;
     1784}
     1785.search .format-quote p {
     1786    margin-bottom: 0;
     1787}
     1788.search .entry-title {
     1789    font-size: 1.313rem;
     1790    text-align: left;
     1791}
     1792   
     1793/*--------------------------------------------------------------
     1794Sidebars and Widgets
     1795--------------------------------------------------------------*/
     1796#header-wrapper {
     1797    padding-top: 0px;
     1798}
     1799#banner {
     1800    position: relative;
     1801}
     1802#banner img {
     1803    margin: auto;
     1804    display: block;
     1805}
     1806#banner-overlay,
     1807#header-banner {
     1808    height: 90px;
     1809}
     1810#banner-overlay {
     1811    position: absolute;
     1812    width: 100%;
     1813    background-color: rgb(0 0 0 / 37%);
     1814    z-index:999;
     1815}
     1816#feature-top-wrapper {
     1817    background-color: #fff;
     1818}
     1819#feature-bottom-wrapper {
     1820    background-color: #fff;
     1821}
     1822#bottom-wrapper {
     1823    background-color: #f5f5f5;
     1824}
     1825#sidebar-footer-wrapper {
     1826    max-width: 50%;
     1827    margin: 0 auto 20px;
     1828    font-size: 0.813rem;
     1829}
     1830#sidebar-left .widget,
     1831#secondary .widget {
     1832    margin-bottom: 40px;
     1833    background-color: #fff;
     1834    padding: 30px;
     1835}
     1836#sidebar-left,
     1837#secondary,
     1838#sidebar-content-top,
     1839#sidebar-content-bottom,
     1840#feature-top-wrapper,
     1841#feature-bottom-wrapper,
     1842#bottom-wrapper {
     1843    padding:  30px 0 ;
     1844}
     1845#sidebar-content-top {
     1846    padding-bottom: 60px;
     1847}
     1848#sidebar-content-bottom {
     1849    padding-top: 0;
     1850}
     1851#sidebar-left,
     1852#secondary {
     1853    padding-top:0;
     1854}
     1855#sidebar-left .widget:last-child,
     1856#secondary .widget:last-child,
     1857.widget p:last-child {
     1858    margin-bottom: 0;
     1859}
     1860/* Make sure select elements fit in widgets. */
     1861.widget select {
     1862    max-width: 100%;
     1863}
     1864
     1865/*--------------------------------------------------------
     1866Widgets with Lists
     1867--------------------------------------------------------*/
     1868
     1869.widget_archive a,
     1870.widget_categories a,
     1871.widget_links a,
     1872.widget_meta a,
     1873.widget_nav_menu a,
     1874.widget_pages a,
     1875.widget_recent_comments a,
     1876.widget_recent_entries a,
     1877.widget_archive a:visited,
     1878.widget_categories a:visited,
     1879.widget_links a:visited,
     1880.widget_meta a:visited,
     1881.widget_nav_menu a:visited,
     1882.widget_pages a:visited,
     1883.widget_recent_comments a:visited,
     1884.widget_recent_entries a:visited {
     1885    border: 0;
     1886    color: #505050;
     1887}
     1888.widget_archive a:hover,
     1889.widget_categories a:hover,
     1890.widget_links a:hover,
     1891.widget_meta a:hover,
     1892.widget_nav_menu a:hover,
     1893.widget_pages a:hover,
     1894.widget_recent_comments a:hover,
     1895.widget_recent_entries a:hover {
     1896    color: #fea633;
     1897}
     1898
     1899.widget_archive ul,
     1900.widget_categories ul,
     1901.widget_links ul,
     1902.widget_meta ul,
     1903.widget_nav_menu ul,
     1904.widget_pages ul,
     1905.widget_recent_comments ul,
     1906.widget_recent_entries ul {
     1907    list-style: none;
     1908    margin: 20px 0;
     1909    padding:0;
     1910}
     1911
     1912.widget_archive li,
     1913.widget_categories li,
     1914.widget_links li,
     1915.widget_meta li,
     1916.widget_nav_menu li,
     1917.widget_pages li,
     1918.widget_recent_comments li,
     1919.widget_recent_entries li {
     1920    border-top: 1px solid #e6e6e6;
     1921    padding: 0.5rem 0;
     1922}
     1923
     1924#sidebar-bottom .widget_archive li,
     1925#sidebar-bottom .widget_categories li,
     1926#sidebar-bottom .widget_links li,
     1927#sidebar-bottom .widget_meta li,
     1928#sidebar-bottom .widget_nav_menu li,
     1929#sidebar-bottom .widget_pages li,
     1930#sidebar-bottom .widget_recent_comments li,
     1931#sidebar-bottom .widget_recent_entries li {
     1932    border-color: #b9bbb2;
     1933}
     1934
     1935.widget_archive li:first-child,
     1936.widget_categories li:first-child,
     1937.widget_links li:first-child,
     1938.widget_meta li:first-child,
     1939.widget_nav_menu li:first-child,
     1940.widget_pages li:first-child,
     1941.widget_recent_comments li:first-child,
     1942.widget_recent_entries li:first-child {
     1943    border-top: 0;
     1944    padding-top: 0;
     1945}
     1946
     1947.widget_archive li:last-child,
     1948.widget_categories li:last-child,
     1949.widget_links li:last-child,
     1950.widget_meta li:last-child,
     1951.widget_nav_menu li:last-child,
     1952.widget_pages li:last-child,
     1953.widget_recent_comments li:last-child,
     1954.widget_recent_entries li:last-child {
     1955    padding-bottom: 0;
     1956}
     1957
     1958.widget_categories .children,
     1959.widget_nav_menu .sub-menu,
     1960.widget_pages .children {
     1961    border-top: 1px solid #e6e6e6;
     1962    margin: 0.5rem 0 0 0.8em;
     1963    padding-top: 0.5rem;
     1964}
     1965#sidebar-bottom .widget_categories .children,
     1966#sidebar-bottom .widget_nav_menu .sub-menu,
     1967#sidebar-bottom .widget_pages .children {
     1968    border-color: #b9bbb2;
     1969    padding-top: 0;
     1970}
     1971.widget_recent_entries .post-date {
     1972    display: block;
     1973}
     1974#sidebar-bottom li {
     1975    padding: 5px 0;
     1976}
     1977
     1978
     1979/*--------------------------------------------------------
     1980Tag Cloud
     1981--------------------------------------------------------*/
     1982.widget .tagcloud a{
     1983    margin: 0 3px 5px 0;
     1984    color: #686868;
     1985    border: 1px solid #d9d9d9;
     1986    padding: 0px 16px;
     1987    line-height:30px;
     1988    height:32px;
     1989    display:inline-block;
     1990    vertical-align:middle;
     1991    font-size:10px !important;
     1992    font-weight: 500;
     1993    text-transform:uppercase;
     1994    letter-spacing:1px;
     1995    -webkit-transition:     background-color .2s ease-in-out;
     1996    -moz-transition:        background-color .2s ease-in-out;
     1997    -ms-transition:         background-color .2s ease-in-out;
     1998    -o-transition:          background-color .2s ease-in-out;
     1999    transition:                 background-color .2s ease-in-out;
     2000    -webkit-transition:     border-color .2s ease-in-out;
     2001    -moz-transition:        border-color .2s ease-in-out;
     2002    -ms-transition:         border-color .2s ease-in-out;
     2003    -o-transition:          border-color .2s ease-in-out;
     2004    transition:                 border-color .2s ease-in-out;
     2005}
     2006.widget .tagcloud a:hover {
     2007    color: #f3f3f3;
     2008    border-color: transparent;
     2009    background-color: #f5890d;
     2010}
     2011#sidebar-bottom .tagcloud a {
     2012    text-decoration: none;
     2013    border-color: #b9bbb2;
     2014    color: #fff;
     2015}
     2016#sidebar-bottom .tagcloud a:hover {
     2017    background-color: #303030;
     2018    border-color: transparent;
     2019    color: #f3f3f3;
     2020}
     2021
     2022/*--------------------------------------------------------
     2023Search Widget
     2024--------------------------------------------------------*/
     2025.widget .widget-title {
     2026    margin-bottom: 12px;
     2027    font-weight: 800;
     2028}
     2029.widget .input-search {
     2030    border: 1px solid #ebebeb;
     2031    margin: 12px 0 6px;
     2032    width: 100%;
     2033    background-color: #fff;
     2034}
     2035.widget .button-search {
     2036    width: 29%;
     2037    text-align: center;
     2038    border: 0;
     2039}
     2040.widget .button-search:hover {
     2041    background-color: #303030;
     2042}
     2043.widget .button-search {
     2044    background-color: #c4bf9f;
     2045    color: #fff;
     2046}
     2047/* Search widget. */
     2048.widget_search .search-submit {
     2049    display: none;
     2050}
     2051
     2052
     2053/*--------------------------------------------------------
     2054Calendar Widget
     2055--------------------------------------------------------*/
     2056.widget_calendar caption {
     2057    background-color: #303030;
     2058    margin-bottom: 1px;
     2059    padding: 5px 3px;
     2060    color: #fff;
     2061    text-transform: uppercase;
     2062    letter-spacing: 1px;
     2063}
     2064.widget_calendar th {
     2065    background-color: #f5890d;
     2066    border-left: 1px solid rgba(0, 0, 0, 0);
     2067    color: #fff;
     2068    text-align: center;
     2069    font-weight: bold;
     2070}
     2071.widget_calendar tbody, .widget_calendar thead {
     2072    border: 1px solid #e2e3e4;
     2073}
     2074.widget_calendar tbody td {
     2075    background-color: #fcfdfd;
     2076    border-left: 1px solid rgba(0, 0, 0, 0);
     2077     border-top: 1px solid rgba(0, 0, 0, 0);
     2078    text-align: center;
     2079}
     2080.widget_calendar tbody td:first-child {
     2081    border-left: none;
     2082}
     2083.widget_calendar tbody td#today {
     2084    background-color: #f5890d;
     2085    font-weight: bold;
     2086    color:#fff;
     2087}
     2088.widget_calendar tbody td#today a {
     2089    color: #fff;
     2090}
     2091 .widget_calendar tfoot {
     2092     background-color: #e2e3e4;
     2093 }
     2094 #wp-calendar tfoot td {
     2095    padding: 3px 0 3px 10px;
     2096    text-transform: uppercase;
     2097    font-size: 11px;
     2098}
     2099
     2100
     2101/*--------------------------------------------------------------
     2102Form Styling
     2103--------------------------------------------------------------*/
     2104textarea {
     2105    padding-left: 3px;
     2106    width: 100%;
     2107}
     2108[role="button"] {
     2109    cursor: pointer;
     2110}
     2111.form-control::-moz-placeholder {
     2112    padding-top: 2px;
     2113    color: #999;
     2114    font-size: 0.813rem;
     2115    font-style:italic;
     2116    opacity: 1;
     2117}
     2118.form-control:-ms-input-placeholder {
     2119    padding-top: 2px;
     2120    color: #999;
     2121    font-size: 0.813rem;
     2122    font-style:italic;
     2123}
     2124.form-control::-webkit-input-placeholder {
     2125    padding-top: 2px;
     2126    color: #999;
     2127    font-size: 0.813rem;
     2128    font-style:italic;
     2129}
     2130textarea.form-control {
     2131    height: auto;
     2132}
     2133input[type="search"] {
     2134    -webkit-appearance: none;
     2135}
     2136
     2137/* Begin Forms */
     2138.form-group {
     2139    margin-bottom: 10px;
     2140}
     2141.help-block {
     2142    display: block;
     2143    margin-top: 5px;
     2144    margin-bottom: 10px;
     2145    color: #999;
     2146    font-size: 0.75rem;
     2147}
     2148fieldset {
     2149    padding: 0;
     2150    margin: 0;
     2151    border: 0;
     2152    min-width: 0;
     2153}
     2154legend {
     2155    display: block;
     2156    width: 100%;
     2157    padding: 0;
     2158    margin-bottom: 20px;
     2159    font-size: 21px;
     2160    line-height: inherit;
     2161    color: #333333;
     2162    border: 0;
     2163    border-bottom: 1px solid #d9d9d9;
     2164}
     2165label {
     2166    display: inline-block;
     2167    max-width: 100%;
     2168    margin-bottom: 5px;
     2169    font-weight: bold;
     2170}
     2171input[type="search"] {
     2172    -webkit-box-sizing: border-box;
     2173    -moz-box-sizing: border-box;
     2174    box-sizing: border-box;
     2175}
     2176input[type="radio"],
     2177input[type="checkbox"] {
     2178    margin: 4px 0 0;
     2179    margin-top: 1px ;
     2180    line-height: normal;
     2181}
     2182input[type="file"] {
     2183    display: block;
     2184}
     2185input[type="range"] {
     2186    display: block;
     2187    width: 100%;
     2188}
     2189select[multiple],
     2190select[size] {
     2191    height: auto;
     2192}
     2193input[type="file"]:focus,
     2194input[type="radio"]:focus,
     2195input[type="checkbox"]:focus {
     2196    outline: thin dotted;
     2197    outline: 5px auto -webkit-focus-ring-color;
     2198    outline-offset: -2px;
     2199}
     2200output {
     2201    display: block;
     2202    padding-top: 7px;
     2203    font-size: 14px;
     2204    line-height: 1.42857143;
     2205    color: #555555;
     2206}
     2207input[type="text"],
     2208input[type="password"],
     2209input[type="email"],
     2210input[type="tel"],
     2211input[type="url"],
     2212textarea,
     2213select,
     2214.form-control {
     2215    display: inline-block;
     2216    width: 69%;
     2217    height: 34px;
     2218    padding: 6px 12px;
     2219    font-size: 14px;
     2220    line-height: 1.42857143;
     2221    color: #555555;
     2222    background-color: #f9f9f9;
     2223    background-image: none;
     2224    border: 1px solid #d9d9d9;
     2225}
     2226input[type="text"]:focus,
     2227input[type="password"]:focus,
     2228input[type="email"]:focus,
     2229input[type="tel"]:focus,
     2230input[type="url"]:focus,
     2231textarea:focus,
     2232select:focus,
     2233.form-control:focus {
     2234    background-color: #fff;
     2235    border-color: #d3d3d3;
     2236    outline: 0;
     2237}
     2238textarea {
     2239    height: auto;
     2240}
     2241.radio,
     2242.checkbox {
     2243    position: relative;
     2244    display: block;
     2245    margin-top: 10px;
     2246    margin-bottom: 10px;
     2247}
     2248.radio label,
     2249.checkbox label {
     2250    min-height: 20px;
     2251    padding-left: 20px;
     2252    margin-left: 1px;
     2253    margin-bottom: 0;
     2254    font-weight: normal;
     2255    cursor: pointer;
     2256}
     2257.radio input[type="radio"],
     2258.radio-inline input[type="radio"],
     2259.checkbox input[type="checkbox"],
     2260.checkbox-inline input[type="checkbox"] {
     2261    position: absolute;
     2262    margin-left: -20px;
     2263    margin-top: 5px;
     2264}
     2265.radio + .radio,
     2266.checkbox + .checkbox {
     2267    margin-top: -5px;
     2268}
     2269
     2270/* buttons */
     2271button,
     2272input[type="button"],
     2273input[type="submit"],
     2274input[type="reset"],
     2275.btn {
     2276    display: inline-block;
     2277    margin-bottom: 0;
     2278    font-weight: 400;
     2279    text-align: center;
     2280    vertical-align: middle;
     2281    -ms-touch-action: manipulation;
     2282    touch-action: manipulation;
     2283    cursor: pointer;
     2284    background-color: #fff;
     2285    color: #505050;
     2286    border: 1px solid #c4c4c4;
     2287    white-space: nowrap;
     2288    padding: 6px 18px 4px;
     2289    font-size: 0.813rem;
     2290    text-transform: uppercase;
     2291    letter-spacing: 1px;
     2292    line-height: 1.42857143;
     2293    -webkit-user-select: none;
     2294    -moz-user-select: none;
     2295    -ms-user-select: none;
     2296    user-select: none;
     2297    -webkit-transition: background-color .2s ease-in-out;
     2298    -moz-transition: background-color .2s ease-in-out;
     2299    -ms-transition: background-color .2s ease-in-out;
     2300    -o-transition: background-color .2s ease-in-out;
     2301    transition: background-color .2s ease-in-out;
     2302}
     2303button:focus,
     2304input[type="button"]:focus,
     2305input[type="submit"]:focus,
     2306input[type="reset"]:focus,
     2307.btn:focus,
     2308.btn:active:focus {
     2309    outline: thin dotted;
     2310    outline: 5px auto -webkit-focus-ring-color;
     2311    outline-offset: -2px;
     2312}
     2313button:hover,
     2314input[type="button"]:hover,
     2315input[type="submit"]:hover,
     2316input[type="reset"]:hover,
     2317button:focus,
     2318input[type="button"]:focus,
     2319input[type="submit"]:focus,
     2320input[type="reset"]:focus,
     2321.btn:hover,
     2322.btn:focus {
     2323    background-color: #303030;
     2324    color: #f3f3f3;
     2325    text-decoration: none;
     2326    border-color: transparent;
     2327}
     2328
     2329/* Button size */
     2330.btn-lg {
     2331    padding: 8px 24px 7px;
     2332    font-size: 1.125rem;
     2333    line-height: 1.3333333;
     2334}
     2335.btn-sm {
     2336    padding: 3px 14px;
     2337    font-size: 0.75rem;
     2338    line-height: 1.5;
     2339}
     2340.btn-xs {
     2341    padding: 0 12px;
     2342    font-size: 0.688rem;
     2343    line-height: 1.5;
     2344}
     2345
     2346/* Button colour */
     2347button.dark,
     2348input[type="button"].dark,
     2349input[type="submit"].dark,
     2350input[type="reset"].dark,
     2351.btn.dark {
     2352    background-color: #303030;
     2353    color: #f3f3f3;
     2354    border-color: transparent;
     2355}
     2356button.dark:hover,
     2357input[type="button"].dark:hover,
     2358input[type="submit"].dark:hover,
     2359input[type="reset"].dark:hover,
     2360.btn.dark:hover {
     2361    background-color: #fff;
     2362    color: #505050;
     2363    border-color: #c4c4c4;
     2364}
     2365
     2366/*--------------------------------------------------------------
     2367Navigation
     2368--------------------------------------------------------------*/
     2369.main-navigation {
     2370    font-weight: 400;
     2371    margin: auto;
     2372    padding: 2% 1.5%;
     2373}
     2374.navigation .col-md-12 {
     2375    padding:0;
     2376}
     2377.main-navigation.toggled-on ul {
     2378    list-style: none;
     2379    margin: 0;
     2380    padding: 0;
     2381    text-align:left;
     2382}
     2383.toggled-on li {
     2384    border-top: 1px solid #e6e6e6;
     2385}
     2386.main-navigation.toggled-on a,
     2387.main-navigation.toggled-on li.home a {
     2388    display: block;
     2389    padding: 4px 12px;
     2390    text-decoration: none;
     2391    color: #f3f3f3;
     2392}
     2393.main-navigation.toggled-on a:hover,
     2394.main-navigation.toggled-on li.home a:hover {
     2395    color: #fea633;
     2396}
     2397.main-navigation.toggled-on ul a { width: auto; }
     2398.main-navigation.toggled-on ul a { padding-left: 1.250rem; }
     2399.main-navigation.toggled-on ul ul a { padding-left: 2.50rem; }
     2400.main-navigation.toggled-on ul ul ul a { padding-left: 3.750rem; }
     2401.main-navigation.toggled-on ul ul ul ul a { padding-left: 5rem; }
     2402.main-navigation.toggled-on ul ul ul ul ul a { padding-left: 6.250rem; }
     2403
     2404.main-navigation .nav-menu {
     2405    display: none;
     2406}
     2407.main-navigation.toggled-on .nav-menu {
     2408    display: block;
     2409    margin: 0;
     2410    background-color: #303030;
     2411  padding: 20px 0;
     2412  text-align: left;
     2413  padding-top: 5px;
     2414}
     2415.toggle-container {
     2416    display: block;
     2417    text-align: center;
     2418}
     2419
     2420/* Mobile menu button */
     2421.menu-toggle {
     2422    display: block;
     2423    margin: auto;
     2424    padding: 2px 12px;
     2425    border: 0;
     2426    cursor: pointer;
     2427    overflow: hidden;
     2428    position: relative;
     2429    font-size: 0.813rem;
     2430    letter-spacing: 1px;
     2431    text-align: center;
     2432    border: 1px solid #f3f3f3;
     2433    background-color: transparent;
     2434    color: #f3f3f3;
     2435}
     2436
     2437.menu-toggle:active,
     2438.menu-toggle:focus,
     2439.menu-toggle:hover {
     2440    color: #f3f3f3;
     2441    background-color: #000;
     2442    outline: 0 dotted;
     2443    border-color: #000;
     2444}
     2445.menu-toggle.nobanner {
     2446    border-color: #303030;
     2447    color: #303030;
     2448}
     2449.menu-toggle.nobanner:active,
     2450.menu-toggle.nobanner:focus,
     2451.menu-toggle.nobanner:hover {
     2452    color: #f3f3f3;
     2453    background-color: #000;
     2454    border-color: #000;
     2455}
     2456
     2457/* Video desing*/
     2458.top-featured-centered .video video {
     2459    display: block;
     2460    margin-left: auto;
     2461    margin-right: auto;
     2462}
     2463
     2464.video video {
     2465  max-width: 100%;
     2466  border-radius: 15px;
     2467}
     2468.video video:focus{
     2469  outline: none;
     2470}
     2471.masonry .video video, .grid-style .video video{
     2472  width: 100%;
     2473  height: auto;
     2474  border-radius: 15px;
     2475}
     2476
     2477.video-title h2{
     2478  padding-top: 1rem;
     2479}
     2480
     2481.main-navigation ul.nav-menu {
     2482  text-align: right;
     2483}
     2484
     2485@media (min-width: 992px) {
     2486    .main-navigation .menu-toggle {
     2487        display: none;
     2488    }
     2489    .main-navigation ul {
     2490        list-style: none;
     2491        margin: 0;
     2492        padding:0;
     2493        float: none;
     2494    }   
     2495    .main-navigation ul.nav-menu {
     2496        display: block;
     2497    }   
     2498    .main-navigation li {
     2499        border: 0;
     2500        display: inline-block;
     2501        height: 24px;
     2502        font-size: 1rem;
     2503        line-height: 24px;
     2504        position: relative;
     2505        letter-spacing: 1px;
     2506    }
     2507    .main-navigation li a {
     2508        display: inline-block;
     2509        padding: 0 0.5rem;
     2510        white-space: nowrap;
     2511        text-decoration: none;
     2512        color: #fff;
     2513        border: 1px solid transparent;
     2514    }   
     2515    .main-navigation li.home a {
     2516        color: #fff;
     2517    }
     2518    .main-navigation .nav-menu.nobanner a,
     2519    .main-navigation .nav-menu.nobanner li.home a {
     2520        color: #000;
     2521    }
     2522
     2523  .main-navigation .nobanner a,
     2524  .main-navigation .nobanner li.home a {
     2525    color: #000;
     2526  }
     2527
     2528    /* Submenus */ 
     2529    .main-navigation li li > a {       
     2530        text-transform: initial;
     2531        font-size: 0.813rem;   
     2532    }
     2533    .main-navigation ul ul {
     2534        background-color: rgba(0,0,0,0.30);
     2535        float: left;
     2536        margin: 0 0 0 -7px;
     2537        padding: 16px 0;
     2538        position: absolute;
     2539        top: 26px;
     2540        left: -999rem;
     2541        z-index: 1000;
     2542        display:none;
     2543    }
     2544    .main-navigation .nav-menu.nobanner ul {
     2545        background-color: #fff;
     2546    }   
     2547    .main-navigation ul ul ul {
     2548        left: -999rem;
     2549        top: 30px;
     2550    }   
     2551    .main-navigation li li {
     2552        border: 0;
     2553        display: block;
     2554        height: auto;
     2555        line-height: 1.1;
     2556        text-align: left;
     2557    }
     2558    .main-navigation ul ul a,
     2559    .main-navigation li li li a {
     2560        padding: 6px 16px;
     2561        white-space: normal;
     2562        width: 260px;
     2563    }
     2564    .main-navigation ul li:hover > ul,
     2565    .main-navigation ul li.focus > ul {
     2566        right: auto;
     2567        left:0;
     2568        display:block;
     2569    }
     2570    .main-navigation ul ul li:hover > ul,
     2571    .main-navigation ul ul li.focus > ul {
     2572      right: auto; /* reset the default positioning */
     2573      left: 5%; /* this makes the submenu fly out to the right */
     2574    }   
     2575    .home.current-menu-item a {
     2576        background: none;
     2577        border-color: transparent;
     2578    }
     2579    .main-navigation li li a:hover {
     2580        padding-right: 20px;
     2581        border-left: 1px solid #fff;
     2582    }
     2583    /* hover border when no banner */
     2584    .main-navigation .nav-menu.nobanner li li a:hover {
     2585        border-left: 1px solid #000;
     2586    }   
     2587    .main-navigation ul,
     2588    .main-navigation.header-centered ul {
     2589        text-align: center;
     2590    }   
     2591
     2592}
     2593
     2594/*--------------------------------------------------------------
     2595Footer Menu
     2596--------------------------------------------------------------*/
     2597#footer-menu {
     2598    list-style: none;
     2599    margin: 5px 0 3px;
     2600    padding:0;
     2601    text-align: center;
     2602}
     2603#footer-menu li {
     2604    display: inline;   
     2605}
     2606#footer-menu a {
     2607    font-size: 0.813rem;
     2608}
     2609#footer-menu a:hover {}
     2610
     2611#footer-menu li:after {
     2612    font-family: Arial, sans-serif;
     2613    content: '| ';
     2614    margin: 0 2px 0 5px;
     2615    font-size: 0.5rem;
     2616    display: inline-block;
     2617    vertical-align: middle;
     2618    color: #ccc;
     2619}
     2620#footer-menu li:last-child:after {
     2621    display: none;
     2622}
     2623
     2624
     2625/*--------------------------------------------------------
     2626Pagination
     2627--------------------------------------------------------*/
     2628.pagination {
     2629  margin: 0 auto;
     2630  width: 35%;
     2631  text-align: center;
     2632}
     2633.gallery-pagination {
     2634    margin: 0 auto;
     2635    width: 30%;
     2636     text-align: center;
     2637}
     2638
     2639/* blog home navigation */
     2640.post-nav-older,
     2641.post-nav-newer {
     2642font-size: 11px;
     2643    text-transform: uppercase;
     2644    letter-spacing: 2px;
     2645    font-weight: 600;
     2646    display: inline-block;
     2647    position: relative;
     2648}
     2649.post-nav-older {
     2650    float: right;
     2651    margin-left: 10px;
     2652}
     2653.post-nav-newer {
     2654    float: left;
     2655    margin-right: 10px;
     2656}
     2657.post-nav-older:after,
     2658.post-nav-newer:before {
     2659    font-family: FontAwesome;
     2660    font-size: 0.813rem;
     2661    content: "\f101";
     2662    margin-left: 5px;
     2663}
     2664.post-nav-newer:before {
     2665    content: "\f100";
     2666    margin: 0 5px 0 0;
     2667}
     2668
     2669/* single post navigation */
     2670.post-navigation {
     2671    display: table;
     2672    clear: both;
     2673    width: 100%;
     2674    margin: 32px 0 28px;
     2675}
     2676.post-navigation .nav-previous,
     2677.post-navigation .nav-next,
     2678.comment-navigation .nav-previous,
     2679.comment-navigation .nav-next {
     2680  width: 50%;
     2681}
     2682.post-navigation .nav-previous,
     2683.comment-navigation .nav-previous {
     2684  float: left;
     2685}
     2686.post-navigation .nav-next,
     2687.comment-navigation .nav-next {
     2688  float: right;
     2689  text-align: right;
     2690}
     2691.post-navigation .meta-nav {
     2692    display: block;
     2693    text-transform: uppercase;
     2694    letter-spacing: 2px;
     2695    font-size: 0.688rem;
     2696}
     2697.post-navigation .post-title {
     2698    font-size: 0.813rem;
     2699}
     2700.comment-navigation {
     2701  margin-bottom: 20px;
     2702}
     2703.comment-navigation a,
     2704.nav-link {
     2705  font-style: italic;
     2706}
     2707.page-links {
     2708  margin: 20px 0;
     2709  font-style: italic;
     2710}
     2711.single .page-links {
     2712  text-align: left;
     2713}
     2714
     2715/* attachment nav */
     2716.image-navigation .nav-previous, .image-navigation .nav-next {
     2717    display: inline-block;
     2718    font-size: 2rem;
     2719}
     2720 
     2721
     2722/*--------------------------------------------------------------
     2723Banner Captions
     2724--------------------------------------------------------------*/
     2725.banner-caption {
     2726    width: 40%;
     2727    /*z-index: 2;*/
     2728    position: absolute;
     2729    top: 50%;
     2730    left: 0;
     2731    right: 0;
     2732    margin: 0 auto;
     2733    padding: 10px 20px;
     2734    background-color: rgba(0,0,0,0.30);
     2735    text-align: center;
     2736    -webkit-transform: translateY(-50%);
     2737    -ms-transform: translateY(-50%);
     2738    transform: translateY(-50%);
     2739    font-family: Serif;
     2740    font-size: 1.5rem;
     2741    line-height: 1.4;
     2742    font-style: italic;
     2743    color: #fff;
     2744  letter-spacing: 1px;
     2745}
     2746.banner-caption-content-title {
     2747    margin-bottom: 0;
     2748}
     2749.banner-caption span {
     2750  display: block;
     2751  font-family: arial, helvetica, sans-serif;
     2752  font-style: normal;
     2753    font-size: 0.75rem;
     2754  text-transform: uppercase;
     2755  padding-top: 4px;
     2756 
     2757}
     2758
    12759/*
    2 Theme Name: Abdum
    3 Theme URI: http://abnoo.in/abdum-free-theme
    4 Author: abnoo
    5 Author URI: http://abnoo.in
    6 Description: its a very starter theme and very useful for startup. its a suitable for blog. its a bootstrap based theme and fully responsive theme. and support all type device like mobile, tablet and pc.
    7 Tested up to: 5.6
    8 Requires PHP: 5.6
    9 Version: 1.2
    10 License: GNU General Public License v2 or later
    11 License URI: LICENSE
    12 Tags: custom-menu,theme-options,threaded-comments,translation-ready,custom-background,custom-header,editor-style,featured-images,two-columns,blog,e-commerce,news
    13 Text Domain: abdum
     2760
    142761*/
    15 
    16 
    17 /* Header Title */
    18 .menu-background {
    19     background-color: #222;
    20 }
    21 
    22 .site-branding h1, .site-branding p {
     2762.nav-menu li.menu-item-has-children > a:after {
     2763    font-family: 'FontAwesome';
     2764    content: "\f107";
     2765    margin-left: 4px;
     2766    margin-top: 0;
     2767    position: relative;
     2768
     2769}
     2770
     2771.entry-title a{
     2772    text-transform: none;
     2773    font-size: 1.56rem;
     2774    letter-spacing: -0.5px;
     2775    line-height: 1.7rem;
     2776    font-weight: 800;
     2777}
     2778
     2779.entry-title a strong{
     2780  font-size: 1.75rem;
     2781}
     2782
     2783.separator {
     2784    color: #CCA683;
     2785}
     2786.post-read-count {
     2787  color: #fea633;
     2788}
     2789/** Load more blaze **/
     2790.blaze_loadmore, .blaze_loadmore_masonry{
     2791  background-color: #ddd;
     2792  border-radius: 2px;
     2793  display: block;
     2794  text-align: center;
     2795  font-size: 14px;
     2796  font-size: 0.875rem;
     2797  font-weight: 800;
     2798  letter-spacing:1px;
     2799  cursor:pointer;
     2800  text-transform: uppercase;
     2801  padding: 10px 0;
     2802  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
     2803  margin-top: 30px;
     2804  margin-bottom: 20px;
     2805}
     2806.blaze_loadmore:hover, .blaze_loadmore_masonry:hover{
     2807  background-color: #767676;
     2808  color: #fff;
     2809}
     2810
     2811#site-navigation .abdum_search_box {
     2812  display: none;
     2813}
     2814
     2815#site-navigation .abdum_search_box.show_search {
     2816    display: block;
     2817    position: absolute;
     2818    right: 25px;
     2819    margin-top: 10px;
     2820    border-top: 3px solid #fea633;
     2821}
     2822
     2823#site-navigation .abdum_search_box.show_search .button-search {
     2824  position: absolute;
     2825  right: 0;
     2826  top: 0;
     2827  width: 10px;
     2828  border: navajowhite;
     2829  height: auto;
     2830  padding-bottom: 9.5px;
     2831  margin: 0 auto;
     2832  text-align: center;
     2833}
     2834
     2835#site-navigation i:hover {
     2836  cursor: pointer;
     2837}
     2838
     2839#site-navigation .button-search {
     2840  background-color: transparent;
     2841}
     2842
     2843#site-navigation .button-search:hover{
     2844  background-color: transparent;
     2845  color: #fea633;
     2846}
     2847   
     2848#site-navigation i.fa-search {
     2849  display: none;
     2850}
     2851
     2852.main-navigation li li a:hover {
     2853  font-weight: 600;
     2854}
     2855
     2856/*-------------------------------------------------------------
     2857Widget
     2858---------------------------------------------------------------*/
     2859.widget_about_us .widget-learn-more {
     2860    background-color: #5a5a5a;
     2861    color: #fff!important;
     2862    line-height: 34px;
     2863    padding: 0 30px;
     2864    border-radius: 100px;
     2865    text-transform: uppercase;
    232866    font-weight: 700;
    24     font-size: 36px;
     2867    display: inline-block;
     2868    transition: .3s all ease-in-out;
     2869    font-size: 11px;
     2870    margin-top: 10px;
     2871}
     2872
     2873.bl-widget-title-wrap {
     2874    margin-bottom: 25px;
     2875    border-bottom: 2px solid #f0f0f0;
     2876    display: block;
     2877}
     2878
     2879
     2880.widget-area .search-form input {
     2881    border-radius: 0px;
     2882    height: 40px;
     2883    margin-bottom: 15px;
     2884}
     2885
     2886.widget-area .search-form button {
     2887    border-radius: 0px;
     2888    height: 40px;
     2889    margin-bottom: 6px;
     2890    background-color: #f5890d;
     2891}
     2892
     2893.widget_archive li, .widget_categories li, .widget_links li, .widget_meta li, .widget_nav_menu li, .widget_pages li, .widget_recent_comments li, .widget_recent_entries li {
     2894    border: none;
     2895}
     2896
     2897/* connect with us widget */
     2898.bz-widget-connected-style2.bz-widget-connected-columns-3 .bz-widget-connected-item {
     2899    width: 33.3%;
     2900}
     2901.bz-widget-connected-style2 .bz-widget-connected-item {
     2902    display: inline-block;
     2903    vertical-align: top;
     2904    margin-right: -4px;
     2905    width: 25%;
     2906    background-color: transparent;
     2907}
     2908
     2909.bz-widget-connected-style2 .bz-widget-connected-bubble {
     2910    width: 60px;
     2911    height: 60px;
     2912    margin: 0 auto;
     2913    border-radius: 100px;
     2914    text-align: center;
     2915    position: relative;
     2916    transition: .3s all ease-in-out;
     2917}
     2918
     2919.bz-widget-connected-style2 .bz-widget-connected-bubble i {
     2920    font-size: 24px;
     2921    line-height: 60px;
     2922    color: #fff;
     2923    position: relative;
     2924    z-index: 49;
     2925    text-shadow: 0px 3px 10px rgba(0,0,0,.2);
     2926}
     2927
     2928.bz-widget-connected-style2 .bz-widget-connected-bubble .bz-widget-connected-bubble-count {
     2929    font-size: 11px;
     2930    position: absolute;
     2931    top: -5px;
     2932    right: -8px;
     2933    border-radius: 100px;
     2934    padding: 1px 7px;
     2935    box-shadow: 0 6px 15px rgba(0,0,0,.2);
     2936    color: #fff;
     2937    z-index: 50;
     2938}
     2939.bz-widget-connected-facebook {
     2940    background-color: #448ae9;
     2941}
     2942.bz-widget-connected-twitter {
     2943    background-color: #1ca1f2;
     2944}
     2945.bz-widget-connected-instagram {
     2946    background-color: #e12c61;
     2947    background: linear-gradient(158deg,#863fa6 22%,#e12c61 50%,#f46f46 80%);
     2948}
     2949
     2950.bz-widget-connected-style2 .bz-widget-connected-title {
     2951    text-align: center;
     2952    color: #424242;
     2953    font-size: 11px;
     2954    text-transform: uppercase;
     2955    padding-top: 12px;
     2956    font-weight: 700;
     2957}
     2958
     2959.bz-widget-connected-facebook:not(.sh-widget-connected-bubble-count):hover {
     2960    background-color: #3076d5;
     2961}
     2962
     2963.bz-widget-connected-twitter:not(.sh-widget-connected-bubble-count):hover {
     2964    background-color: #1291de;
     2965}
     2966
     2967.bz-widget-connected-instagram:not(.sh-widget-connected-bubble-count):hover {
     2968    background-color: #e12c61;
     2969    background: linear-gradient(158deg,#9d48c3 22%,#983c57 50%,#b33c18 80%);
     2970}
     2971
     2972.widget.widget-posts {
     2973    position: relative;
     2974}
     2975
     2976.lSAction {
     2977    position: absolute;
     2978    bottom: 15px;
     2979}
     2980
     2981.lsPrev {
     2982    background-color: #cccccc;
     2983    left: 0px;
     2984    background-image: none;
     2985    background-color: #5a5a5a;
     2986}
     2987
     2988.lSNext {
     2989    background-color: #5a5a5a;
     2990    position: absolute;
     2991    left: 32px;
     2992    width: 32px;
     2993    background-image: none;
     2994    border-radius: 51px;
     2995}
     2996
     2997.lSAction>.lSPrev {
     2998    background-color: #5a5a5a;
     2999    left: 0px;
     3000    border-radius: 51px;
     3001}
     3002
     3003/** latest posts **/
     3004
     3005.widget-posts ul{
     3006    list-style: none;
     3007    margin-left: 0;
     3008    margin-bottom: 0;
     3009}
     3010
     3011.cf:after, .cf:before {
     3012    content: "";
     3013    display: table;
     3014}
     3015
     3016.widget-posts .post {
     3017    margin-bottom: 25px;
     3018}
     3019
     3020.widget-posts .image-link img {
     3021    margin-right: 22px;
     3022}
     3023
     3024.widget-posts .image-link img {
     3025    float: left;
     3026    width: auto;
    253027    margin: 0;
    26     padding: 10px 20px;
    27 }
    28 .site-branding h1 a {
    29     color: #ffffff;
    30 }
    31 /* Blog Page */
    32 .abdum-page-title-area {
     3028    margin-right: 24px;
     3029}
     3030
     3031.wp-post-image, .post-content img {
     3032    will-change: opacity;
     3033    -webkit-transition: opacity 0.3s ease-in;
     3034    transition: opacity 0.3s ease-in;
     3035}
     3036
     3037.widget-posts .content {
     3038    overflow: hidden;
     3039}
     3040
     3041.widget-posts .post-title.limit-line {
     3042    text-overflow: ellipsis;
     3043    padding-right: 10px;
     3044}
     3045
     3046.widget-posts .post-title {
     3047    margin-top: -4px;
     3048    font-size: 16px;
     3049    font-weight: 600;
     3050    line-height: 1.45;
     3051    -webkit-font-smoothing: antialiased;
     3052}
     3053
     3054.widget-posts .content > :last-child {
     3055    margin-bottom: 0;
     3056}
     3057
     3058.widget-posts .post-title + .post-meta {
     3059    margin-top: 11px;
     3060    margin-bottom: 11px;
     3061}
     3062
     3063.widget-posts .post-meta .post-cat {
     3064    margin-right: 3px;
     3065}
     3066
     3067.post-meta .date-link {
     3068    color: inherit;
     3069}
     3070
     3071.cf:after {
     3072    clear: both;
     3073}
     3074
     3075.widget-posts .post-date {
     3076    display: inline-block;
     3077}
     3078
     3079.widget-posts .category .number{
     3080    color: #fea633;
     3081}
     3082
     3083.widget-posts .date-link {
     3084    color: #fea633;
     3085}
     3086.posts.cf.meta-below {
     3087    padding-left: 0px;;
     3088}
     3089
     3090.widget-posts .meta-below .image-link img.wp-post-image {
     3091    border-radius: 0px;
     3092    width: 85px;
     3093    height: 65px;
     3094
     3095}
     3096
     3097.abdum_latest_posts .widget-posts a {
     3098    color: #393939;
     3099}
     3100.abdum_latest_posts .widget-posts .content a:hover {
     3101    color: #fea633;
     3102}
     3103
     3104/** masonry fixes **/
     3105.attachment-masonry-thumbnail {
     3106    /* padding-top: 12px; */
     3107}
     3108
     3109/* image-caption*/
     3110#sidebar-left .widget-image-caption-box,
     3111#secondary .widget-image-caption-box {
     3112    max-width:340px;
     3113    margin:auto;
     3114}
     3115.widget-image-caption-box {
    333116    position: relative;
    34     background-color: #333333;
    35     background-size: cover;
    36     background-repeat: no-repeat;
    37     padding: 100px 0;
    38     background-position: center center;
    39     z-index: 1;
    40     margin-top: 0px;
     3117}
     3118.widget-image-caption {
     3119    width: 90%;
     3120    z-index: 2;
     3121    position: absolute;
     3122    top: 50%;
     3123    left: 0;
     3124    right: 0;
     3125    margin: 0 auto;
     3126    padding: 10px;
     3127    background-color: rgba(0,0,0,0.40);
     3128    text-align: center;
     3129    -webkit-transform: translateY(-50%);
     3130    -ms-transform: translateY(-50%);
     3131    transform: translateY(-50%);
     3132   color: #fff;
     3133}
     3134.widget-image-content-title {
     3135    margin-bottom: 0;
     3136}
     3137.widget-image-caption span {
     3138    display: block;
     3139    margin: 6px 0 0;
     3140    font-family: arial, helvetica, sans-serif;
     3141    font-style: normal;
     3142    font-size: 0.75rem;
     3143    text-transform: uppercase;
     3144   
     3145}
     3146.widget-image-caption .title {
     3147font-family: Serif;
     3148    font-size: 1.75rem;
     3149    line-height: 1.2;
     3150    font-style: italic;
    413151    color: #fff;
    42 }
    43 .abdum-content-area-padding {
    44     padding: 80px 0px;
    45 }
    46 .abdum-blog-list {
    47     display: block;
    48 }
    49 
    50 .abdum-blog-list article, .widget-area .widget {
    51     border: 1px solid #f1f1f1;
    52     padding: 30px;
    53     margin-bottom: 35px;
    54     box-shadow: 0 0px 5px #f1f1f1;
    55     transition: 0.4s;
    56 }
    57 
    58 .abdum-blog-list article:hover {
    59     box-shadow: 0 15px 50px #ddd;
    60 }
    61 
    62 .abdum-blog-list a, .widget-area .widget a {
    63     color: #333;
    64     overflow-wrap: break-word;
    65 }
    66 
    67 .abdum-blog-list a.wp-block-button__link {
    68     color: inherit;
    69 }
    70 
    71 .abdum-blog-list h2, .widget-area .widget h2 {
    72     font-size: 30px;
    73     font-weight: 600;
    74     margin-bottom: 15px;
    75 }
    76 
    77 .entry-meta > span, .entry-footer > span {
    78     font-size: 80%;
    79     padding-right: 15px;
    80 }
    81 
    82 .entry-meta > span i {
    83     color: #555;
    84 }
    85 
    86 .entry-meta > span > a, .entry-footer > span > a {
    87     font-weight: 600;
    88 }
    89 
    90 .entry-meta {
    91     margin-bottom: 15px;
    92 }
    93 
    94 .entry-footer {
    95     margin-top: 20px;
    96 }
    97 
    98 .abdum-featured-content {
    99     margin-bottom: 20px;
    100 }
    101 
    102 /* Widget */
    103 .widget-area .widget ul {
    104     padding-left: 0;
    105     margin: 0;
    106     list-style: none;
    107     line-height: 30px;
    108 }
    109 
    110 .widget ul.nav li a.nav-link {
    111     display: inline-block;
    112 }
    113 
    114 .widget-area .widget ul ul {
    115     padding-left: 10px;
    116 }
    117 
    118 /* Widget calender Table */
    119 .calendar_wrap table th {
    120     background-color: #f1f1f1;
    121 }
    122 
    123 .calendar_wrap table {
    124     width: 100%;
    125     border-left: 1px solid #ddd;
    126     border-bottom: 1px solid #ddd;
    127 }
    128 
    129 .calendar_wrap table th, .calendar_wrap table td {
    130     border-right: 1px solid #ddd;
    131     border-top: 1px solid #ddd;
    132     padding: 10px;
    133 }
    134 /* Widget RSS */
    135 .widget_rss li {
    136     margin-bottom: 20px;
    137 }
    138 
    139 .widget_rss, .widget_rss span {
    140     font-size: 90%;
    141     padding-left: 15px;
    142 }
    143 
    144 .widget-area .widget.widget_rss a {
    145     font-weight: 600;
    146 }
    147 /* Widget Search */
    148 input[type=search] {
    149     background: none;
    150     border: 1px solid #f1f1f1;
    151     padding: 10px;
    152     color: #333;
    153     font-weight: 500;
    154     font-size: 12px;
    155 }
    156 input[type=submit] {
    157     padding: 2px 20px;
    158     background-color: #46BE25;
    159     border: 1px solid #46BE25;
    160     margin: -2px 0 0 0;
    161     color: #fff;
    162     font-size: 13px;
    163     font-weight: 600;
    164     line-height: 27px;
    165     cursor: pointer;
    166 }
    167 article.sticky {
    168     background-color: #f4f7f8;
    169 }
    170 .sticky .entry-title::before {
    171     content: '\f08d';
    172     font-family: "Font Awesome\ 5 Free";
     3152    letter-spacing: 1px;
     3153    }
     3154.widget-image-caption .caption {
     3155    font-family: arial,helvetica,sans-serif;
     3156    font-size: 0.813rem;
     3157    color: #f3f3f3;
     3158}
     3159
     3160.btn.border {
     3161    margin: 16px auto;
     3162    border:1px solid #f3f3f3;
     3163    background-color: transparent;
     3164    font-family: Arial, Helvetica, Sans-serif;
     3165    font-style: normal;
     3166}
     3167.btn.border:hover {
     3168    background-color: transparent;
     3169}
     3170.widget-image-caption-box img {
     3171    margin: auto;
     3172}
     3173
     3174.widget-image-caption a:hover{
     3175    color: #cdc2c2;
     3176}
     3177
     3178
     3179#posts {
     3180    margin: 0 auto;
     3181}
     3182
     3183/** Subscription form footer **/
     3184.es_shortcode_form input {
     3185    border-radius: 55px;
     3186    height: 40px;
     3187    margin-bottom: 5px;
     3188}
     3189
     3190.es_shortcode_form input.es_subscription_form_submit{
     3191    background-color: #5a5a5a;
     3192    color: #fff;
     3193}
     3194
     3195.main-navigation ul.nav-menu {
     3196    padding-right: 5%;
     3197  }
     3198
     3199#sidebar-bottom .col-sm-6 {
     3200    padding: 10px 10px;
     3201}
     3202
     3203.masonry-brick article{
     3204    margin-top: 6px;
     3205}
     3206
     3207.single-format-gallery .featured-image-wrapper {
     3208    background-color: transparent;
     3209        border-radius: 20px;
     3210}
     3211
     3212#landing-gallery article.format-gallery {
     3213    margin-bottom: 25px;
     3214}
     3215
     3216
     3217/*--------------------------------------------------------------
     321816.0 Media Queries
     3219--------------------------------------------------------------*/
     3220
     3221/* Small devices (landscape phones, 320px and up)*/
     3222@media (min-width: 20em) { 
     3223
     3224    #site-branding {
     3225        padding: 10px 15px;
     3226    }   
     3227    .site-title {
     3228        font-size: 1.563rem;
     3229    }
     3230    .site-description {
     3231        display:none;
     3232    }       
     3233    .site-title:after {
     3234        width: 15%;
     3235    }
     3236    .menu-toggle {
     3237        margin: 4px auto 0;
     3238        padding: 1px 12px;
     3239    }
     3240
     3241    .main-navigation ul.nav-menu {
     3242        padding-right: 5%;
     3243      }
     3244
     3245
     3246}
     3247
     3248/* Small devices (landscape phones, 480px and up)*/
     3249@media (min-width: 30em) {
     3250   
     3251    .site-description {
     3252        display: inline;
     3253        font-size: 0.6rem;
     3254    }   
     3255    #error-overlay {
     3256        padding: 15px;
     3257    }
     3258    #error-title {
     3259    font-size: 2rem;
     3260    line-height: 1rem;
     3261    margin-bottom: 0;
     3262    }
     3263    #error-title:after {
     3264        width: 8%;
     3265    }
     3266    #error-message {
     3267        font-size: 1rem;
     3268    }
     3269    #error-button {
     3270     margin: 10px auto 0;
     3271    }   
     3272    #error-button a, #error-button a:visited {
     3273        padding: 2px 16px;
     3274    }
     3275    .main-navigation ul.nav-menu {
     3276        padding-right: 5%;
     3277      }
     3278
     3279   
     3280 }
     3281
     3282/* Small devices (landscape phones, 544px and up)*/
     3283@media (min-width: 34em) { 
     3284  #site-branding-wrapper {
     3285    display: block;
     3286    text-align: center;
     3287  }
     3288
     3289    #site-branding {
     3290        padding: 10px 8px;
     3291    }
     3292    #header-wrapper {
     3293        padding-top: 0px;
     3294    }
     3295    .site-title:after {
     3296        width: 20%;
     3297    }
     3298    .display-4 {
     3299        font-size: 2.75rem;
     3300    }
     3301    .display-3 {
     3302        font-size: 2rem;
     3303    }
     3304    .display-2 {
     3305        font-size: 1.75rem;
     3306    }
     3307    .display-1 {
     3308        font-size: 1.5rem;
     3309    }   
     3310  .site-title {
    1733311    font-size: 1.563rem;
    174     left: 0.4rem;
     3312  }
     3313
     3314  .menu-header-menu-container {
     3315    margin-right: 0.5rem;
     3316  }
     3317  .site-header {
     3318    left: 4.4em;
     3319  }
     3320
     3321  .main-navigation ul.nav-menu {
     3322    padding-right: 5%;
     3323  }
     3324
     3325}
     3326
     3327/* Medium devices (tablets, 768px and up)*/
     3328@media (min-width: 48em) {
     3329    #site-branding {
     3330        padding: 10px 8px;
     3331    }
     3332  .menu-header-menu-container {
     3333    margin-right: 0.1rem;
     3334  }
     3335
     3336    #banner-overlay,
     3337    #header-banner {
     3338        height: 100px;
     3339    }   
     3340    .site-title {
     3341        font-size: 1.750rem;
     3342    }   
     3343    .site-title:after {
     3344        width: 30%;
     3345    }       
     3346    .site-description {
     3347        font-size: 0.688rem;
     3348    }
     3349    .menu-toggle {
     3350        margin: 8px auto 0;
     3351    }   
     3352
     3353    .grid-style li:nth-of-type(2n+1) {
     3354        /* lets make sure every 3rd item is clearing the first two and wraps to another line */
     3355        clear:both;
     3356    }   
     3357    .grid-style .entry-title {
     3358        font-size: 1.250rem;
     3359    }
     3360    h1 {
     3361      font-size: 2rem;
     3362    }
     3363    h2 {
     3364      font-size: 1.75rem;
     3365    }
     3366    h3 {
     3367      font-size: 1.5rem;
     3368    }
     3369    h4 {
     3370      font-size: 1.25rem;
     3371    }
     3372    h5 {
     3373      font-size: 1rem;
     3374    }
     3375    h6 {
     3376      font-size: 0.875rem;
     3377    }   
     3378    .display-4 {
     3379        font-size: 3rem;
     3380    }
     3381    .display-3 {
     3382        font-size: 2.25rem;
     3383    }
     3384    .display-2 {
     3385        font-size: 2rem;
     3386    }
     3387    .display-1 {
     3388        font-size: 1.75rem;
     3389    }   
     3390    #error-overlay {
     3391        padding: 30px;
     3392    }
     3393    #error-title {
     3394    font-size: 3rem;
     3395    line-height: 2rem;
     3396    margin-bottom: 0;
     3397    }
     3398    #error-title:after {
     3399        width: 6%;
     3400    }
     3401    #error-message {
     3402        font-size: 1.125rem;
     3403    }   
     3404    #landing-content {
     3405        max-width: 70%;
     3406    }       
     3407    .main-navigation ul.nav-menu {
     3408        padding-right: 5%;
     3409      }
     3410}
     3411
     3412/* Large devices (desktops, 992px and up)*/
     3413@media (min-width: 62em) {
     3414    #site-navigation i.fa-search {
     3415    display: block;
     3416  }
     3417
     3418    .site-title {
     3419        font-size: 1.7rem;
     3420    }
     3421    .site-title:after {
     3422        width: 40%;
     3423    }
     3424    .site-description {
     3425        font-size: 0.65rem;
     3426    }   
     3427    .masonry-style.page-header,
     3428    .grid-style.page-header {
     3429        width: 60%;
     3430    }
     3431    #landing-content {
     3432        max-width: 60%;
     3433    }
     3434    /* Blog Left Featured */
     3435    .left-featured header,
     3436    .left-featured .entry-content {
     3437        margin-left: 480px;
     3438    }
     3439    .left-featured .wp-post-image, .left-featured .video video {
     3440        max-width: 420px;
     3441        float: left;
     3442        margin-right: 60px;
     3443    border-radius: 10px;
     3444    }
     3445
     3446    .left-featured .format-gallery, .right-featured .format-gallery, .left-featured .format-video, .right-featured .format-video {
     3447        margin-bottom: 35px;
     3448    }
     3449    .left-featured .format-gallery header.entry-header {
     3450        max-width: 420px;
     3451        float: left;
     3452        margin-right: 60px;
     3453        border-radius: 10px;
     3454        margin-left: 0;
     3455    }
     3456
     3457    .right-featured .format-gallery header.entry-header {
     3458        max-width: 420px;
     3459        float: right;
     3460        margin-left: 60px;
     3461        border-radius: 10px;
     3462        margin-right: 0;
     3463    }
     3464   
     3465    /* Blog right Featured */
     3466    .right-featured header,
     3467    .right-featured .entry-content {
     3468        margin-right: 480px;
     3469    }
     3470    .right-featured .wp-post-image, .right-featured .video video {
     3471        max-width: 420px;
     3472        float: right;
     3473        margin-left: 60px;
     3474    border-radius: 10px;
     3475    }   
     3476    /* Blog Top Centered Featured image */
     3477    .top-centered-featured header,
     3478    .top-centered-featured .entry-content {
     3479        max-width: 80%;
     3480    }
     3481    .top-centered-featured .entry-title {
     3482        font-size:1.625rem;
     3483    }
     3484    /* we need to cancel out other instances of nth */
     3485    .grid-style li:nth-of-type(2n+1),
     3486    .grid-style li:nth-of-type(4n+1) {
     3487        clear:none;
     3488    }
     3489    /* lets make sure every 4th item is clearing the first two and wraps to another line */
     3490    .grid-style li:nth-of-type(3n+1) {     
     3491        clear:both;
     3492    }   
     3493    #error-overlay {
     3494        padding: 60px;
     3495    }
     3496    #error-title {
     3497    font-size: 6rem;
     3498    line-height: 5rem;
     3499    margin-bottom: 0;
     3500    }
     3501    #error-title:after {
     3502        width: 6%;
     3503    }
     3504    #error-message {
     3505        font-size: 1.375rem;
     3506    }   
     3507    #error-button {
     3508     margin: 10px auto 0;
     3509    }   
     3510    #error-button a, #error-button a:visited {
     3511        padding: 3px 16px;
     3512    }   
     3513    .display-4 {
     3514        font-size: 3.5rem;
     3515    }
     3516    .display-3 {
     3517        font-size: 2.75rem;
     3518    }
     3519    .display-2 {
     3520        font-size: 2.25rem;
     3521    }
     3522    .display-1 {
     3523        font-size: 2rem;
     3524    }   
     3525    .main-navigation ul.nav-menu {
     3526        padding-right: 10%;
     3527    }
     3528}
     3529
     3530/* Extra large devices (large desktops, 1200px and up) */
     3531@media (min-width: 75em) {
     3532    #landing-content {
     3533        max-width: 40%;
     3534    }               
     3535    .site-description {
     3536        font-size: 0.813rem;
     3537    }
     3538    #banner-overlay,
     3539    #header-banner {
     3540        height: 105px;
     3541    }
     3542    /* we need to cancel out other instances of nth */
     3543    .grid-style li:nth-of-type(2n+1) ,
     3544    .grid-style li:nth-of-type(3n+1) {
     3545        clear:none;
     3546    }
     3547    /* lets make sure every 5th item is clearing the first two and wraps to another line */
     3548    .grid-style li:nth-of-type(4n+1) {
     3549        clear:both;
     3550    }       
     3551    .display-4 {
     3552        font-size: 4rem;
     3553    }
     3554    .display-3 {
     3555        font-size: 3.25rem;
     3556    }
     3557    .display-2 {
     3558        font-size: 2.75rem;
     3559    }
     3560    .display-1 {
     3561        font-size: 2.125rem;
     3562    }   
     3563    #error-overlay {
     3564        padding: 50px;
     3565    }
     3566    #error-title {
     3567    font-size: 5rem;
     3568    line-height: 3rem;
     3569    margin-bottom: 0;
     3570    }   
     3571    #error-button {
     3572     margin: 10px auto 0;
     3573    }   
     3574    #error-button a, #error-button a:visited {
     3575        padding: 3px 18px;
     3576    }
     3577
     3578    .main-navigation ul.nav-menu {
     3579        padding-right: 10%;
     3580    }
     3581
     3582}
     3583
     3584/* Extra large devices (large desktops, 1408px and up) */
     3585@media (min-width: 88em) {
     3586    #banner-overlay,
     3587    #header-banner {
     3588        height: 110px;
     3589    }
     3590}
     3591
     3592@media (max-width: 545px) {
     3593  button.menu-toggle {
    1753594    position: absolute;
    176     top: 2.3rem;
    177     font-weight: 900;
    178 }
    179 h2.entry-title {
    180     padding-bottom: 5px;
    181     border-bottom: 1px solid #eaecef;
    182 }
    183 .blog-entry-meta {
    184     margin-top: 30px;
    185     font-size: 80%;
    186 }
    187 
    188 .blog-entry-meta span {
    189     padding-right: 20px;
    190 }
    191 
    192 .blog-entry-meta span i {
    193     color: #eee;
    194 }
    195 
    196 .wp-block-embed {
    197     overflow-x: auto;
    198 }
    199 
    200 /* Blog single calender Table */
    201 .entry-title {
    202     overflow-wrap: break-word;
    203 }
    204 .entry-content table th {
    205     background-color: #f1f1f1;
    206 }
    207 
    208 .entry-content table {
    209     width: 100%;
    210     border-left: 1px solid #ddd;
    211     border-bottom: 1px solid #ddd;
    212 }
    213 
    214 .entry-content table th, .entry-content table td {
    215     border-right: 1px solid #ddd;
    216     border-top: 1px solid #ddd;
    217     padding: 10px;
    218 }
    219 
    220 /* Blog single normal table */
    221 .entry-content table {
    222     border-left: 1px solid #ddd;
    223     border-bottom: 1px solid #ddd;
    224     width: 100%;
    225     margin-bottom: 20px;
    226 }
    227 .entry-content table th, .entry-content table td {
    228     padding: 10px;
    229     border-right: 1px solid #ddd;
    230     border-top: 1px solid #ddd;
    231 }
    232 .entry-content table thead th {
    233     background-color: #ddd;
    234 }
    235 /* Definition and UL OL list */
    236 .entry-content dd {
    237     margin-bottom: 20px;
    238 }
    239 .ulol ul, .ulol ol {
    240     padding-left: 15px;
    241 }
    242 /* Comment Area normal table */
    243 ul.children {
    244     list-style: none;
    245 }
    246 
    247 .comments-area {
    248     padding: 40px 0;
    249 }
    250 
    251 .comment-body {
    252     padding: 5px 0;
    253 }
    254 
    255 h2.comments-title {
    256     background-color: #46be25;
    257     padding: 10px;
    258     color: #fff;
    259 }
    260 
    261 .comments-area p.no-comments {
    262     padding: 10px;
    263     font-weight: 700;
    264     background-color: #e21b48;
    265     color: #fff;
    266     display: block;
    267 }
    268 
    269 .comments-area table {
    270     border-left: 1px solid #ddd;
    271     border-bottom: 1px solid #ddd;
    272     width: 100%;
    273     margin-bottom: 20px;
    274 }
    275 .comments-area table th, .comments-area table td {
    276     padding: 10px;
    277     border-right: 1px solid #ddd;
    278     border-top: 1px solid #ddd;
    279 }
    280 .comments-area table thead th {
    281     background-color: #ddd;
    282 }
    283 /* Definition and UL OL list */
    284 .comments-area dd {
    285     margin-bottom: 20px;
    286 }
    287 .comments-area ul.comment-list, .comments-area ol.comment-list {
    288     padding-left: 15px;
    289     list-style: none;
    290 }
    291 /* address tag */
    292 address {
    293     font-style: italic;
    294 }
    295 /* Single Blog nav */
    296 .nav-links {
    297     overflow-wrap: break-word;
    298     word-break: break-all;
    299     margin-top: 50px;
    300 }
    301 .nav-links a{
    302     display: inline-block;
    303     background-color: #333;
    304     color: #fff;
    305     padding: 5px 10px;
    306 }
    307 .nav-previous, .nav-next{
    308     max-width: 50%;
    309 }
    310 .nav-previous {
    311     float: left;
    312 }
    313 .nav-next {
    314     text-align: right;
    315 }
    316 .nav-link {
    317     padding: .3rem 1rem;
    318 }
    319 /* Page Links pagination */
    320 .page-links a {
    321     display: inline-block;
    322     border: 1px solid #ddd;
    323     padding: 0 10px;
    324 }
    325 /* Comment form */
    326 .comment-form input, .comment-form textarea {
    327     max-width: 100%;
    328     background-color: #f1f1f1;
    329     border: 1px solid #ddd;
    330 }
    331 
    332 .comment-form input[type=submit] {
    333     width: auto;
    334     background-color: #333;
    335     border-radius: 5px;
    336 }
     3595    right: 0;
     3596    top: -55px;
     3597  }
     3598}
     3599
     3600
     3601
     3602
     3603
     3604
     3605#primary #main  article {
     3606    background-color: #fff;
     3607    padding: 50px;
     3608}
     3609#respond {
     3610    background-color: #fff;
     3611    padding: 50px;
     3612    margin: 35px 0px;
     3613}
     3614.site-info a {
     3615    color:#fff;
     3616}
     3617.site-info a:hover {
     3618    color:#fea633;
     3619}
     3620
     3621
     3622
     3623
     3624
     3625
     3626
     3627 
  • abdum/1.3/template-parts/content-none.php

    r141360 r143874  
    55 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    2222                '<p>' . wp_kses(
    2323                    /* translators: 1: link to WP admin new post page. */
    24                     __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'abdum' ),
     24                    __( 'Publish your first post? <a href="%1$s">Get started here</a>.', 'abdum' ),
    2525                    array(
    2626                        'a' => array(
     
    3535            ?>
    3636
    37             <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'abdum' ); ?></p>
     37            <p><?php esc_html_e( 'Sorry, but nothing matched your search keywords. Please try again with some other keywords.', 'abdum' ); ?></p>
    3838            <?php
    3939            get_search_form();
     
    4242            ?>
    4343
    44             <p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'abdum' ); ?></p>
     44            <p><?php esc_html_e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. May be searching can help.', 'abdum' ); ?></p>
    4545            <?php
    4646            get_search_form();
  • abdum/1.3/template-parts/content-page.php

    r141360 r143874  
    55 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    1212<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1313
    14     <?php abdum_post_thumbnail(); ?>
     14    <?php the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title(), 'itemprop' => "image")); ?>
    1515
    16     <div class="entry-content">
     16    <header class="page-header">
     17        <?php the_title( '<h1 class="page-title" itemprop="headline">', '</h1>' ); ?>
     18    </header><!-- .entry-header -->
     19
     20    <div class="entry-content" itemprop="text">
     21        <?php the_content(); ?>
    1722        <?php
    18         the_content();
    19 
    20         wp_link_pages( array(
    21             'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'abdum' ),
    22             'after'  => '</div>',
    23         ) );
     23            wp_link_pages( array(
     24                'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'abdum' ),
     25                'after'  => '</div>',
     26            ) );
    2427        ?>
    2528    </div><!-- .entry-content -->
    2629
    27     <?php if ( get_edit_post_link() ) : ?>
    28         <footer class="entry-footer">
    29             <?php
    30             edit_post_link(
    31                 sprintf(
    32                     wp_kses(
    33                         /* translators: %s: Name of current post. Only visible to screen readers */
    34                         __( 'Edit <span class="screen-reader-text">%s</span>', 'abdum' ),
    35                         array(
    36                             'span' => array(
    37                                 'class' => array(),
    38                             ),
    39                         )
    40                     ),
    41                     get_the_title()
     30    <footer class="entry-footer">
     31        <?php
     32        edit_post_link(
     33            sprintf(
     34                wp_kses(
     35                    /* translators: %s: Name of current post. Only visible to screen readers */
     36                    __( 'Edit <span class="screen-reader-text">%s</span>', 'abdum' ),
     37                    array(
     38                        'span' => array(
     39                            'class' => array(),
     40                        ),
     41                    )
    4242                ),
    43                 '<span class="edit-link">',
    44                 '</span>'
    45             );
    46             ?>
    47         </footer><!-- .entry-footer -->
    48     <?php endif; ?>
     43                wp_kses_post( get_the_title() )
     44            ),
     45            '<span class="edit-link">',
     46            '</span>'
     47        );
     48        ?>
     49    </footer><!-- .entry-footer -->
    4950</article><!-- #post-<?php the_ID(); ?> -->
  • abdum/1.3/template-parts/content-search.php

    r141360 r143874  
    55 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
     
    1818            <?php
    1919            abdum_posted_on();
    20             abdum_posted_by();
    2120            ?>
    2221        </div><!-- .entry-meta -->
    2322        <?php endif; ?>
    2423    </header><!-- .entry-header -->
    25 
    26     <?php abdum_post_thumbnail(); ?>
    2724
    2825    <div class="entry-summary">
  • abdum/1.3/template-parts/content.php

    r141360 r143874  
    55 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    66 *
    7  * @package abdum
     7 * @package Abdum
    88 */
    99
    10 ?>
    1110
    12 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    13     <?php if(has_post_thumbnail() && !is_single()) : ?>
    14         <a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark">
    15             <div class="abdum-featured-content">
    16                 <?php the_post_thumbnail( 'abdum-blog' ); ?>
    17             </div>
    18         </a>
    19     <?php endif; ?>
    20     <?php if(!is_single()) : ?>
    21     <header class="entry-header">
    22         <?php
    23         if ( is_singular() ) :
    24             the_title( '<h1 class="entry-title">', '</h1>' );
     11
     12
     13
     14 ?>
     15
     16
     17<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>>
     18    <?php
     19        if ( has_post_thumbnail() ) {       
     20            echo '<a class="featured-image-link" href="' . esc_url( get_permalink() ) . '" aria-hidden="true">';
     21   
     22        if  ($abdum_style == 'masonry-style' ) :       
     23            the_post_thumbnail( 'abdum_masonry_thumbnail', array( 'alt' => get_the_title(), 'itemprop' => "image"));         
    2524        else :
    26             the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
     25            the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title(), 'itemprop' => "image"));
    2726        endif;
     27            echo '</a>';
     28        }
     29    ?>
    2830
    29         if ( 'post' === get_post_type() ) :
    30             ?>
    31             <div class="entry-meta">
    32                 <?php
     31    <header class="entry-header"> 
     32        <?php
     33                the_title( sprintf( '<h2 class="entry-title" itemprop="headline"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
     34        ?>
     35        <div class="entry-meta">
     36            <?php
    3337                abdum_posted_on();
    3438                abdum_posted_by();
    35                 abdum_posted_comment();
    36                 ?>
    37             </div><!-- .entry-meta -->
    38         <?php endif; ?>
     39            ?>
     40        </div><!-- .entry-meta -->
     41       
    3942    </header><!-- .entry-header -->
    40 <?php endif; ?>
    4143
    42 <?php if(is_single()) : ?>
     44    <div class="entry-content">
     45        <p>
     46            <?php the_excerpt(); ?>
     47        </p>
     48        <p class="more-link-wrapper">
     49            <a class="more-link" href="<?php the_permalink(); ?>">
     50                <?php echo esc_html('Read More', 'abdum'); ?>
     51            </a>
     52        </p>
     53    </div><!-- .entry-content -->
     54</article><!-- #post-<?php the_ID(); ?> -->
    4355
    44     <?php abdum_post_thumbnail(); ?>
    4556
    46 <?php endif; ?>
    47 
    48     <div class="entry-content ulol">
    49         <?php
    50         the_content( sprintf(
    51             wp_kses(
    52                 /* translators: %s: Name of current post. Only visible to screen readers */
    53                 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'abdum' ),
    54                 array(
    55                     'span' => array(
    56                         'class' => array(),
    57                     ),
    58                 )
    59             ),
    60             get_the_title()
    61         ) );
    62 
    63         wp_link_pages( array(
    64             'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'abdum' ),
    65             'after'  => '</div>',
    66         ) );
    67         ?>
    68     </div><!-- .entry-content -->
    69 
    70     <div class="clearfix"></div>
    71     <footer class="entry-footer">
    72         <?php abdum_entry_footer(); ?>
    73     </footer><!-- .entry-footer -->
    74 </article><!-- #post-<?php the_ID(); ?> -->
Note: See TracChangeset for help on using the changeset viewer.