This should be fixed in version 1.2.1.
Hello scribu,
Thank you for your reply. I’m sorry, I just updated to 1.2.1 and it still doesn’t seem to work. I’m clicking on a post on the index page, when I click on »next post« he still doesn’t stay in the same category. Just after I clicked on a category once and then click on a post.
Is there a way to fix this? Maybe using Conditional Tags for my three categories?
Thanks for your help again, Karina
Try this: just under the line with next_post_smart()
, add this line, for comparison:
next_post_link('« %link', '%title', true);
After doing this, tell me what you get. Paste the two lines of code back here, to make sure you did it right.
Also, it would be helpful if you posted a link to your site.
Hello scribu,
thanks again, wow, super fast.
these are the lines i coded:
<?php next_post_smart('%link', 'NEXT >', TRUE); ?>
<?php next_post_link('« %link', '%title', true); ?>
he’s actually giving me the exact same link.
you can see our site here. If you click on the startpage on the first big picture, you get to the single post. if you scroll down there, on the right lower corner you can find the links.
thank you! karina
just to give some details:
»design« is the parent category. the subcategories within i want to navigate can be seen in the sidebar. it works, if i click on them. but coming from the startpage, he just navigates in the parent category, not within the subcategory.
bye, ka
Well, you should put the post in the subcategory, then.
hello scribu.
I’m not sure if I understand what you mean, the post actually IS in the subcategory.
bye, ka
is there any solution to this? any ideas?
Note that when viewing a post from the home page, Smarter Navigation internally calls next_post_link().
Try disabling all plugins (including Smarter Navigation).
If that doesn’t help, try switching to the default theme.