Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3497

    Hi, How are you?

    the theme is very very beautiful. I want to using it in news site. I need to showing in Slider just The last Five Posts. And the rest posts under the slider without repeat.

    The problem:The slider just for the specifc category , I don’t want like that.

    This some picture may be help me to expline for you.

    http://filaty.com/i/1103/10055/aaa.jpg

    http://filaty.com/i/1103/60196/bbb.jpg

    finally : I need opinions for my site, I change it to support arabic langage http://rehlat-world.com

    #42515

    Hey,

    I don’t think it’s possible because of the structure how the theme works (negativate categories, etc.) however you ca try following modification:

    Open up index.php and replace following code:

    $additional_loop = new WP_Query("cat=".$k_option['mainpage']['feature_cats_final']."&posts_per_page=".$k_option['mainpage']['feature_count']);

    with:

    $additional_loop = new WP_Query("&posts_per_page=".$k_option['mainpage']['feature_count']);

    and

    $additional_loop = new WP_Query("cat=".$negative_cats."&paged=$paged");

    with:

    $additional_loop = new WP_Query("cat=".$negative_cats."&offset=5&paged=$paged");

    #42516

    yes it works .. thank you very much

    #42517

    Glad that I could help you :)

    #42518

    Dude , thank you for helping me.

    BUT there is problem with pagination whaen I change the page nothing happen.

    I can’t to back to old posts.

    I’m waiting you.

    #42519

    Hey ,

    You can you try a pagination plugin like: http://wordpress.org/extend/plugins/wp-paginate/ – I think that Kriesis pagination doesn’t support the offset parameter…

    #42520

    thank you very much ..

    but the plugins don’t work ..

    I change the code of index.php page , I disactive the small post ‘smallsized’

    check the code pleaze:

    http://paste.ideaslabs.com/show/Kh9zFfrHa2

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘edit index.php page .. I need the slider show last 5 posts , and ..’ is closed to new replies.