Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($_POST['post_view'] == 'list'){
- post::list_view( $post , 'front_page' );
- }
- if($_POST['post_view'] == 'grid'){
- if ( _settings::get( 'settings' , 'layout' , 'style' , 'front_page' ) == 'full' ) {
- $nr_columns = 'four';
- } else {
- $nr_columns = 'six';
- }
- post::grid_view( $post , 'front-page', $nr_columns );
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement