serif
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to format wp_list_categories outputHi there,
I found that my custom formatting was broken when upgrading to 2.1 as well, so I wrote a plugin to handle this. You can check it out here.
Hope you find it useful 🙂
Forum: Fixing WordPress
In reply to: Remove extra li and ul from wp_list_categories?In the arguments passed in for the function, try adding ‘title_li=0’ — so it would look something like wp_list_categories(‘title_li=0’). This did the trick for me.
Forum: Plugins
In reply to: WP 2.0 – Show/Hide Palettes Dev QuestionI really want to do the same thing — anyone got any info on this? or Ken, did you find a solution?
Forum: Fixing WordPress
In reply to: ShortStat problems.. (PHP Script)Hi Ralph. I did the same as macmanx and put the include right at the top of my index.php file. This seemed to work, but for some reason if I tried putting it in the header or footer it didn’t. No idea why. The only changes I made to the shortsat code were the ones I mentioned above, and one other concerning page references, but these were due to the server my site is on.
Forum: Fixing WordPress
In reply to: ShortStat problems.. (PHP Script)Matthew – is your site hosted on an IIS server? If so there are a few workarounds that need to be made for shortstat to work nicely. I’ve just managed to get it going (finally!). For anyone else interested, it turns out that $_SERVER[‘DOCUMENT_ROOT’] and $_SERVER[‘REQUEST_URI’] used in Shortstat aren’t supported on IIS. To get it working I had to change the call to the include file to be:
if(!isset($_SERVER['DOCUMENT_ROOT'])) {
$_SERVER['DOCUMENT_ROOT'] = substr($_SERVER['PATH_TRANSLATED'],0,strlen($_SERVER['SCRIPT_NAME']) * - 1);
}And in the Shortstat include file itself I needed to change:
$res = $_SERVER['REQUEST_URI'];
to be
$res = $_SERVER['SCRIPT_NAME'];Hope this is useful for someone. It drove me nuts for a while.
Forum: Everything else WordPress
In reply to: Using search function on entire siteYep, likewise for me.
Forum: Everything else WordPress
In reply to: Using search function on entire siteNot in my case – I am wanting the include the Links (the ones you set up in the Admin site using the Links manager). Currently all the main blog entries are searched, but not the Links that are added in this manager. I am using these links as a kind of ‘miniblog’ of sorts, listing useful or interesting links I come across for future reference. The links manager is handy becuase you can categorise these links, but unfortunately they do not natively come up in the search.
Forum: Fixing WordPress
In reply to: ShortStat problems.. (PHP Script)I am having the same problem as Mathew. Finally got Shortstat working (after fixing some IIS issues), and the _trackme.php does it’s job perfectly. Have tried adding the Shortstat code into my WP site though and no results come through. Have tried adding it into the header, footer, index.jsp etc. but no luck. Anyone else out there had this problem and fixed it?
Is your site hosted on an IIS server? I had the same problem, because IIS doesn’t use the $_SERVER[‘DOCUMENT_ROOT’] or $_SERVER[‘REQUEST_URI’] variables that are used for Shortstat. You can read some comments that refer to this at the bottom of this page, along with solutions for it.
This fixed the _trackme.php for me, and everything started working, but the trouble is that when I then put the code into my WP site for some reason it doesn’t log any results at all – even though the _trackme.php does work. Still trying to find the cause of this.Forum: Everything else WordPress
In reply to: Using search function on entire siteI’m using WP 1.5 and would also really love to have my Links be included in the search. Any ideas or plugins?
Forum: Fixing WordPress
In reply to: Sidebar links & RSSUpdate – I have found a serious flaw in my plan. It seems that Links are not searchable from the default search form, so will be pretty useless if I ever want to find information again. Been thinking about it more overnight – even if I used a separate blog for my side minibar, wouldn’t that have implications for search as well? ie would you be able to search the miniblog while remaining in the same site and having the results come up along with the normal results from my site?
I would love to hear from anyone who has done this…
Forum: Fixing WordPress
In reply to: Sidebar links & RSSYeah – I’ve read about it, but I’d like to avoid that if possible. I figure that if all the link info is already there then surely I must be able to reference it? If no-one has done this before then I might try and get down ‘n’ dirty with some php and try my hand at some plugins… Ultimately the motivation for this is to keep all the content management within one system rather than maintain two blogs for the one site.
Forum: Fixing WordPress
In reply to: Need help with RSS Feeds…I had the same problem, and taking out the word “feed” didn’t work either. I found this solution though, which compares versions of the wp-blog-header.php file from builds made on 14th Feb and 18th Feb. A change was obviously made during this time, and since I downloaded my install on the 14th I didn’t have it. I made the changes outlined here and it now works perfectly.
http://cvs.sourceforge.net/viewcvs.py/cafelog/wordpress/wp-blog-header.php?r1=1.130&r2=1.131
Forum: Fixing WordPress
In reply to: wp_get_links() don’t take default parameters.Righto, so it seems I can just use get_links() and set the category to -1. Maybe I just read the docs wrong on the wp_get_links() one, and in fact it doesn’t take an empty parameter.
Forum: Fixing WordPress
In reply to: WP 1.5 : quicktags for SafariThanks for this post – I was wondering where those were! Now working fine for me in Safari.