callender
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show recent avatars from contributor levelhi any news?
Forum: Fixing WordPress
In reply to: Show recent avatars from contributor levelhi there, any news on this? would really appreciate some thoughts? Rev Voodoo?
Forum: Fixing WordPress
In reply to: Headline view – query postthanks Rev.
Forum: Fixing WordPress
In reply to: Headline view – query postany ideas? thank you
Forum: Plugins
In reply to: [Plugin: WP Carousel] – execute PHP code in widget?Hello,
I had a similar problem with posts. I wanted to show the number of published posts in a post and I wanted this number to be updated every time I publish a new post. The solution was to use a keyword (something like, for instance, [LAST_COMMENTS]) and replace that keyword later with filters and actions.
But with WP Carousel you have it easier. First, select a keyword, for instance, [LAST_COMMENTS]. Then modify your WP Carousel’s theme and replace this line:
<?php foreach ($items as $i_id => $item): ?>With these three lines:
<?php foreach ($items as $i_id => $item): ?> <?php $replacement = '<ol class="commentlist">'.wp_list_comments(array('style' => 'ol')).'</ol>'; ?> <?php str_replace('[LAST_COMMENTS]', $replacement, $item['DESC']); ?>The only problem you will get is that wp_list_comments prints by default the comments (instead of returning them), so you need to set a callback function to return the content in order to allow the variable $replacement to store the comments. You have more info about this in the codex.
Forum: Fixing WordPress
In reply to: best carousel plugin?i chose wp-paginate
Forum: Fixing WordPress
In reply to: Tag cloud to show number of tags for each tagi have decided this is not possible, as is showing tags per author – see criteria here – http://codex.wordpress.org/Function_Reference/wp_tag_cloud
Forum: Fixing WordPress
In reply to: Draft comments?i have decided from my research that this is not possible 🙂
Forum: Fixing WordPress
In reply to: email notification of comment sent to multiple recipientsgot it – edit flow plugin http://wordpress.org/extend/plugins/edit-flow/
Forum: Fixing WordPress
In reply to: Carousel of related postsany ideas?
Forum: Fixing WordPress
In reply to: Add sticky post to homepagemany thanks again!
Forum: Fixing WordPress
In reply to: Add sticky post to homepageThanks Esmi,
ah, I see.. this is the layout i would like to complete – http://testbed.callendercreates.com/sticky.jpg < link to wireframe design.
Any pointers on how i can make sticky full width at 945px, and have posts and sidebar site below..
thank you,
Jim C
Forum: Fixing WordPress
In reply to: How do i link a thumbnail on category/home page to the post?Sweet, thats nice of you to post this info Rev.
Much appreciated!
J
Forum: Fixing WordPress
In reply to: Different layout for page if certain categoryMany thanks Chinmoy!
I’m not sure my code is correct – coul you just check my code, in particular the PHP syntax:
// The Category Loop function thematic_category_loop() { while (have_posts()) : the_post(); ?> <?php if(in_category('17') ) : ?> <!-- layout #1 --> <?php if( in_category( array( 19,20 ) ) : ?> <!-- layout #2 --> <?php else : ?> <!-- default layout --> <?php endif; ?>Many thanks,
Jim C
Forum: Fixing WordPress
In reply to: Different layout for page if certain categoryMadjax,
Do you know how I would tell wordpress the following:
Display normal category layout, unless on certain category, eg: video, then deliver a different layout, eg: thumbnails only..
This will be contained in the category loop, any examples would be great. I am not an expert php coder.
Thank you!
J