David Calhoun
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Using conditional tags to vary loop in sidebar?Glad to hear you were able to figure it out! Don’t feel stupid, it happens to all of us. Happy WordPressing!
P.S. – Be sure to mark your post as “resolved”.
Forum: Fixing WordPress
In reply to: get_posts date not workingI would recommend using a custom loop with
query_posts()rather than usingget_posts(). You would need to limit the number of posts by using thepost_per_pageparameter.Forum: Fixing WordPress
In reply to: Using conditional tags to vary loop in sidebar?If your three pages are in fact actual pages, you could do something similar to this in the sidebar.php file for your theme:
<?php if ( is_page('basketball') ) { // custom loop for basketball } elseif ( is_page('football') ) { // custom loop for football } elseif ( is_page('baseball') ) { // custom loop for baseball } else { // custom loop for anything else } ?>To build the custom loop pieces, I would check out the following:
Thanks for the update, studiograsshopper. I’ll mark this as resolved once the plugin update is posted.
Forum: Plugins
In reply to: [More Types] [Plugin: More Types] Broken in 3.1 RC4Thanks for posting a quick plugin update, kalstrom!
Forum: Plugins
In reply to: [More Types] [Plugin: More Types] Broken in 3.1 RC4Just updated to the newly released WordPress 3.1 and More Types is indeed broken. The custom post types do not show up in the admin menu as the OP stated above.
Forum: Fixing WordPress
In reply to: A Conditional for Empty ContentI don’t know exactly what you are trying to do since your code was removed by the moderator, but you should be able to assign your
get()request to a variable and then check it it’s not empty.<?php $my_value = get('my_magic_field'); if ($my_value != '') { // do stuff } ?>Forum: Fixing WordPress
In reply to: Custom Taxonomy Post Count Incorrect@duffcub, I never was able to resolve this issue.
This would be awesome.
Forum: Plugins
In reply to: [WP-Ad-Manager] [Plugin: WP-Ad-Manager] Media Upload BrokenI moved on and used an alternative for my ad management. Not really sure what was causing the issue. Maybe a fresh install would’ve fixed it. Didn’t have time to figure it out.
Forum: Plugins
In reply to: [WP-Ad-Manager] [Plugin: WP-Ad-Manager] Media Upload BrokenI am using the latest of both. WordPress 3.0.1 and WP-Ad-Manager 0.7.4. It is happening while editing all content types.
This is happening for me as well. Any word on what is causing this or a fix?
Forum: Fixing WordPress
In reply to: Post ThumbnailsUsing the $size parameter is what I needed to use.
the_post_thumbnail('thumbnail');http://codex.wordpress.org/Function_Reference/the_post_thumbnail#More_Options
Forum: Fixing WordPress
In reply to: Listing Custom Taxonomy TermsThat works like a charm! Thank you so much for the help. I get it now. There’s no posts in them, so they don’t display. Doh! >.<
Well, I need to them to display even if they are empty, so I appreciate your troubleshooting with me.
Forum: Fixing WordPress
In reply to: Listing Custom Taxonomy TermsDon’t know what I’m doing wrong here. I tried the same thing with no luck. The site is WPMS and the the custom taxonomy is created with the More Taxonomies plugin.
I tried it on a different normal install with a manually created taxonomy as well. :-/