Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ttyd0

    (@ttyd0)

    It’ll be great! =) This method is more convinient then editing php each time after update!

    Thank you!

    Thread Starter ttyd0

    (@ttyd0)

    Yes!
    Thank you very much!

    Thread Starter ttyd0

    (@ttyd0)

    I’ve got only 4 posts on test system and just make preference for 3 posts per page, and got same result =( with your code.

    Tried to use esmi’s code on test system, it works, but add posts from other categories (that’s no big problem).

    It’s strange, but esmi’s code and yours first cod do not works on real system =( i do not know what is wrong…

    Thread Starter ttyd0

    (@ttyd0)

    xdesi, hello.
    i’ve just move this solution to real system…
    there are 6 pages with 10 posts on each, and your code sort posts correctly, but (!) then i try to view second, fird and other pages…
    “wp-pagenavi” plugin show that i stay at first page, system show (at url bar) “…/page/6/” =( and show me first ten posts…

    so i’ve got only ten first posts on each page…

    (there are no any problems on other categories)

    P.S. one more thing.. it’s strange, but esmi code and your first code stop works on real system… both WP versions 2.8.6 now (i’ve just upgrade real site)… both systems has same plugins…

    Thread Starter ttyd0

    (@ttyd0)

    xdesi, thanks! it works! =)

    Thread Starter ttyd0

    (@ttyd0)

    xdesi, esmi, thank you.
    xdesi, sorry, you code works, my fault, didn’t wait file to be uploaded…

    But there is one thing, if I add custom field in other’s category post – it’ll apears in this one…
    so i see
    cat3post
    cat3post
    cat2post
    cat3post
    in cat3 page.
    there is no big problem with it, i’ll be careful =)

    thanks again.

    Thread Starter ttyd0

    (@ttyd0)

    Nothing happens =(

    I’ve got only archive.php (my theme based on default one)…

    get_header(); ?>
    
    <div class="mainDIV">
    	<div class="left">
    <?php get_sidebar(); ?>
    	</div>
    	<div class="right">
    <?php if(is_category('3')){
    query_posts('meta_key=sort_num&orderby=meta_value&order=ASC');
    }
    ?>
    <?php if (have_posts()) : ?>
    
    	<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    	<?php /* If this is a category archive */ if (is_category()) { ?>
    <h1><?php printf(__('%s', 'artvladivostok'), single_cat_title('', false)); ?></h1>
    	<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
    <h1><?php printf(__('Posts Tagged ‘%s’', 'artvladivostok'), single_tag_title('', false) ); ?></h1>
    	<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    <h1><?php printf(_c('Archive for %s|Daily archive page', 'artvladivostok'), get_the_time(__('F jS, Y', 'artvladivostok'))); ?></h1>
    	<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    <h1><?php printf(_c('Archive for %s|Monthly archive page', 'artvladivostok'), get_the_time(__('F, Y', 'artvladivostok'))); ?></h1>
    	<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    <h1><?php printf(_c('Archive for %s|Yearly archive page', 'artvladivostok'), get_the_time(__('Y', 'artvladivostok'))); ?></h1>
    	<?php /* If this is an author archive */ } elseif (is_author()) { ?>
    <h1><?php _e('Author Archive', 'artvladivostok'); ?></h1>
    	<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    <h1><?php _e('Blog Archives', 'artvladivostok'); ?></h1>
    	<?php } ?>
    
    			<?php while (have_posts()) : the_post(); ?>

    Hello.
    Oleg, could you give new link to your plugin?

    P.S. vibirau pluging, chtob dva yazika bilo dlya polzovatelei… uzhe neskolko poproboval – hochu i vash. Pochemu-to dumau, chto on udobnei =)

Viewing 8 replies - 1 through 8 (of 8 total)