visumdesign
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Page 2 Not FoundI know it can sound confusing.. trust me all the blogs I come across sound confusing and even re reading my post it sounds confusing, but just understand what I mean by variable that is the $blog all php with a dollar sign is a variable.. most from what I know.. I cant explain it in professional terms but in my terms it is like a link it stores the data/information whatever you have the variable = to and it just spreads like wildfire…
So just make sure the variables sync up and there is that code I pasted above..
Forum: Fixing WordPress
In reply to: Page 2 Not FoundIt wouldnt be in the css, but inside the php… I doubt its an issue with a code in the functions.php but the template page you are using.. lets say its for the blog loop.
I had this issue, and pulled a lot of hair out trying to find a solution… TIP: If you run into issues focus hard but take breaks, when you come back fresh it usually clicks…
The best thing and I am serious read the codex, the pagination part
this code solved my issue and it makes sense if you read it carefully.. obviously it requires more code in cogitation with this code but you need to make sure that some kind WP_Query is called..
<!-- Pagination Query --> <?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } $blog = new WP_Query('posts_per_page=3&paged=' . $paged); ?> <!-- END @Pagination Query -->
I set the variable $blog to = the WP_Query and that variable is in called here
<?php while($blog->have_posts()): $blog->the_post(); ?>
using kriesi_pagination, code that can be used in commercial or individual projects is inside my functions but acts as the pagination block where you see previous 1 2 3 4 next its called like this inside my blog template.. You see the $blog variable there and it all syncs up because of that variable
<?php kriesi_pagination($blog->max_num_pages, $range = 2); ?>
Forum: Fixing WordPress
In reply to: Page 2 Not FoundIts most likely the pagination.