Connect with us

Tips & Tricks

Can′t add pagination on WooThemes Thick Theme

Everything I have tried has led to nothing. And I have tried six way’s from Sunday to get my main posts to paginate.

example one:

<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; 
query_posts('offset=1&showposts=' . get_option('woo_other_entries') . '&cat=-' . $GLOBALS['ex_asides'] . '&paged=$paged' ); ?>

example two:

<?php 
global $myOffset; 
global $wp_query;
$myOffset = 1;
$paged = intval(get_query_var('paged')) ? get_query_var('paged') : 1;
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query(array(
	'offset' => $myOffset,
	'category__not_in' => array($GLOBALS['ex_asides'],7,84),
	'paged' => $paged,
	'showposts' => get_option('woo_other_entries'),
	)); ?>

example three:

<?php 
global $myOffset;
$myOffset = 1;
$wp_query = new WP_Query();
$wp_query->query(array(
	'offset' => $myOffset,
	'category__not_in' => array($GLOBALS['ex_asides'],7,84),
	'paged' => $paged,
	'showposts' => get_option('woo_other_entries'),
	)); ?>

And after those tries, I just can’t get more pages beyond the option’s that I choose, and can only pull an archive via the browse more link.

Any suggestions or anything?

Click to comment

You must be logged in to post a comment Login

Random Search Terms

Title

Top Articles

Top Searches

powered by WassUp

Recent Posts: Fully Net Worth . com

YNW BSlime Net Worth: How Much is the Rapper Actually Worth?

YNW BSlime Net Worth: How Much is the Rapper Actually Worth?

YNW BSlime is an American rapper from Florida. He is known for working alongside his older brother YNW Melly. He has dropped tracks like Slime Dreams, Just Want You, and Gucci Belt. As of 2019, YNW BSlime net worth is estimated to be $150,000. YNW BSlime’s real name is Brandon King and was born on […]

Guapdad 4000 Net Worth: How Rich is the Rapper Actually?

Guapdad 4000 Net Worth: How Rich is the Rapper Actually?

Akeem Hayes, who is better known by his stage name as Guapdad 4000, is an American rapper who is best known for his debut album that was only recently released called Dior Deposits. In the past, he has released a mixtape too called Scamboy Color. As of 2019, Guapdad 4000 net worth is estimated to […]

Michael J Pollard Net Worth: How Rich was the Actor Actually?

Michael J Pollard Net Worth: How Rich was the Actor Actually?

Michael J Pollard was an American actor and comedian best known for his role as C.W. Moss in the movie ‘Bonnie and Clyde’. Michael J Pollard net worth before his death is estimated to be $1.5 million. Pollard was born on May 30, 1939, in Passaic, New Jersey as the son to Sonia V. and […]

%d bloggers like this: