Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author subhansanjaya

    (@subhansanjaya)

    Hi Astpaul,
    Thank you for downloading the plugin and I’m sorry for replying you so late. You will find a working example of this plugin on below web site. Please, have a look.

    https://www.unawatunabeach.net

    I used the same plugin and made few changes as you did. In addition I added href attribute before the image in order to link the images. also I made some changes to the css file.

    Here is my code-

    carousel-horizontal-posts-content-slider.php
    line 44 -52

    if($displayimage==”YES”){
    $slider_gallery.= ‘‘.attachment_image_filter($post->ID, ‘thumbnail’, ‘alt=”‘ . $post->post_title . ‘”‘).’‘;
    }
    /*$slider_gallery.= ‘<h2>’.$post_title.'</h2>’;
    $slider_gallery.= ‘<p><span class=”foo_con”>’.tchpcs_clean($post_content, $displaydesc).'</span></p>…’;
    $slider_gallery.= ‘<span class=”more”>read more</span>’; */
    $slider_gallery.= ‘</div>’;

    }

    It works fine for me. I can’t tell you what went wrong till looking at your code or your live site. Also images are always same size. There is a small function to makes images specified size. please, check line #104. according to the size of images, you can change the width of #foo_content id in custom-style. css file. also you customize it way you want by adding background colors, borders etc. If you are using another css file to image attribute, please, have a look at it.

    return “<img width=’115′ height=’115′ src='”. $attachment[0] . “‘ ” . $attributes . ” />”;

    Please, have a look at your code again. I hope you can figure it out. Let me know if you need any further assistance.

    Thank you.

    Thread Starter astpaul

    (@astpaul)

    Thank you so much for your feedback. I went to another plugin yesterday.
    I wish you an awesome year ahead.

    Take care.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Loads always the same posts’ is closed to new replies.