destrones
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack Social] Jetpack not posting excerpt to Facebooknobody here or what??
Forum: Plugins
In reply to: [Jetpack Social] Jetpack not posting excerpt to Facebookhelp please???
Forum: Plugins
In reply to: [AgentPress Listings] Send to text editor?Isnt it possible then to display the taxonomies on the post?
Forum: Fixing WordPress
In reply to: Ger posts sorting order numberNevermind again. I had fucked up. Your code actually works, thank you!
Forum: Fixing WordPress
In reply to: Ger posts sorting order numberI tried but didnt work. However this did the trick for the page 2 and on:
<?php $i=1; while (have_posts()) : the_post(); ?>
<?php $rank=$i++; echo $rank + (($paged – 1) * $posts_per_page); ?>but since $paged is 0 when on the first page, it doesnt work for page 1. But i think we are close.
Forum: Fixing WordPress
In reply to: Ger posts sorting order numberRight now i have it like this
<?php $i=1; while (have_posts()) : the_post(); ?>
<?php echo $i++; ?>
so if i use your formula it should be like this?
<?php $i = ( max($paged,1) – 1 ) * $posts_per_page + 1; while (have_posts()) : the_post(); ?>
<?php echo $i++; ?>
Forum: Fixing WordPress
In reply to: Ger posts sorting order numberYes, $paged is zero. Wehre should i put that formula? before the loop starts or inside the loop?
Forum: Fixing WordPress
In reply to: Ger posts sorting order numberThat looks good. Is $paged and $posts_per_page are already default WP variables? or do i still need to define them myself?
Forum: Fixing WordPress
In reply to: Ger posts sorting order numberNevermind, i used <?php $i = 1; while (have_posts()) : the_post(); ?> and then <?php echo $i++; ?> which worked. However, it only looks fine on the first page since the counter shows the order of the posts FOR the current page and not overall. That means all the pages have a post number 1, 2, 3 and so on so i think the counter on the loop is not gonna work. Any suggestions?
Forum: Fixing WordPress
In reply to: Ger posts sorting order numberThats a good idea. I would appreciate if you have a suggestion on how to do it.
Thank you.
Forum: Fixing WordPress
In reply to: single_cat_title() wont work when using comment_countI think it may be the GD Star rating plugin but i cant try deactivating it because it will delete all my settings.
Forum: Fixing WordPress
In reply to: single_cat_title() wont work when using comment_countHi,
thank you but it didnt work. The name and the description do appear now but the posts are not arranged by comment count. I put the code right after <?php if (have_posts()) : ?> should i put it somewhere else?
Thank you.