Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1142236

    hi all,

    not sure im using the correct language here.

    i would like to in my easy slider and full screen sliders to just show the arrows and not how many images there are in the show, with the little dot things at the bottom what ever they are called. I know i can hide both which i have done in control styling, but as i have quite large slide shows the rows of dots are distracting but the arrows are not.

    would be nice to know an easy way of not having these visible if possible, might be an add on you could consider in an update.

    cheers

    en

    #1143047

    Hey isreynolds_137,
    sorry for the late reply, It looks like you are already hiding the arrows and dots, so to hide only the dots please remove your other code and then use this in your Quick CSS and then clearing your browser cache:

    .avia-slideshow-dots.avia-slideshow-controls {
    	display: none !important;
    }

    If this doesn’t help, then please remove your other code so the arrows and dots show and we can then only hide the dots.

    Best regards,
    Mike

    #1143624

    ok wicked ill give it a try cheers en

    #1143634

    yes all good works great cheers en, now for random slide shows

    #1144052

    Hi,
    It sounds like this was a success, glad we could help. But did you want the images to show in a random order?
    I believe this code at the end of your child theme functions.php file will help, please use ftp to add the code should it crash your site, you can then easily remove:

    add_filter('avia_masonry_entries_query','avia_order_by_random', 10, 2);
    function avia_order_by_random($query, $params)
    {
    $query['orderby'] = 'title';
    $query['order'] = 'rand';
    
    $terms = explode(',', $params['categories']);
    if (!empty($terms) && in_array(1, $terms)) 
    {
        $query['orderby'] = 'date';
    }
    return $query;
    }

    Best regards,
    Mike

    #1144137

    cheers mike,

    yes got the no round things to work, but that functions code did not work and left me with a weird string of code across my site, which did not go away when replaced with original functions file, as im not expert im rolling my database and files back to yesterday to fix the problems. when that error was not there. cheers en

    #1144879

    Hi,
    I checked your site but didn’t find any odd string of code across your site, but if you would please include ftp access to your site I can try to restore your site by removing the code above.

    Best regards,
    Mike

    #1148832

    hi there mike,

    very sorry for the late reply, i had the flu. Ok i tried to drop the code in odds on i dropped it in the wrong place and ended up with the line of code visible in the home page.If there is a way of doing it great. I just backed up my files and database before fiddling, so i just deleted them and re dragged the working ones back across.

    Im not that familiar with the functions code. is there a way of attaching it to this message.
    in fact doh, ive copied my current functions in the private content below.

    how do i drop it in in please,i know html but ccs, java etc go over my head a bit.
    cheers en

    #1148834

    sorry forgot to add the home page and all galleries are either full width sliders or easy sliders not masonry galleries, ramdonkising the masonary galleries would be cool as well.

    #1149241

    would this be the correct way to drop the code in please

    <?php

    /*
    add_filter(‘avia_masonry_entries_query’,’avia_order_by_random’, 10, 2);
    function avia_order_by_random($query, $params)
    {
    $query[‘orderby’] = ‘title’;
    $query[‘order’] = ‘rand’;

    $terms = explode(‘,’, $params[‘categories’]);
    if (!empty($terms) && in_array(1, $terms))
    {
    $query[‘orderby’] = ‘date’;
    }
    return $query;
    }*/

    im not so good at this kind of thing cheers en

    #1149381

    Hi,
    Sorry for the late reply, please don’t include the code between the /* and */ this makes it inactive.
    Your child theme functions.php should look like this:

    <?php
    
    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */
    
    add_filter('avia_masonry_entries_query','avia_order_by_random', 10, 2);
    function avia_order_by_random($query, $params)
    {
    $query['orderby'] = 'title';
    $query['order'] = 'rand';
    
    $terms = explode(',', $params['categories']);
    if (!empty($terms) && in_array(1, $terms)) 
    {
        $query['orderby'] = 'date';
    }
    return $query;
    }

    this part is only a comment and is not needed:

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */

    Best regards,
    Mike

    #1151181

    That does not work im afraid, ive left the code in, and will roll back the site to a previous saved version, after the weekend.

    regards ian

    #1151588

    Hi,
    I looked into this further and found that this is not available for the full screen slider, you could try mixing the slides order up since they are drag and drop in the element, or you could use the layerslider instead.

    Best regards,
    Mike

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.