agrippa_cash
Forum Replies Created
-
Forum: Plugins
In reply to: display “link only” posts differentlyI cannot get those two posts to appear on the main page. I think that this is because there are a couple deleted posts that are throwing off the backfill function (but I could be wrong). Assuming I am correct, you need to count gap between legetimate posts and adjust the backfill offset accordingly. In any event I am leaving my setup as is but can’t recommend it.
Forum: Plugins
In reply to: display “link only” posts differentlyThere was a problem with a couple intermediate posts being skipped so now the end of line 106 of the plugin reads
("numberposts=$left"). This may also cause trouble, though ATM everything seems OK.Forum: Plugins
In reply to: display “link only” posts differentlyCurrently I have a couple ugly hacks in place to enable my sidebar. I am using (and mangeling) Matt’s Asides by changing the “If” statement from his loop
<?php if ($posts) { foreach($posts as $post) { start_wp(); ?>AND I have a second loop taken from 2fargons method (and using his improved functions.php) in the sidebar
<?php if (in_category(2) && !$single ) { //code below is for link post ?>
<?php } else { // code below prints normal posts (without excluded links category) ?><?php $posts = get_posts('order=ASC&category=2&orderby=name&offset=0&numberposts=4'); foreach ($posts as $post) : start_wp()?>
This is ugly and ineffeciant and doesn’t get me quite the results I want because “Aside” posts out of order and counted against the total. I tried to use this plugin to fix that, but it was skipping a normal post which should have been published (maybe becuase I had 2 Asides on the same day?). If anyone can explain why this was happening, or point out a way to improve my current hack I’d be very happy.