Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Forum: Plugins
    In reply to: RSS Widget Feed Problems

    So what’s the official word on this RSS feed issue?

    I’m using KB Advanced RSS but it this morning my feed broke again. I’m just sending a category feed back on the homepage so I can titles of it, and if need be, click on article titles to get the full article.

    Forum: Fixing WordPress
    In reply to: Exclude category

    I know this one!

    Open your index.php file from you theme or default theme.

    About 1 quarter way down from the top, perhaps around line 9 or so if you haven’t hacked your theme template too much. up will see these lines:

    <?php get_header(); ?>
    
    	<div id="content" class="narrowcolumn">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    		<div class="post" id="post-<?php the_ID(); ?>">

    You will want to add the following line:

    <!-- Exclude post if in Category X and viewing from main page -->
    <?php if ( !(in_category('8') && is_home()) ) { ?>

    Immediately after this line:

    <?php while (have_posts()) : the_post(); ?>

    That says exclude this post if it’s in category X and if the user is viewing this from the homepage itself (that’s what I needed for one of my blogs, you can remove that homepage function if you don’t want posts to appear anywhere (keep in mind they will appear in you RSS feed though, I think, this just does what’s visible to the browser).

    Anyhoo, so you index.php will have something looking like this:

    <?php get_header(); ?>
    
    	<div id="content" class="narrowcolumn">
    
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    <!-- Exclude post if in Category X and viewing from main page -->
    <?php if ( !(in_category('8') && is_home()) ) { ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">

    Then you need to close this IF statement down a ways, about line 27~ if you haven’t hacked up your theme. You should find this line:

    <?php endwhile; ?>

    Insert this line:

    <?php }; ?> <!-- Add this --->

    Just BEFORE the endwhile (little different). So the bottom or so of this page will look something similar to:

    <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    
    			</div>
    
    <?php }; ?> <!-- Add this --->
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.
    
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    	<?php endif; ?>
    
    	</div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>

    That’s it, and it worked on 2.1, as I just applied it to another blog. Results may vary. The hack is not certified or sanctioned by the WordPress Gods. Apply at your own risk, I can’t help you if your blow up your blog, not because I wouldn’t want to help you fix it, it’s cause I wouldn’t know how. I know enough to be dangerous, hardly enough to be any good. So backup or something.

    Any follow up on this issue? My RSS native widget doesn’t update it’s list either.

    doh! well that was easy! ??

    I got a “News” category that I should want to show up up as a mini callout to the main blog content.

    So, thank you, and with the RSS widget, this works like a charm.

    WordPress RULEZ!

    As it was suggested:
    – make a separate category for these posts
    – exclude that cat from showing up on the frontpage (or to be even listed)
    – use the category feed to syndicate

    Can you elaborate on the use of a category feed to syndicate? Is that an option or a pluggin that would all one to just syndicate a specific category? Thanks.

    Did you get this solved? I too am looking for info on how to keep certain things out of my feed.

    Thread Starter badassreviews

    (@badassreviews)

    I just saw a tumble weed go by… kinda lonely here.

    So what was the answer?

    Forum: Plugins
    In reply to: help with Exhibit and WP1.5
    Forum: Plugins
    In reply to: exhibit add image

    Were you able to find a solution for this?

    Nonon

    This sucks. I was hoping this would work for someone. Doesn’t work for me either the admin and I cna’t find a solutions. Pelase post at Owen’s site.

    Forum: Plugins
    In reply to: help with Exhibit and WP1.5

    Ugh! I was unable to. Any thoughts on how you got it to work?

    My version works only it doesn’t let me add anymore photos from the right to the left window. When I click the icon that asks me “Add all images in SOMEDIR to this post?” and I say Ok, it doesn’t.

    Halp. tx

    Forum: Plugins
    In reply to: exhibit add image

    Cyber6, were you able to fix this? having the same problem.

    Thread Starter badassreviews

    (@badassreviews)

    Beautiful! Works like a charm. Thanks for let nudge.
    Thanks,
    Bad Ass Reviews

Viewing 15 replies - 1 through 15 (of 15 total)