WordPress.org

Make WordPress Themes


Ignore:
Location:
blogostrap/1.2.7
Files:
3 added
19 edited

Legend:

Unmodified
Added
Removed
  • blogostrap/1.2.7/archive.php

    r86901 r86901  
    33          <!-- ARCHIVE and HOME --> 
    44          <div class="row homeArchiveContainer"> 
    5             <?php $blogostrap_heade_image = get_theme_mod('header_image', ''); ?> 
    6             <?php if(isset($blogostrap_heade_image) && $blogostrap_heade_image != '' && $blogostrap_heade_image != 'remove-header') {  echo '<div class="homeArchiveHeder"><img src="'.esc_url($blogostrap_heade_image).'" alt=""></div>'; } ?> 
     5            <div class="homeArchiveHeder blogostrap-add-header"></div> 
    76            <div class="col-md-12 homeArchiveSpaceTop"> 
    87              <div class="col-md-8 col-sm-8 col-xs-12 homeArchiveContainerPost"> 
  • blogostrap/1.2.7/author.php

    r86901 r86901  
    33          <!-- ARCHIVE and HOME --> 
    44          <div class="row homeArchiveContainer"> 
    5             <?php $blogostrap_heade_image = get_theme_mod('header_image', ''); ?> 
    6             <?php if(isset($blogostrap_heade_image) && $blogostrap_heade_image != '' && $blogostrap_heade_image != 'remove-header') {  echo '<div class="homeArchiveHeder"><img src="'.esc_url($blogostrap_heade_image).'" alt=""></div>'; } ?> 
     5            <div class="homeArchiveHeder blogostrap-add-header"></div> 
    76            <div class="col-md-12 homeArchiveSpaceTop"> 
    87              <div class="col-md-8 col-sm-8 col-xs-12 homeArchiveContainerPost"> 
  • blogostrap/1.2.7/category.php

    r86901 r86901  
    33          <!-- ARCHIVE and HOME --> 
    44          <div class="row homeArchiveContainer"> 
    5             <?php $blogostrap_heade_image = get_theme_mod('header_image', ''); ?> 
    6             <?php if(isset($blogostrap_heade_image) && $blogostrap_heade_image != '' && $blogostrap_heade_image != 'remove-header') {  echo '<div class="homeArchiveHeder"><img src="'.esc_url($blogostrap_heade_image).'" alt=""></div>'; } ?> 
     5            <div class="homeArchiveHeder blogostrap-add-header"></div> 
    76            <div class="col-md-12 homeArchiveSpaceTop"> 
    87              <div class="col-md-8 col-sm-8 col-xs-12 homeArchiveContainerPost"> 
  • blogostrap/1.2.7/functions.php

    r86901 r86901  
    234234 
    235235} 
     236 
     237#################################################################### 
     238function blogostrap_styles_method() { 
     239    wp_enqueue_style( 
     240        'blogostrap-additional-style', 
     241        get_template_directory_uri() . '/assets/css/blogostrap-additional-style.css' 
     242    ); 
     243        $blogostrap_heade_image = get_theme_mod('header_image', ''); 
     244        if(isset($blogostrap_heade_image) && $blogostrap_heade_image != '' && $blogostrap_heade_image != 'remove-header'){ 
     245                $blogostrap_custom_css = " 
     246                        .blogostrap-add-header{ 
     247                                background-image:url('".esc_url($blogostrap_heade_image)."'); 
     248                                background-size: cover; 
     249                                background-position: center center; 
     250                        }"; 
     251        } 
     252        else{ 
     253                $blogostrap_custom_css = " 
     254                        .blogostrap-add-header{ 
     255                                background-image:url('".get_template_directory_uri()."/assets/img/blogostrap-seascape.jpg'); 
     256                                background-size: cover; 
     257                                background-position: center center; 
     258                        } 
     259                ";                
     260        }         
     261        wp_add_inline_style( 'blogostrap-additional-style', $blogostrap_custom_css ); 
     262} 
     263add_action( 'wp_enqueue_scripts', 'blogostrap_styles_method' ); 
    236264?> 
  • blogostrap/1.2.7/index.php

    r86901 r86901  
    33          <!-- ARCHIVE and HOME --> 
    44          <div class="row homeArchiveContainer"> 
    5             <?php $blogostrap_heade_image = get_theme_mod('header_image', ''); ?> 
    6             <?php if(isset($blogostrap_heade_image) && $blogostrap_heade_image != '' && $blogostrap_heade_image != 'remove-header') {  echo '<div class="homeArchiveHeder"><img src="'.esc_url($blogostrap_heade_image).'" alt=""></div>'; } ?> 
     5            <div class="homeArchiveHeder blogostrap-add-header"></div> 
    76            <div class="col-md-12 homeArchiveSpaceTop"> 
    87              <div class="col-md-8 col-sm-8 col-xs-12 homeArchiveContainerPost"> 
  • blogostrap/1.2.7/readme.txt

    r86901 r86901  
    33Requires at least: WordPress 4.5 
    44Tested up to: WordPress 4.8 
    5 Version: 1.2.6 
     5Version: 1.2.7 
    66License: GPLv2 or later 
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    7070Source: https://github.com/jlmakes/scrollreveal 
    7171 
    72 Bundled header image, Copyright cdd20 ST.Woody 愚朚混株) 
     72Bundled header image, Copyright TimHill 
    7373License: CC0 Public Domain 
    74 Source: https://pixabay.com/en/girl-cat-flower-fairy-tale-1118419/ 
     74Source: https://pixabay.com/en/seascape-long-exposure-tide-2444040/ 
    7575 
    76 Bundled post image, Copyright OpenClipart-Vectors 
     76Bundled page image, Copyright Bosmanerwin 
    7777License: CC0 Public Domain 
    78 Source: https://pixabay.com/en/art-cartoon-cowboy-duel-gunslinger-1295282/ 
     78Source: https://pixabay.com/en/stonehenge-monument-air-clouds-2287980/ 
     79 
     80Bundled post image, Copyright Music4life 
     81License: CC0 Public Domain 
     82Source: https://pixabay.com/en/fir-christmas-tree-tree-nature-2288229/ 
    7983 
    8084== Changelog == 
     85= 1.2.7 = 
     86* Fix header image issue 
     87= 1.2.6 = 
     88* Minor bug fix 
    8189= 1.2.5 = 
    8290* Minor bug fix 
  • blogostrap/1.2.7/search.php

    r86901 r86901  
    33          <!-- ARCHIVE and HOME --> 
    44          <div class="row homeArchiveContainer"> 
    5             <?php $blogostrap_heade_image = get_theme_mod('header_image', ''); ?> 
    6             <?php if(isset($blogostrap_heade_image) && $blogostrap_heade_image != '' && $blogostrap_heade_image != 'remove-header') {  echo '<div class="homeArchiveHeder"><img src="'.esc_url($blogostrap_heade_image).'" alt=""></div>'; } ?> 
     5            <div class="homeArchiveHeder blogostrap-add-header"></div> 
    76            <div class="col-md-12 homeArchiveSpaceTop"> 
    87              <div class="col-md-8 col-sm-8 col-xs-12 homeArchiveContainerPost"> 
  • blogostrap/1.2.7/style.css

    r86901 r86901  
    55Author URI: http://www.nsthemes.com/ 
    66Description: Blogostrap is a simple clean WordPress blog. The horizontal image header with a left sidebar is beauty for website and blog. It has a theme option to customize this theme as you like. 
    7 Version: 1.2.6 
     7Version: 1.2.7 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
  • blogostrap/1.2.7/tag.php

    r86901 r86901  
    33          <!-- ARCHIVE and HOME --> 
    44          <div class="row homeArchiveContainer"> 
    5             <?php $blogostrap_heade_image = get_theme_mod('header_image', ''); ?> 
    6             <?php if(isset($blogostrap_heade_image) && $blogostrap_heade_image != '' && $blogostrap_heade_image != 'remove-header') {  echo '<div class="homeArchiveHeder"><img src="'.esc_url($blogostrap_heade_image).'" alt=""></div>'; } ?> 
     5            <div class="homeArchiveHeder blogostrap-add-header"></div> 
    76            <div class="col-md-12 homeArchiveSpaceTop"> 
    87              <div class="col-md-8 col-sm-8 col-xs-12 homeArchiveContainerPost"> 
Note: See TracChangeset for help on using the changeset viewer.