Initial commit: Atomaste website
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Template for Blog
|
||||
*
|
||||
* @package Astra
|
||||
* @link https://wpastra.com/
|
||||
* @since Astra 4.6.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<div <?php astra_blog_layout_class( 'blog-layout-4' ); ?>>
|
||||
<div class="post-content <?php echo wp_kses_post( astra_attr( 'ast-grid-common-col' ) ); ?>" >
|
||||
<?php astra_blog_post_thumbnail_and_title_order(); ?>
|
||||
<div class="entry-content clear"
|
||||
<?php
|
||||
echo wp_kses_post(
|
||||
astra_attr(
|
||||
'article-entry-content-blog-layout',
|
||||
array(
|
||||
'class' => '',
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
>
|
||||
<?php
|
||||
astra_entry_content_before();
|
||||
astra_entry_content_after();
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ),
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span class="page-link">',
|
||||
'link_after' => '</span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content .clear -->
|
||||
</div><!-- .post-content -->
|
||||
</div> <!-- .blog-layout-4 -->
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/**
|
||||
* Blog Pro - Blog Layout 5 Template
|
||||
*
|
||||
* @todo Update this template for Default Blog Style
|
||||
*
|
||||
* @package Astra Addon
|
||||
*/
|
||||
|
||||
$blog_structure_order = astra_get_option( 'blog-post-structure', array() );
|
||||
|
||||
?>
|
||||
<div <?php astra_blog_layout_class( 'blog-layout-5' ); ?>>
|
||||
<?php $astra_addon_blog_featured_image = apply_filters( 'astra_featured_image_enabled', true ); ?>
|
||||
<?php if ( $astra_addon_blog_featured_image && in_array( 'image', $blog_structure_order ) ) : ?>
|
||||
<?php
|
||||
// Blog Post Featured Image.
|
||||
astra_get_post_thumbnail( '<div class="ast-blog-featured-section post-thumb ' . esc_html( apply_filters( 'astra_attr_ast-grid-col-6_output', 'ast-grid-col-6' ) ) . '">', '</div>' );
|
||||
?>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="post-content <?php echo esc_html( apply_filters( 'astra_attr_ast-grid-col-6_output', 'ast-grid-col-6' ) ); ?>">
|
||||
|
||||
<?php
|
||||
/** @psalm-suppress TooManyArguments */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
astra_blog_post_thumbnail_and_title_order( array( 'image' ) );
|
||||
/** @psalm-suppress TooManyArguments */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
?>
|
||||
|
||||
<div class="entry-content clear"
|
||||
<?php
|
||||
echo wp_kses_post(
|
||||
astra_attr(
|
||||
'article-entry-content-blog-layout-3',
|
||||
array(
|
||||
'class' => '',
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
>
|
||||
|
||||
<?php astra_entry_content_before(); ?>
|
||||
<?php astra_entry_content_after(); ?>
|
||||
|
||||
<?php
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ),
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span class="page-link">',
|
||||
'link_after' => '</span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content .clear -->
|
||||
</div><!-- .post-content -->
|
||||
</div> <!-- .blog-layout-5 -->
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Template for Blog Layout 6
|
||||
*
|
||||
* @package Astra
|
||||
* @link https://wpastra.com/
|
||||
* @since Astra 4.6.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<div <?php astra_blog_layout_class( 'blog-layout-6' ); ?>>
|
||||
<div class="post-content <?php echo wp_kses_post( astra_attr( 'ast-grid-common-col' ) ); ?>" >
|
||||
<?php astra_blog_post_thumbnail_and_title_order(); ?>
|
||||
<div class="entry-content clear"
|
||||
<?php
|
||||
echo wp_kses_post(
|
||||
astra_attr(
|
||||
'article-entry-content-blog-layout',
|
||||
array(
|
||||
'class' => '',
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
>
|
||||
<?php
|
||||
astra_entry_content_before();
|
||||
astra_entry_content_after();
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ),
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span class="page-link">',
|
||||
'link_after' => '</span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content .clear -->
|
||||
</div><!-- .post-content -->
|
||||
</div> <!-- .blog-layout-6 -->
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Template for Blog
|
||||
*
|
||||
* @package Astra
|
||||
* @link https://wpastra.com/
|
||||
* @since Astra 1.0.0
|
||||
*/
|
||||
|
||||
?>
|
||||
<div <?php astra_blog_layout_class( 'blog-layout-1' ); ?>>
|
||||
<div class="post-content <?php echo wp_kses_post( astra_attr( 'ast-grid-common-col' ) ); ?>" >
|
||||
<?php astra_blog_post_thumbnail_and_title_order(); ?>
|
||||
<div class="entry-content clear"
|
||||
<?php
|
||||
echo wp_kses_post(
|
||||
astra_attr(
|
||||
'article-entry-content-blog-layout',
|
||||
array(
|
||||
'class' => '',
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
>
|
||||
<?php
|
||||
astra_entry_content_before();
|
||||
astra_entry_content_after();
|
||||
|
||||
wp_link_pages(
|
||||
array(
|
||||
'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ),
|
||||
'after' => '</div>',
|
||||
'link_before' => '<span class="page-link">',
|
||||
'link_after' => '</span>',
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div><!-- .entry-content .clear -->
|
||||
</div><!-- .post-content -->
|
||||
</div> <!-- .blog-layout-1 -->
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* Index file
|
||||
*
|
||||
* @package Astra
|
||||
* @since Astra 1.0.0
|
||||
*/
|
||||
|
||||
/* Silence is golden, and we agree. */
|
||||
Reference in New Issue
Block a user