Bill Weye
Forum Replies Created
-
Forum: Themes and Templates
In reply to: dyanmic landing page template based on custom fieldwell, the query is working now, but not returning any results … I have triple checked everything: spelling of the custom field and tag on both the post and page, which seem to be the only non-code issues possible.
right now this query with the above page linked should be returning one post:
http://www.cchange.net/2009/10/28/back-to-the-future-pasture-local-wheat-and-water-power/but nothing is coming up …
hummm …
Forum: Themes and Templates
In reply to: dyanmic landing page template based on custom fieldOkay … no errors, but I am also not getting any posts showing up … (http://www.cchange.net/?page_id=1292) I am going to take a wild guess and say it’s because the posts I’m looking to query will have more than just the ‘landingtag’ … meaning, there won’t ever be a post that is true, give me all posts that have just and only ‘landingtag’.
could that be it?
thank you.
Forum: Themes and Templates
In reply to: dyanmic landing page template based on custom fieldpretty cool … Never used a pastebin before …
People can find full code for the above page here:
http://wordpress.pastebin.ca/1653215again, thanks for any help or direction people can provide.
Forum: Themes and Templates
In reply to: dyanmic landing page template based on custom fieldOkay, the above solution didn’t work .. this is the code I used:
<?php $landingtag = get_post_meta($post->ID, 'landingtag', true); if ($landingtag){ query_posts('tag__in=$landingtag'); } if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="entry"> <?php the_excerpt(); ?> </div><!--CLOSE entry --> <?php endwhile; ?> <?php else : ?> <h3>Not Found</h3> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; wp_reset_query(); ?>on the query, I tried both ” and “” because that variable is being evaluated. Any ideas?
Again, I am trying to find all posts that have the custom field named “landingtag”, with the value defined in that page, so that all posts that have “landingtag” and value defined as “group of posts” output.
does this make sense?
thanks for any help.
Forum: Themes and Templates
In reply to: dyanmic landing page template based on custom fieldThanks, Peter, but what I really want is not quite related posts … I want related posts based on another tag that is defined (by the custom field), not related to the post (which there is none, because I’m working with a page). BUT! this is a great reference for me and I’m sure I’ll use it again.
Michael, I’ll try this out in a few minutes … more later with results.
thanks.
Forum: Fixing WordPress
In reply to: how to remove audio player from excerpt?bump
Forum: Fixing WordPress
In reply to: how to remove audio player from excerpt?Did anybody find a solution for this? I am using audio player along with PowerPress and need to take the player off of any page I use excerpts on.
Any help would be greatly appreciated.
Bill
Forum: Fixing WordPress
In reply to: How To do math with custom fields??bump it, baby!
Forum: Fixing WordPress
In reply to: Trimming my DB calls — how to?thanks very much for your ideas! much appreciated.
Forum: Plugins
In reply to: Editors selection and reader recommendation for comments?bump it!!
Forum: Fixing WordPress
In reply to: too many wp_querys slowing page down? how to combine?Thanks, Otto42!
Forum: Fixing WordPress
In reply to: create main menu-highlight current page even when on childI did not know that! Excellent, and sorry for the bother.
Forum: Plugins
In reply to: podpress download urlLet me second that. If anyone has the latest podpress package and can post a link to it, that would be peachy.
Looking at the site, that PodPress Person has got some real problems.
Bill
Forum: Fixing WordPress
In reply to: “now playing” for a radio station siteI guess I didn’t explain myself well enough. The “now playing” would not be the current song, but the current program that is on the air (though your offer is generous!).
I need a function or another plugin (I think) that will interact with one of the current events/calendar plugins. That interaction would recognize the event times and then print out the text of the current event (according to time).
Any ideas?
thanks,
Bill