danatkinson
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Theme Keeps DroppingI too am suffering the same problem whereby my theme suddenly changed back to the default.
I removed default and classic from my themes directory and visited my site this morning to discover that it wasn’t displaying anything and that the themes folder was empty (even though there was at least one theme in the directory).
I copied the default theme into it, and it displayed the themes again, along the theme I’ve been using.
It’s bizarre and extremely annoying!
Forum: Plugins
In reply to: [Plugin:] jQuery for WordPressI’ve put a couple of examples of what you can do on the site, on the same page as the one above. This will give you a really quick and basic idea of what can be done.
Forum: Fixing WordPress
In reply to: “Widget Sidebar” options not showingIs there any update for this?
Can anyone help me with this problem at all?
Forum: Fixing WordPress
In reply to: “Widget Sidebar” options not showingThanks for the reply but I’m not using the classic or default themes.
I’ve also tried using the SVN version of K2 with widgets enabled but the menu in Presentation still does not appear.
Forum: Fixing WordPress
In reply to: Plugins will not activate / re-activateForget this.
It’s resolved. I did a search initially but when I clicked on the tags, I found the solution:
http://wordpress.org/support/topic/54551?replies=10Forum: Everything else WordPress
In reply to: Flash Download CounterThat’s quite effective and offers error checking (which is something mine doesn’t!) so thankyou. I have given some consideration to creating a plugin which lets the user pick out text from db output pages (just yesterday I made something for some person who wanted Jason Kendall’s stats pulling from the MLB db here from this page).
It’s easy to do if you know what you’re looking for so I might give it a whirl. Don’t think the demand would be high though!
Thanks again!
Forum: Everything else WordPress
In reply to: Flash Download CounterAs you can see, it simply replaces ALL of the text between the <!doctype declaration and the <h1> tag (which emboldens the download number), and the text afterwards with blank space. It’s a dirty fix but it works. I suppose I could write something which actually turns that into an RSS feed…
Forum: Everything else WordPress
In reply to: Flash Download CounterNever mind. I’ve written one myself. This will display ONLY the number downloaded:
<?php
$document = file_get_contents('http://wordpress.org/download/counter/');
$patterns = array ('@<!DOCTYPE.*?<h1>@si', '@</h1>.*?</html>@si');
$replace = array ('');echo preg_replace($patterns, $replace, $document);
?>.Hopefully I’ve put the code correctly between the backticks.
Forum: Everything else WordPress
In reply to: Flash Download CounterMuch appreciated for that PHP counter.
Would you be able to post the source for that file please (so that your server doesn’t get repeated requests from mine (and anyone elses) any time the counter is requested)?
Thanks again for that.
Forum: Everything else WordPress
In reply to: Flash Download CounterVery nice! I agree though, it’s a little big, although it could be resized, but it has more than I want (just the number).
What would be nice is if there is a feed available so that you could get the actual download number (like the Firefox counter). Does anyone have a WordPress download counter feed at all?
Thanks.
Forum: Fixing WordPress
In reply to: Add firefox button to siteSeems that it didn’t like my code there…
Forum: Fixing WordPress
In reply to: Add firefox button to siteI have added the Firefox button to my sidebar.php file (http://www.dan-atkinson.com)
Maybe that’s what you want…
If you want it in your sidebar then do the following…
Go to:
*Site Admin
*Presentation
*Theme Editor
*Choose ‘sidebar template’ to editGo down to the bottom and add something along the following lines:
Obviously this is set up to be my affiliate so you can go to spreadfirefox.com and set up your own affiliation.
Hope this helps.
If not, sorry for confusing you further. π