';
$args['attrs'] = array( 'class' => 'comments-count-wrapper' );
return $args;
}
/**
* Comment count wrapper closing div.
*
* @param array $args markup arguments.
* @since 3.3.0
* @return array.
*/
public function comment_count_wrapper_close( $args ) {
$args['close'] = '';
return $args;
}
/**
* Comment data wrapper opening div.
*
* @param array $args markup arguments.
* @since 3.3.0
* @return array.
*/
public function ast_comment_data_wrap_open( $args ) {
$args['open'] = '
';
$args['attrs'] = array( 'class' => 'ast-comment-data-wrap' );
return $args;
}
/**
* Comment data wrapper closing div.
*
* @param array $args markup arguments.
* @since 3.3.0
* @return array.
*/
public function ast_comment_data_wrap_close( $args ) {
$args['close'] = '
';
return $args;
}
/**
* Comment meta wrapper opening div.
*
* @param array $args markup arguments.
* @since 3.3.0
* @return array.
*/
public function ast_comment_meta_wrap_open( $args ) {
$args['open'] = '';
$args['attrs'] = array( 'class' => 'ast-comment-meta-wrap' );
return $args;
}
/**
* Comment meta wrapper closing div.
*
* @param array $args markup arguments.
* @since 3.3.0
* @return array.
*/
public function ast_comment_meta_wrap_close( $args ) {
$args['close'] = '
';
return $args;
}
/**
* Comment time div attributes.
*
* @since 3.3.0
* @return string.
*/
public function ast_comment_time_attr() {
return 'class = "ast-comment-time ast-col-lg-12" ';
}
/**
* Comment cite wrapper div attributes.
*
* @since 3.3.0
* @return string.
*/
public function ast_comment_cite_wrap_attr() {
return 'class = "ast-comment-cite-wrap ast-col-lg-12" ';
}
/**
* We have removed grid css and make common css for grid style.
*
* @since 3.3.0
* @return string.
*/
public function ast_grid_common_css() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col' : 'ast-col-md-12';
}
/**
* Blog content Grid CSS.
*
* @since 3.3.0
* @return string.
*/
public function ast_grid_blog_col() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col ast-float' : 'ast-col-md-12';
}
/**
* We have removed grid css and make common css for grid style.
*
* @since 3.3.0
* @return string.
*/
public function ast_blog_common_css() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col ast-full-width' : 'ast-col-sm-12';
}
/**
* Removed grid layout classes and make common class for same style.
*
* @since 3.3.0
* @return string.
*/
public function ast_grid_col_6() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-width-md-6' : 'ast-col-md-6';
}
/**
* Comment form grid classes.
*
* @since 3.3.0
* @return string.
*/
public function comment_form_grid_class() {
return ( Astra_Builder_Helper::apply_flex_based_css() ) ? 'ast-grid-common-col ast-width-lg-33 ast-width-md-4 ast-float' : 'ast-col-xs-12 ast-col-sm-12 ast-col-md-4 ast-col-lg-4';
}
/**
* Removed grid layout classes and make common class for same style
*
* @since 3.3.0
* @return string.
*/
public function ast_grid_lg_12() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col' : 'ast-col-lg-12';
}
/**
* Layout-4 grid css backward comaptibility.
*
* @return string.
*/
public function ast_layout_4_grid() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col ast-width-sm-25 ast-width-md-3 ast-float ast-full-width' : 'ast-col-lg-3 ast-col-md-3 ast-col-sm-12 ast-col-xs-12';
}
/**
* Layout-2 grid css backward comaptibility.
*
* @return string.
*/
public function ast_layout_2_grid() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col ast-width-md-6 ast-full-width' : 'ast-col-lg-6 ast-col-md-6 ast-col-sm-12 ast-col-xs-12';
}
/**
* Layout-1 grid css backward comaptibility.
*
* @return string.
*/
public function ast_layout_1_grid() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col' : 'ast-col-lg-12 ast-col-md-12 ast-col-sm-12 ast-col-xs-12';
}
/**
* Layout-3 grid css backward comaptibility.
*
* @return string.
*/
public function ast_layout_3_grid() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col ast-width-md-4 ast-float ast-full-width' : 'ast-col-lg-4 ast-col-md-4 ast-col-sm-12 ast-col-xs-12';
}
/**
* Layout-5 grid css backward comaptibility.
*
* @return string.
*/
public function ast_layout_5_grid() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col ast-width-md-16 ast-width-md-20 ast-float ast-full-width' : 'ast-col-lg-2 ast-col-md-2 ast-col-sm-12 ast-col-xs-12';
}
/**
* Layout-6 grid css backward comaptibility.
*
* @return string.
*/
public function ast_layout_6_grid() {
return Astra_Builder_Helper::apply_flex_based_css() ? 'ast-grid-common-col ast-width-md-6 ast-width-lg-50 ast-float ast-full-width' : 'ast-col-lg-6 ast-col-md-6 ast-col-sm-12 ast-col-xs-12';
}
/**
* Footer widget opening div.
*
* @since 3.3.0
* @param array $args div attributes.
* @return array.
*/
public function footer_widget_div_open( $args ) {
$args['open'] = '';
$args['attrs'] = array( 'class' => 'footer-widget-area-inner site-info-inner' );
return $args;
}
/**
* Footer widget closing div.
*
* @since 3.3.0
* @param array $args div attributes.
* @return array.
*/
public function footer_widget_div_close( $args ) {
$args['close'] = '
';
return $args;
}
/**
* Footer widget inner class.
*
* @param array $args attributes.
* @since 3.3.0
* @return string.
*/
public function footer_widget_area_inner( $args ) {
if ( Astra_Builder_Helper::apply_flex_based_css() ) {
$args['class'] = $args['class'] . ' footer-widget-area-inner';
}
return $args;
}
/**
* Header widget inner class.
*
* @param array $args Attributes.
* @since 3.3.0
* @return string.
*/
public function header_widget_area_inner( $args ) {
if ( Astra_Builder_Helper::apply_flex_based_css() ) {
$args['class'] = $args['class'] . ' header-widget-area-inner';
}
return $args;
}
/**
* Footer widget opening div.
*
* @since 3.3.0
* @param array $args div attributes.
* @return array.
*/
public function header_widget_div_open( $args ) {
$args['open'] = '';
$args['attrs'] = array( 'class' => 'header-widget-area-inner site-info-inner' );
return $args;
}
}
/**
* Kicking this off by calling 'get_instance()' method
*/
new Astra_Markup();