File "blog-02-columns.php"
Full Path: /home/arielcor/public_html/wp-content/plugins/pisces-demo-data/presets/blog-02-columns.php
File size: 2.5 KB
MIME-type: text/x-php
Charset: utf-8
<?php
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
function la_pisces_preset_blog_02_columns(){
return array(
/**
* Settings
*/
array(
'key' => 'layout_blog',
'value' => 'col-1c'
),
array(
'key' => 'blog_design',
'value' => 'grid_5'
),
array(
'key' => 'header_transparency',
'value' => 'yes'
),
array(
'key' => 'blog_post_column',
'value' => array(
'xlg' => '2',
'lg' => '2',
'md' => '2',
'sm' => '1',
'xs' => '1',
'mb' => '1'
)
),
array(
'key' => 'enable_page_title_subtext',
'value' => 'yes'
),
array(
'key' => 'page_title_custom_subtext',
'value' => 'Nullam varius porttitor augue id rutrum. Duis vehicula m'
),
array(
'key' => 'blog_thumbnail_size',
'value' => '570x320'
),
array(
'key' => 'blog_excerpt_length',
'value' => '24'
),
/**
* Filters
*/
array(
'filter_name' => 'pisces/filter/page_title',
'value' => '<header><h3 class="page-title">Blog 02 Columns</h3></header>'
),
array(
'filter_name' => 'pisces/setting/get_setting_by_context',
'filter_func' => function( $value, $key, $context ){
if($key == 'page_title_bar_background'){
$value = array(
'image' => 'http://pisces.la-studioweb.com/wp-content/uploads/2017/09/blog-page-headder-01.jpg',
'repeat' => 'no-repeat',
'size' => 'cover',
'position' => 'center center'
);
}
return $value;
},
'filter_priority' => 10,
'filter_args' => 3
),
/**
* Colors
*/
array(
'key' => 'la_custom_css',
'value' => '
@media (min-width: 1199px) {
.site-main {
padding-top: 100px;
padding-bottom: 70px;
}
}
'
)
);
}