ChaoticSoul Theme Page Number Challenge
I am using the ChaoticSoul theme for WP and I LOVE IT...thank you Bryan. I only have had one challenge that I can not solve. I added a plugin for page numbers at the bottom of the index page and it would appear that the most recent post populates at the top of the second page just like the first. Older posts then follow on page 2 as expected.
Can you help me with the code that needs to be changed to fix this? The site address is www.donmamonephotography.com/blog. Thank you!
D-
Can you help me with the code that needs to be changed to fix this? The site address is www.donmamonephotography.com/blog. Thank you!
D-
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi DMP, sorry for the super-late reply, but I checked out your site and it seems like you've fixed this. I believe I had it set that the first post always showed with that special style and that the easiest way to keep that would be to set a conditional around it to hide it if the page wasn't the first one.
I’m hoping I'm not too late.
-
Inappropriate?Hi,
I have this exact same issue and i'm using your wonderful theme ChaoticSoul.
Could you please help me with this? -
Inappropriate?Here is the Main Page Index code that should fix the post:
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<!-- First Post -->
<?php if (is_home()) {
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts("cat=-3&paged=$paged");
}
?>
<?php $top_query = new WP_Query('showposts=1'); ?>
<?php while(have_posts()) : the_post(); ?>
<!-- Next few posts -->
<?php endwhile; ?>
<?php else : ?>
<h2 class="center">Not Found</h2>
Sorry, but you are looking for something that isn't here.
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?> -
Inappropriate?Thanks for the code DMP. I have chaotic soul somewhere in my wordpress theme folders which I plan to play around with this coming weekend.
I’m happy
-
Inappropriate?Thanks, but the code isn't working exactly as expected, some stuff is still missing, like the actual links on the post headers isn't there which can be seen in the code here:
<h2><?php the_title(); ?></h2>
• <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> <?php edit_post_link('Edit', '(', ')'); ?>
I added this to make the links on the headers work :
<h2><?php the_title(); ?></h2>
But that removed the "Yellow texture" that the header name of the posts should have (they became white due to hyperlink?!)
Also i liked the part where the original code actually "fronted" the main post, all i really wanted was the "second page" not to display the "main post" shoudln't there be a much more simple way around this?
Again im no coder so i don't know, im just guessing. Would be awesome if Bryan Veloso could help us out !!!
Loading Profile...



EMPLOYEE
