Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #294925

    Hi,

    I would like to have one page displaying 3 different posts under each other with their original layout – created with the advanced layout Editor, including full width and layout sliders. I activated the advanced layout editor for posts, as explained on this forum.

    I tried to display posts under each other using shortcodes but I it destroys the original layout. I need to :
    – apply CSS on Title (or remove it)
    – remove the breadcrumbs
    – change the CSS on the article (margin + centered)
    I also noticed that layout sliders don’t display on posts when using the shortcode method.

    I also separately tried to create a custom page template to reach the same goal, but I don’t get any post displayed…
    (using http://codex.wordpress.org/Page_Templates#Custom_Page_Template)

    Could you please help and let me know how to do this ?
    Best

    Valerian

    #295440

    Hey Valerian_TDS-CPV!

    The advanced layout editor on posts is *not* supported by us. It has been purposely never been enabled for posts as it simply has not been tested for or had support built in for posts.

    If you need a custom layout that isn’t available with theme options you can look into a freelance developer from somewhere like Envato Studio or Codeable.

    Best regards,
    Devin

    #295900

    Hi,

    Thanks you for the quick answer. I try to display one page with several sub-sections, which I could change, without impacting the page, just using categories. That’s why I would like to be able to display portfolios/posts under each other in a unique page. Is this feasible within Enfold / using templates ? I tried to do it with posts, but I don’t mind trying it with portfolios.

    Here is what it would look like.

    ____________Page______________
    ————-section 1—————-
    portfolio post 1
    ———end of section 1 ———–
    ————-section 2—————-
    portfolio post 3
    ———end of section 2 ———–
    _______End of page_____________

    My issue is not on creating the template but on the way full width / layer slider are displayed within the theme, as it works on posts / pages / portfolios but it doesn’t on my ‘multiple posts’ template page

    Below my template for the “posts page” template.

    <?php
    global $avia_config;
    
    	 /* Template Name: Posts Page */
    	 
    	 
    	/*
    	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    	 */
    	 get_header();
    
     	 if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
    	 ?>
    
    		<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
    
    			<div class='container'>
    
    				<main class='template-page content  <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
    
                        <?php
                        /* Run the loop to output the posts.
                        * If you want to overload this in a child theme then include a file
                        * called loop-page.php and that will be used instead.
                        */
    
                        $avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar';
                        get_template_part( 'includes/loop', 'page' );
                        ?>
                        
                        
                        <?php
    					query_posts('cat=2');
    					while (have_posts()) : the_post();
    						the_content();
    					endwhile;
    				?>
    
    				<!--end content-->
    				</main>
    
    				<?php
    				//get the sidebar
    				$avia_config['currently_viewing'] = 'page';
    				get_sidebar();
    				?>
    			</div><!--end container-->
    		</div><!-- close default .container_wrap element -->
    <?php get_footer(); ?>
    #296363

    It depends on what content is within each section. The layout will be full width on the page as long as the layout meta box has the “no sidebar” option selected.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.