ThorHammer
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Limit excerpt lengthLife must be wonderful when you have an answere to everything. Thank you so much alchymyth!! You were right, again!
Forum: Themes and Templates
In reply to: Limit excerpt lengthbtw: How to escape the brutal line break before the “…” ?
Forum: Themes and Templates
In reply to: Limit excerpt lengthalchymyth: Yes, it is the excerpt written into the field below the editor I am echoing on my front (index) page.
And thank you again, your code actually solved my issue!!Forum: Themes and Templates
In reply to: Limit excerpt lengthAs far as I have found out, this is not possible to do with excerpts. I guess the soultion is to add a custom field and use this as an extra excerpts-container, cause this output is possible to manipulate. Please, correct me if I am wrong?
Forum: Plugins
In reply to: [Plugin: GD Star Rating] Fantastic – but HOW to query??I have tried everything GDragoN, and it is simply impossible to sort posts. Perhaps this is an issue caused by my custom querys, I really don’t know.
I don’t expect you to answere since support for this plugin is paid, and I bet you are really tired of endless stupid questions. I guess I just have to buy support in order to get this work, and I will, when I can. This plugin is just too good to let go of.Forum: Themes and Templates
In reply to: CSS columns and several loopswildfremd: Yes, but really, as long as the output becomes as it is supposed to do, and as long as the code validates perfect, then it really is no problem at all. Ok, tables is really old fashion, but as long as it does the job -what the heck is the problem. If we freeze and the electricity is out, we have to light up in the fireplace. The heat will save us. In both ways π
Forum: Themes and Templates
In reply to: CSS columns and several loopsIn the end, it turned out to be impossible to solve this with CSS. I had to dig in the ground and recover some stone age tables. then it worked. Like a charm. What a pity…But who cares, as long as it works as it should. After all, it is not forbidden to use tables.
Forum: Plugins
In reply to: [Plugin: GD Star Rating] Fantastic – but HOW to query??Thank you GDragoN. I did as you told. My query goes like this:
<?php $cool = new WP_Query('gdsr_sort=rating&gdsr_order=desc&cat=5&posts_per_page=5'); while ($cool->have_posts()) : $cool->the_post(); etc....But it doesn’t take any notice of post ratings.
Forum: Themes and Templates
In reply to: CSS columns and several loopsMercime: No, it is on another site template I am working on. Yes, I refreshed the browser, and no, I only embeded the CSS needed, as I found in the three columns example.
Forum: Themes and Templates
In reply to: CSS columns and several loopsThak you for your suggestion simplethemes! A really helpful site. But it still gets f***ed up. I guess it is something wrong with the style implementation into my custom querys. Here is the first query (of three):
<div class='container container_3'> <div class='grid_1 suffix_2'> <h3>query nr 1:</h3> <?php $cool = new WP_Query('gdsr_sort=rating&sort_order=desc&cat=5&posts_per_page=5'); while ($cool->have_posts()) : $cool->the_post(); $post_image = get_post_meta($post->ID, 'image', true); $post_alt = get_post_meta($post->ID, 'alt', true); ?> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent url to <?php the_title(); ?>"><?php if (strlen($post->post_title) > 20) { echo substr(the_title($before = '', $after = '', FALSE), 0, 20) . '...'; } else { the_title(); } ?></a></h2> <?php if($post_image !== '') { ?> <a href="<?php the_permalink(); ?>" title="<?php if($post_alt !== '') echo $post_alt; else the_title(); ?>"><img src="<?php echo $post_image; ?>" alt="<?php if($post_alt !== '') echo $post_alt; else the_title(); ?>" style="width:250px;height:190px; " /></a> <?php } else { echo 'missing image'; } ?> <?php echo '</div>'; endwhile; ?> <div class='clear'> </div>Forum: Themes and Templates
In reply to: CSS columns and several loopsmercime: Thanks for your suggestion, but the result were as before: one long column.
Forum: Themes and Templates
In reply to: CSS columns and several loopsOk.. I guess I have to use tables…
Forum: Themes and Templates
In reply to: What is wrong with my loop or Query Object?Thank you alchymth – again!
Forum: Themes and Templates
In reply to: What is wrong with my loop or Query Object?bump? π
Forum: Plugins
In reply to: [Plugin: GD Star Rating] Fantastic – but HOW to query??Thank you for your reply GDragoN, and thank you so much for the plugin. It really works excellent on my posts.
But please, believe me. I have read my eyes red, I have scanned every dot on your site, I have googled to Mars, I have dived into the documentation-bible, but I really can’t understand how to implement a working query based upon rating of posts. What I posted seems as the way to do it, but it won’t work. Really.