syncbox
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: paging not working?I could not figure out how to get the categories to display dynamically with the html structure I wanted…(the nav menu)… given that the client is not going to ever add a category… I opted to just manually link to the categories. I just didn’t realize that I had to add the /%category%/ bit before the name of the category.
Thanks again for your help (and persistence!)
Forum: Fixing WordPress
In reply to: paging not working?sorry that I am being dense. I’m not trying to be. If I understood this, I wouldn’t be asking questions or needing help and I do appreciate your help…
I didn’t realize that /category/ was just that word exactly. I thought it was to be replaced with the category name.
thanks for your help, it seems if I fix my nav menu’s links to put /category/ before the category name, things do work!
thank you so much.
Forum: Fixing WordPress
In reply to: paging not working?Sorry, the footer links really don’t have anything to do with this… I just updated that file and now you won’t see the // you were seeing (my bad).
The issue is when you go to http://www.schoonermaggieb.net/chart-us/
(chart-us) is a category.
It displays the correct posts , but these are all posts that are in multiple categories (chart-us, where-we’ve-been, where-we’re-headed, and on-the-map), just fyi.
So, when you click the next page link (at the bottom below the 5 posts) which links to :
http://schoonermaggieb.net/chart-us/page/2/
instead of showing the other 4-5 posts, it says there are no posts.
1) Where is the /page/2/ coming from?
2) Can I change it somehow?
3) Is there some way to simply write a link (instead of using the default next/prev code) that calls the category-28.php page (chart-us) and displays all the posts from the pertinent categories? (9, 10, 27, 28)I realize now that normally, sub-categories would be higher numbers than the parent category… but in my case (messing around with creating/deleting/recreating categories) they aren’t.
Forum: Fixing WordPress
In reply to: paging not working?Hmmm… didn’t fix anything. Darn.
But I noticed that my archive links ARE working (next page, etc) but the url reads:
http://schoonermaggieb.net/2006/03/page/3/
(for example)
So, does that information provide anything in terms of why? Do you think that the problem is that the chart-us posts are from multiple categories.
The thing is, the lowest post number IS chart-us… the other categories have higher ID numbers
Forum: Fixing WordPress
In reply to: paging not working?OK, I think I know what’s wrong now:
————–
Paged Navigation Doesn’t Work
Sometimes navigation to second (and subsequent) pages of posts does not work as expected. Your page may generate a link to a page with one of these URIs:
http://www.example.com/page/2/ http://www.example.name/category/categoryname/page/2/
http://www.example/year/month/day/page/2/
http://www.example/year/month/page/2/The result of clicking one of those links is that the page loads with all the surroundings (header, footer, sidebar), but instead of a page of posts, there is an error message: “Sorry, no posts match that criteria.”
This is due to a glitch in the .htaccess file that WordPress generates. To fix it, delete the contents of your .htaccess file and re-create it.
——————-I’m going to try to fix this using the directions provided.
Forum: Fixing WordPress
In reply to: paging not working?Hmmm… I noticed in the documentation for permalinks:
——————
Note on using %category% with multiple categories on a post
Where you assign multiple categories to a post, only 1 can show up in the permalink. This will be the lowest numbered category (see Manage Categories). The post will still be accessible through all the categories as normal.
——————Given that some of these posts are in two categories, could this be the issue? Would removing /%category%/ from the custom permalink structure fix it?
And what happens if I remove the /%category%/ portion of the custom permalink structure now that the posts already exist?
Forum: Plugins
In reply to: Limiting a user to a simgle categorydoes that plugin work for WP2+? I’ve had some issues installing plugins that require a mod to functions.php that seem to really break the site…
Anyone using it that is also running the latest 2.0.2 build of WP?
Forum: Fixing WordPress
In reply to: paging not working?See*** below
moshu wrote:
My very first idea: What did you modify in the core files that WP doesn’t use the “category” for the permalinks as it is supposed to for the Category Base?
***I am not sure what you mean. I set up my “friendly” urls to use /%category%/%author%/%postname%/
Is that incorrect? Is this what you are asking me? “chart-us” IS the category
Clues. If you look at the links at the bottom of your pages you can see a missing (virtual) directory: yourdomain.com//chart-us And, if inserting “category in the address bar for yourdomain.com/category/chart-us suddenly everyhting works .
If I use copy link location from the browser (for the next page link), the link is:
http://schoonermaggieb.net/chart-us/page/2/which is using chart-us
what I don’t get is what is /page/2/ all about? Is there a file used for this that might be missing (I have a page.php file and an archive.php file)
Sorry to be so clueless about this – it’s hard to find help in the documentation when the search functions don’t work well and this is my first WordPress site.
Thanks for your help! I really appreciate all knowledge you can send my way. If you need specific information to help, just tell me what and where and how to get it for you.
Forum: Plugins
In reply to: Limiting a user to a simgle categorydoes that plugin work for WP2+? I’ve had some issues installing plugins that require a mod to functions.php that seem to really break the site…
Anyone using it that is also running the latest 2.0.2 build of WP?
Forum: Fixing WordPress
In reply to: paging not working?Am I doing something that is offending people or can no one here give me some idea why the code for paging isn’t working here:
http://schoonermaggieb.net/chart-us
??
I’ve tried both:
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
and:
<div class="navigation">
<div class="alignleft"><?php posts_nav_link('','','« Previous Entries') ?></div>
<div class="alignright"><?php posts_nav_link('','Next Entries »','') ?></div>
</div>
but in both cases, clicking produces the page with a “no matching posts” message – but there ARE more than the 5 posts shown on the page…
Ideas, please???
Forum: Fixing WordPress
In reply to: Paging for blogsI’m using exactly that code and my paging ISN’T working…
http://www.schoonermaggieb.net/chart-us
which is set up to display 5 posts (the_content) and then should take you to the other posts via the nextpage link.
but I get (instead) a “There are currently no posts in this section.” displayed, rather than the 3-4 posts that SHOULD be there.
Help?
Forum: Themes and Templates
In reply to: Editing the Graphics in wp-login.phpIn some cases, you’ll actually have to edit wp-register.php and wp-login.php to make the changes you want. That’s what I had to do.
http://schoonermaggieb.net/wp-login.php
To make sure you don’t totally screw up anything, either make backups of any file edited or don’t delete when editing, just comment out stuff and copy/paste new code in.
Forum: Fixing WordPress
In reply to: Split Long Posts?what about using the_excerpt rather than the_content?
<?php
if ($single)
the_content();
else {
the_excerpt();
if (!empty($post->post_excerpt))
{
?><?php
}
}
?>instead of
<?php the_content(__('(more...)')); ?>
I mean, what’s the point of the split? With the excerpt, you could explicitly copy the first portion into the excerpt field when writing the post or leave the excerpt field empty and it will auto-default to show first 120 words…
Forum: Fixing WordPress
In reply to: Split Long Posts?When writing or editing a post, there should be quicktags available. The more quicktag writes <!–more–> where you want the post to break.
Forum: Installing WordPress
In reply to: plugin problemI’ve had the same problem with the geo plugin required for googlemapping of posts. It was up there before upgrading. I removed it (cleared out all plugins). Now I tried uploading the files again, and can’t get the plugins page to list the geo plugin.
I’ve tried setting full permissions on the geo.php file, but still no joy.