Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #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.



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



    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']);


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


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


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


    yes it works .. thank you very much


    Glad that I could help you :)


    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.


    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…


    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:


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.