Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5555

    I need to display slider and text by it’s side. Since it’s not possible to add sidebar to the custom template, I’m using blog element to have a slideshow. However, I don’t need any posts to be displayed.

    Althought in the options it’s possible to choose 0 blog posts it still shows at least some post. How can I change that?

    #50852

    Hey,

    try following – open up includes/helper-templates.php and replace:

    get_template_part( 'includes/loop', 'index' );
    echo "</div>";
    $avia_config['currently_viewing'] = "blog";

    with:

    if ($dynamic_blog_posts_per_page != 0){
    get_template_part( 'includes/loop', 'index' );
    }
    echo "</div>";
    $avia_config['currently_viewing'] = "blog";

    #50853

    Thanks, Dude, for fast reply! Will try that out.

    #50854

    I hope it worked :)

    #50855

    Great! Works wonderfully! Thanks for Your advice! Besides- I need to translate everything into latvian. Where can I find .po, .mo files?

    #50856

    Great – you can find the po file in the shoutbox/lang/ folder

    #50857

    Thanks for Your help!

    #50858

    Glad that I could help you :)

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

The topic ‘Modify blog element’ is closed to new replies.