• Resolved cosiek

    (@cosiek)


    Hi,
    Thank you very much for this helpful plugin.
    I have one concern – is there a possibility to move pagination section from above the news to below them?

    Mostly, users are going through news and if want to see more they have scroll up. It is not convenient.

    Where it is seen -> https://www.imperiumromanum.edu.pl/en/

    Regards,
    Jakub

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ketan Patel

    (@patelketan)

    Hello

    Thanks for reaching here.

    Please go to wp-content->plugins->sp-news-and-widget->includes->sp-news-shortcode.php file and line number 155 to 162.

    This code for our pagination functionality. please copy this code.
    Your requirement above the pagination display.
    Please go to the same file line number 73, and paste.

    Note: If you change in plugin file then at the time of plugin update your changes will be lost.

    Let me know if you have any issues or queries.

    Thanks,

    Thread Starter cosiek

    (@cosiek)

    Thank you.
    I did cut the mentioned code:

    <div class="news_pagination">        
    		<?php if($pagination_type == 'numeric'){ 
    			echo news_pagination( array( 'paged' => $paged , 'total' => $query->max_num_pages ) );
    		} else { ?>
    			<div class="button-news-p"><?php next_posts_link( __('Next', 'sp-news-and-widget').' &raquo;', $query->max_num_pages ); ?></div>    		
    			<div class="button-news-n"><?php previous_posts_link( '&laquo; '.__('Previous', 'sp-news-and-widget') ); ?></div>
    		<?php } ?>
    	</div>

    and put before
    <div class="wpnawfree-plugin news-clearfix">

    However, do not see change.

    Regards,
    Jakub

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Please refer below screenshot and check your side it’s a perfect display.
    https://www.awesomescreenshot.com/image/4913027/e572abf1b4c32657c02462e9f5aa0223

    Let me know if you have any issues or queries.

    Thanks,

    Thread Starter cosiek

    (@cosiek)

    Thank you!

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    If you like our plugin please give you an important Rate and Review Here…

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pagination in the bottom’ is closed to new replies.