liquidRock
Forum Replies Created
-
was broken here as well after the last update. Thanks for the quick fix. Works fine now.
Forum: Fixing WordPress
In reply to: using if else with wp_get_recent_postsresolved 😉
Forum: Fixing WordPress
In reply to: using if else with wp_get_recent_postsSuccess!!
Can’t believe I didn’t try that since I used a similar thing with my $slug variable.
At any rate, thanks so much. Working perfectly now 🙂
Forum: Fixing WordPress
In reply to: using if else with wp_get_recent_postsHi there
I tried replacing is_category with has_category but it’s still not working. I also tried using in_category with the same syntax but to no avail.
Here’s the modified code. Is this correct?
<?php $args = array( 'numberposts' => '1', 'offset' => '0', 'orderby' => 'post_date', 'order' => 'DESC', 'post_status' => 'publish' ); $recent_posts = wp_get_recent_posts( $args ); $home = home_url( '/' ); $homeURL = esc_url( $home ); $before = '<a href="'; $after = '">dive in</a>'; foreach( $recent_posts as $recent ){ $slug = basename( get_permalink($recent["ID"]) ); // if post is audio if ( has_category('audioz'), $recent ) { echo $before . $homeURL . "audio/" . "#" . $slug . $after; } // else if post is video else if ( has_category('videoz'), $recent ) { echo $before . $homeURL . "videos/" . "#" . $slug . $after; } // else if post is article else if ( has_category('articlez'), $recent ) { echo $before . $homeURL . "article/" . "#" . $slug . $after; } // else if post is zazzle link else if ( has_category('zazzle'), $recent ) { echo $before . $homeURL . "store/" . "#" . $slug . $after; } } ?>Forum: Plugins
In reply to: Plugin: NextGEN Gallery Thumbnails – I need normal scale, not croppedin the control panel under the “Gallery” heading in the sidebar, go to the section “Manage Gallery”.
then choose your gallery from the list.
if you rollover a thumbnail you will see text links appear under the title, date, and dimensions. Click the link called “Edit Thumb”. This will give you a popup window that you can click drag a constrained rectangle on to define the thumbnail image. It is automatically constrained to the thumbnail proportions. Draw your rectangle and position it and hit the Update button to finalize.
If you want to change the thumbnail size/proportions, go to the gallery section called “Options” in the sidebar, and then click the “Thumbnails” tab. You can set the dimensions and also the “Set fix dimensions” which will allow you to use portrait thumbnails if desired.
Forum: Plugins
In reply to: [TinyMCE Signature] TinyMCE Signature – Suggested modificationHere’s another:
An optional checkbox to keep the signature on sticky posts. when the options to put sig on all pages is OFF, it doesn’t show up in the sticky.
also, the hyperlink to your website from the plug-in page is missing a . after www, unless that was intentional 😉
Forum: Plugins
In reply to: [W3 Total Cache] How's 0.9.2.1 working out for everyone?I should have mentioned this.
I had to remove some of my javascript files even after setting minify to manual. The fonts I was using with Cufon were getting screwed up by the minify, even though the last version of W3 handled them fine. Once I removed them from the javascript minify list altogether, the theme came back the way it was supposed to.
CSS seems to be fine here, but I don’t combine mine. I just remove comment and line breaks and move the code to the top.
Forum: Plugins
In reply to: [W3 Total Cache] How's 0.9.2.1 working out for everyone?I had to shut OFF auto minify. before that my theme broke.
other weirdness has popped up though. I can’t drag widgets, better revision deleting plug-in won’t work anymore (won’t even activate after a reinstall) and when I do a search for plugins I get a 404 error.
Maybe the dude who makes it was taking bong hits of bacon fat when he coded it. This blows.
Forum: Plugins
In reply to: [My Link Order] [Plugin: My Link Order] Doesn't order anythingDoesn’t work for me either. I tried using it with thematic. some feedback would be appreciated.
yes, but there needs to be a control for users to change it for their timezone. Or it should read the server time which would be great for those of us with dedicated machines.
seems like it. unless some code wizard can tell the rest of us how to edit the files to make it work right. Any takers? 🙂
Ditto. I have a dedicated, managed Linux server. The server time in WHM is identical to my local time. The sitemap time is 4 hours ahead. Not cool.
Anyway to fix this?
well this is odd, this was supposed to be for the WP Maintenance mode plug-in feedback but strangely it just got thrown here.
Admins, please add the plug-in title to this and put it where it should go. bizarre.
Forum: Plugins
In reply to: [Plugin: Custom Coming Soon Page] doesn’t work with 3,0not working in 3.1.1 either
Forum: Fixing WordPress
In reply to: put descriptions under links in sidebarno takers on this? thought this would be cake for you code wizards.