Karrde
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to translate date without editing WP source?Forum: Fixing WordPress
In reply to: <code class=”box”> disappear when page saved?Uhm, I’m not sure. Try it and see 🙂
I’m not sure on how WordPress parses the tags from its editor – I’ve never really looked into it terribly much.
Forum: Fixing WordPress
In reply to: Cant show author of post -_- help -_-Put this somewhere in The Loop in the index.php page of your theme:
<?php the_author(); ?>Forum: Fixing WordPress
In reply to: echo conditional tag depending on conditional tag?
<?php if ( ((is_home()) AND (in_category('6'))) OR (!is_home()) ) { ?>THE LOOP CONTENT
<?php } ?>
…I think. It took me a while to work those brackets out. My brain hurts.
Forum: Fixing WordPress
In reply to: <code class=”box”> disappear when page saved?The
<code>tag isn’t HTML, so you can’t give it a class as you could if it were, say, a<div>. You’ll have to use the<div>method unless you’re comfortable with hacking WordPress itself to modify its display method (which seems a waste of time when you could just do it via<div>).Forum: Installing WordPress
In reply to: PHP5 and MySQL5.1.1 still needs the MySQL stuff added in – I just set up the exact same configuration to you on my laptop yesterday after rebuilding it. Uncomment the extension=php_mysql.dll line in php.ini and make sure the php_mysql.dll is accessible – I had to copy it into my base PHP directory cus I couldn’t convince the extension directory switch to work, and of course add my base PHP directory to the Windows path (and reboot for it to take effect).
Forum: Fixing WordPress
In reply to: Problems with WordPress and IE 6Could also be a dodgy plugin/theme thats breaking code somewhere… try taking all the non-default themes/plugins away and if that fixes it, re-add em one by one to find out which is to blame. 🙂
Forum: Fixing WordPress
In reply to: 404 in domain.com/wp_folderNo, because elyonline.co.uk/news/ will then point to elyonline.co.uk/news/news/ in reality.
Forum: Plugins
In reply to: Titles after ones displayed
rewind_posts();
$my_query = new WP_Query('showposts=10');
while ($my_query->have_posts()) : $my_query->the_post();
Then do your post display code. Don’t forget to
endwhile;
when you’re done.
Forum: Plugins
In reply to: WordPress and MyspaceI attempted to use Xrisxros for that but found that it was horribly unreliable, and this seems to be because of Myspace changing their system on a regular basis. I see also now the Xrisxros developer has given up on it too, so you might be out of luck.
Forum: Themes and Templates
In reply to: adding bullets to posts onlyAssuming that the posts are contained within a div with the class “post” (if not, modify to suit):
Change the ul { and li { lines to .post ul { and .post li {.
Forum: Fixing WordPress
In reply to: Limite excerpt charactersI suspect its in wp-includes/functions-formatting.php, around line 728, where it has:
$excerpt_length = 55;This looks to be the number of words. However, I haven’t tested anything to be sure, so I might be completely wrong.
Forum: Fixing WordPress
In reply to: Hemingway Flickr RSS IssueYeah, Squible uses Magpie, which is actually built into WordPress but had some bugs in the older WP versions, hence I included a standalone version of it. Incidentally, just a few minutes before finding your post I had been working on the next version of Squible and had just replaced the Magpie code with that of the built-in WordPress Magpie code. But back to the problem at hand…
Just in case your RSS libraries arent loading, drop this in just before the FlickrRSS stuff is called:
require_once (ABSPATH . WPINC . '/rss-functions.php');Edit: In fact, just glancing again at your site now, I see that the “View All Photos” link looks to be broken – its pointing to http://flickr.com// – have you entered the proper settings for FlickrRSS where they’re supposed to go?
Forum: Fixing WordPress
In reply to: Hemingway Flickr RSS IssueYeah, check through your webserver’s logs for the error it’s giving. I love how a lot of errors are hidden away unless you know where to look, I really do..
I know I had some problems with FlickrRSS when initially getting it into Squible, which is why I ended up dropping it entirely for future versions and going with a custom solution.
Forum: Plugins
In reply to: Widget Plugin not workingYep, the new version as linked above by betzster fixes the problem for me also.
Hurrah!