Sedang Disiapkan

Wordpress loop code fix re pagination

The Wordpress loop below is from a Word press page template and supposed to take posts from a particular category (in this case “joypoll”) and display them in a paginated fashion on a Wordpress “page” page that's using the above mentioned template.

It works except for that it won’t show more than two pages of posts, even when there should be more.

Please fix the code so that pagination works correctly.

I need this done as quickly as possible.

Thank you.

Marc.

<?php

/*

Template Name: Joy Testimonials

*/

get_header(); ?>

<div id="left-column">

<h1> What people are saying </h1>

<?php query_posts('category_name=joypoll'.'&showposts=2'.'&paged='.$paged); ?>

<?php

global $more;

$more = 0;

?>

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

<?php get_template_part("/functions/fetch-list"); ?>

<?php endwhile; ?>

<?php endif; motionpic_pagination("clearfix", "pagination clearfix"); ?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

Kemahiran: PHP, Wordpress

Lihat lebih lanjut: fix pagination loop, fix wordpress category pagination, loop pagination wordpress, word press code, works global, press re, joy, code fix, word press pagination, list code, div fix, category fix, page pagination, wordpress template functions, code word, testimonials wordpress, list category posts pagination, column php loop, wordpress category page template, fashion wordpress template, php pagination loop, wordpress category template, done code pages, column php template, fix wordpress template

Tentang Majikan:
( 7 ulasan ) Miami Beach, United States

ID Projek: #1588492

Dianugerahkan kepada:

keiespro

Hi. I can fix it shortly.

$50 USD dalam 0 hari
(122 Ulasan)
6.3

3 pekerja bebas membida secara purata $123 untuk pekerjaan ini

TheInnoVibes

Please Check private message .

$50 USD dalam sehari
(48 Ulasan)
6.1
ranjitahalder

Let start with best developer teams having knowledge of CMS development in PHP, MySQL, Apache, Windows with AJAX with good knowledge of OOP. C# with good knowledge of OO design skills, UI design concepts & Swings MFC Lagi

$100 USD dalam sehari
(0 Ulasan)
0.0
Benjamininfo

PLEASE CHECK PMB

$220 USD dalam 5 hari
(0 Ulasan)
0.0