panagiot
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Problem with making plugin workdear 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
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Problem with making plugin workThank you very much for your reply .
And my last question
in order to changing the url during the scorll down i must purchase the addon Search Engine Optimization?
If yes is possible to make the url showing my default url ?
ex.
you can see at the following url that when you scroll down and the previous posts shows up the url not changinghttps://www.4disabled.gr/archives/16953
not something like https://www.4disabled.gr/page1/
i want something like
examples
1st scroll url
https://www.4disabled.gr/archives/169532nd scroll url
https://www.4disabled.gr/archives/168323rd scroll url
https://www.4disabled.gr/archives/14573Excellent job
Thanks in advance.
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Problem with making plugin worki recently figure out the way to make the plugin works .
Thank you very much for your interest .
Can you please help me to make to plugin work with random post ?
‘
<?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” post__not_in=”‘.$id.'” category=”‘.$category_current[0]->slug.'”]’); ?><?php endwhile; // end of the loop. ?>
</div><!– #content .site-content –>
</div><!– #primary .content-area –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
‘Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Problem with making plugin workI want something like this https://connekthq.com/ajax-load-more-posts/alm-post-example-5/
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Problem with making plugin worki realy try to enable the the addon by following the steps and i didnt make it
My theme is vantage premium and my do_shortcode is
<?php echo do_shortcode('[ajax_load_more post_type="post" post__not_in="'.$id.'"]'); ?>
Can you help?
single.php
<?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 endwhile; // end of the loop. ?> </div><!-- #content .site-content --> </div><!-- #primary .content-area --> </blockquote> my repeater template is
<div>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<figure class=”featured-image”>
<?php the_post_thumbnail(‘hero’, array(‘alt’=> get_the_title();?>
</figure>
<div class=”row”>
div class=columns post-content”>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</div>
</div>
</article>
</div>
`Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Problem with making plugin worki will try again and i will reply back .
Thank you very much.
Excellent job ??
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Problem with making plugin workDear dcooney
Im talking about the addon . I allready install but when load the previous posts the posts displays like this
https://www.4disabled.gr/disabledposts.jpg
is a way to load previous post bellow the post that the user opens??