problem with css
-
dear dcooney
i have one more problem wile enabling the previous post parameter
‘
<?php
/**
* The Template for displaying all single posts.
*
* @package vantage
* @since vantage 1.0
* @license GPL 2.0
*/get_header(); ?>
<div id=”primary” class=”content-area”>
<div id=”content” class=”site-content” role=”main”><?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, ‘single’ ); ?>
<?php if( siteorigin_setting(‘navigation_post_nav’) ) vantage_content_nav( ‘nav-below’ ); ?>
<?php if ( comments_open() || ‘0’ != get_comments_number() ) : ?>
<?php comments_template( ”, true ); ?><?php endif; ?>
<?php
$category_current = get_the_category($post->ID);
echo do_shortcode (‘[ajax_load_more post_type=”post” images_loaded=”true” post_format=”standard” posts_per_page=”1″ max_pages=”15″ transition=”none” images_loaded=”true” container_type=”div” category=” previous_post_id=”‘.get_the_id().'”]’);
?><?php endwhile; // end of the loop. ?>
</div><!– #content .site-content –>
</div><!– #primary .content-area –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
‘with the curent shortcode the site works fine
https://4disabled.gr/notpreviouspost.png
but i have allready purchase and enable the Ajax Load More: SEO
when i try to add the previous_post=”true” in shortcode the post layout breaks the sidebar widget and not loading the previous postshttps://4disabled.gr/previouspost.png
Can you please help me
- The topic ‘problem with css’ is closed to new replies.