iand
Forum Replies Created
-
Forum: Plugins
In reply to: Sidebar: Show latest posts only if not on homepageI think your { are wrong again. Try:
<?php if /* this it not home */ (! is_home()) {
echo ('<li><h2>Latest posts</h2></li>'); c2c_get_recent_posts(5);
} ?>The {} should contain all the conditional bit (I think 🙂 )
(Untested) neater might be:
<?php if /* this it not home */ (! is_home()) { ?>
<h2>Latest Posts</h2>
<ul>
<?php if (function_exists('c2c_get_recent_posts')) c2c_get_recent_posts(5); ?>
</ul>
<?php } ?>Forum: Plugins
In reply to: Sidebar: Show latest posts only if not on homepageDoes that work? Could you edit your post or post again so that the code you used is in backticks? (normally below the escape key).
Forum: Plugins
In reply to: Sidebar: Show latest posts only if not on homepageSo if you were displaying category X, your list would be the five most recent posts in category X?
To do that I think you will have to explore options using multiple loops:
http://codex.wordpress.org/The_LoopForum: Plugins
In reply to: Sidebar: Show latest posts only if not on homepageThinking about it, you can’t take out those lines – they start and finish the loop, and
the_titleetc needs to be inside the loop to work. Try replacing your page.php with a fresh one from the default theme.Forum: Plugins
In reply to: Sidebar: Show latest posts only if not on homepageYour page.php:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<div class="post" id="post-<?php the_ID(); ?>">default theme page.php:
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">Looks like you are missing a line from yours. (or if you did mean to take it out, you will need to remove the
<?php endwhile; endif; ?>line.Forum: Plugins
In reply to: Sidebar: Show latest posts only if not on homepageYour page.txt is giving a 404 at the moment.
Just to check, does what you have at the moment work if you are looking at the your front page? (I can’t check, your site is blocked to me at work).Forum: Plugins
In reply to: Sidebar: Show latest posts only if not on homepageI think you have your ; and } backwards. (Se skippy’s code)
Try<?php if (! is_home()) { c2c_get_recent_posts(5); } ?>Forum: Fixing WordPress
In reply to: Main page content is not loading – error messageSee here for error 28:
http://codex.wordpress.org/Answers-TroubleshootingForum: Plugins
In reply to: Flickr-Gallery 0.7 URL_ROOT problemsCan you elaborate on your fix? Similar problems have come up before with this plugin.
Forum: Fixing WordPress
In reply to: Help needed with permalinks now that I am a convertGive this plugin a go:
http://codex.wordpress.org/Plugins/Underscore_PermalinksForum: Installing WordPress
In reply to: Multiple Blogs – in one databaseDifferent layouts for different categories:
http://codex.wordpress.org/Template_HierarchyForum: Requests and Feedback
In reply to: Random number generator to stop comment spamA seletion of captcha sytle plugins available here:
http://codex.wordpress.org/Plugins/Spam_Tools bear in mind they can difficult for those with sight problems etc. You might want to try more transparent systems such as Bad Behavior and/or Spam Karma2 instead.Forum: Installing WordPress
In reply to: 1.5.1.3 Upgrade broke my siteLooks like you deleted pm-config from your admin folder – presumably part of a plugin? Try either putting the files for that plugin back in the right places, or rename the plugin via ftp to disable it and get your blog running again.
Forum: Plugins
In reply to: iTunes 4.9 Taggingjust another wordpress webblog is the default tagline, see options > tagline, to change it.
Forum: Plugins
In reply to: iTunes 4.9 TaggingYou already have a neater url – try
http://www.alittlepoison.com/archives/category/podcasts/feed/