Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Test Page
- */
- if ( !defined('ABSPATH') ){ die(); }
- global $avia_config, $post_loop_count;
- $post_loop_count= 1;
- $post_class = "post-entry-".avia_get_the_id();
- get_header();
- if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
- do_action( 'ava_after_main_title' );
- ?>
- <main class='template-page content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
- <?php
- if (have_posts()) :
- while (have_posts()) : the_post();
- the_content(__('Read more','avia_framework').'<span class="more-link-arrow"></span>');
- do_action('ava_after_content', get_the_ID(), 'page');
- $post_loop_count++;
- endwhile;
- endif;
- ?>
- </main>
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment