WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Minifolio - Slider problem (2 posts)

  1. paulverhulst
    Member
    Posted 1 year ago #

    Hi,

    Last month I bought a theme at Themeforest (Minifolio for WordPress)
    The theme works perfect for me, except one thing.

    When i click on a portfolio page, just 4 pictures are appearing in the slide show. In the code i found some lines which provides the possibility to add four pictures to the page.
    They looked like this:

    <?php if($img_post1){ ?>
    <li><img src="<?php echo get_stylesheet_directory_uri() ?>/library/timthumb.php?src=<?php echo $img_post1 ?>&h=615&w=830&zc=1" alt="<?php echo get_the_title() ?>" /></li>
                            <?php } ?>

    There where four of them, so i doubled them to ten.
    Above this line i saw this line, which i doubled also to ten:

    $img_post1 = get_post_meta( $post->ID, '_mf_image_1', true );
    When i create a new portfolio-item i can add ten pictures to the page.

    Now comes the problem:
    When i go to the address, i can see only four pictures, but i uploaded and selected ten pictures..
    The four pictures are appearing, but when i click next, the first one will show up again.

    I tried to contact the developer of the theme, but he doesn't respond anymore to people.

    You can reach my site at http://www.angelavanlindt.nl

    Can anyone please help me?

    Kind regards, Paul

  2. paulverhulst
    Member
    Posted 1 year ago #

    Solved..

    $img_post1 = get_post_meta( $post->ID, '_mf_image_1', true );
    I just replaced only the second number, not the first..

    Stupid mistake.. ;)
    Thanks anyway!

Topic Closed

This topic has been closed to new replies.

About this Topic