Skip Navigation

[Resolved] loop item grid carousel

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 13 replies, has 2 voices.

Last updated by jetmirA 5 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#1209296
search.png

Is it possible to make loop gird gallery with controls and indicators

hidden link

#1209614

Yes, it is possible to use a nested Slider View to display a gallery of images inside a Grid View. There are some limitations to be aware of:
- Toolset Slider Views are designed to loop over posts, not repeating image fields. If you want to use repeating image fields as the source of the images, the process is a bit more complex: https://toolset.com/forums/topic/how-to-display-the-pics-i-uploaded-as-a-slider/#post-518295
- A custom design with navigation arrows over the image content may require custom CSS. That falls outside the scope of support we provide here in the forums.
- Nesting multiple Views can have performance impacts, especially if querying related posts.
- Preloading and caching multiple slider Views can have performance impacts, and usually is not practical.

#1209634

Okej sir , what im asking is in search view with posts , i want in those posts to have my photos that i have created on costum fields , for example i used this code on my gird content template :

<!-- Place somewhere in the <body> of your page -->
<div class="flexslider">
<ul class="slides">

  • <img src="[types field='image-1' width='500' height='400' align='none' resize='stretch'][/types]" />
  • <img src="[types field='image-2' width='500' height='400' align='none' resize='stretch'][/types]" />
  • <img src="[types field='image-3' width='500' height='400' align='none' resize='stretch'][/types]" />
  • </div>

    but it doesnt work .!
    i have an example here hidden link , im testing here

    #1209705

    It looks like you should use url="true" in the Types field shortcodes, since you just want the URL for the img src:

    <img src="[types field='image-1' width='500' height='400' align='none' resize='stretch' url='true'][/types]" />
    

    Try adding url='true' in each image field shortcode.

    #1209845
    slider.PNG

    Thank you , but now is showing me 3 pictures , not the slider

    #1210115

    Have you enqueued the FlexSlider library? Have you added the JavaScript code to initialize the Flexsliders? May I see this in the browser?

    #1210130
    3a.PNG
    2.PNG
    1.PNG

    Theres some screenshots

    #1210259

    Have you enqueued the FlexSlider library?
    I see a screenshot showing what looks like a representation of the files existing on the server. That is not the same as enqueueing the library in your theme. See Nigel's comment here for a PHP example:
    https://toolset.com/forums/topic/how-to-display-the-pics-i-uploaded-as-a-slider/#post-518295

    Can I see this in the browser?
    A screenshot doesn't help me diagnose the problem very well. I'd like to see this in the browser, not in a screenshot of the browser, to make additional recommendations.

    #1210284

    im testing here hidden link ,
    i dont know where to put this code sir

    function enqueue_flexslider(){

    if ( !is_admin() ) {

    wp_enqueue_script( 'flexslider-js', get_theme_file_uri( '/flexslider/jquery.flexslider-min.js' ), array( 'jquery' ), '1.0' );
    wp_enqueue_style( 'flexslider-css', get_theme_file_uri( '/flexslider/flexslider.css' ), array(), '1.0' );

    }

    }
    add_action( 'wp_enqueue_scripts', 'enqueue_flexslider' );

    #1210285

    if you want the user name and password tell me i will give u

    #1210286
    t.PNG
    php.PNG

    i have write this code on functions.php , and the images are disappear

    #1210297

    SIR THANK YOU VERY MUCH FOR SUPPORT , I ALREADY DID IT , BUT I HAVE ONLY ONE QUESTION , I CANT SEE THE SLIDER CONTROLS NOW

    #1210299
    controls.jpg

    Slider Controls

    #1210413

    My issue is resolved now. Thank you!