Community Page
- HuddledMasses.org/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Thanks for the plugins Jaykul! I'm using them on my website which I just migrated from textpattern to wordpress and they are working great... There is just one little problem I am having... It...
- I was able to download the wmv-hd and the powerpoint ones. I gathered info from www.microsoftpdc.com but it seems some formats are not available yet.
- Were you able to get anything aside from wmv to work, Joel?
- Hey Jaykul, I've got some experience with this that I'm happy to share. I've used a Tivo (and hacked it to add a larger hard drive), a Comcast DVR, a Windows XP Media Center with an...
- Hey Joel, Ars Technica is also live tweeting the keynotes here: http://twitter.com/arspdc
Huddled Masses
Joel Bennett's development blog...
I’ve written another plugin for WordPress 1.2, this time to generate the “Next Page” and “Previous Page” links at the top of this page. Actually, you can put them on the top, or on the bottom, or even in the side bar! It works
... Continue reading »
5 years ago
I have two comments to make: the first is that I had to change the first RewriteRule statement syntax to cope with sub-categories (basically it needs to be able to pass a / in $1), so it now looks like this:
RewriteRule ^category/(.*)?page/?([0-9]{1,})?/? /index.php?category_name=$1&paged;=$2 [QSA,L]and the second is that with the system as it stands, searching isn't so hot. On a search for the letter 'a' (I wanted to make sure the paged limit was hit !) I end up with the following URL for the second page:
http://my.demo.blog/index.php?s=a&paged;&2which isn't so great. I'm not sure yet why the = has become a 2, but so far that's the only real show stopper from taking this plug-in live.
Thank you very much for making such an easy to use and neat Prev/Next.
5 years ago
get_pagenum_linkfunction, change the line after theif stristrto read:$qstr .= $querystring_separator.$page_querystring.$querystring_equal.$pagenum;
It's just a typo - there is a
globaldefinition for$querystring_equalabove this point, but it's never used.5 years ago
Man, with all that code in your comment, I'm rethinking my css formatting strategy [:-p]
5 years ago
TIA!
5 years ago
Where exactly do i put the codes concerning the styles?
5 years ago
bc[phphtmlsql]. return get_settings('home').$qstr."/";
*Jerome*: the styles are CSS, so just put them in one of your current style sheets (eg: wp-styles.css)
5 years ago
5 years ago