-
Author
-
February 13, 2015 at 12:05 #45982
mlennox10
ParticipantHi there, I love the clients option however I’m struggling to find a way to revolve them on page refresh. To be clear, I have 20 clients but only want to display 6 client logs at any one time. Each time the page refreshes I’d like the logos to display at random. Can you tell me how I can achieve this please?
Thank you
February 16, 2015 at 22:32 #46303mlennox10
ParticipantAny help of this would be really appreciated. Thanks in advance
February 17, 2015 at 15:52 #46394Radu
ModeratorHello,
You need to create inside kleo-child directory a folder named k_elements an inside that folder must be this file (see attachment).
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.February 17, 2015 at 17:19 #46425mlennox10
ParticipantWell it does something but not what I wanted. The animation and fade have gone and they now are all vertical?
Here’s what it looks like now:
https://www.diigo.com/item/image/55mss/yw68
Thanks anyway though.
February 17, 2015 at 17:52 #46431Radu
ModeratorWas not supposed to happen that.
In this case place original file there in kleo-child/k_elements/
and add ths code
COPY CODE'orderby' => 'rand'
after
‘showposts’=> $number,
That’s all !
It has nothing to do with html, animations, etc.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 17, 2015 at 17:57 #46438mlennox10
ParticipantSorry, by ‘original file’ you mean the attachment you provided above?
February 17, 2015 at 18:18 #46452Radu
ModeratorNo,
This file : wp-content\plugins\k-elements\shortcodes\templates\kleo_clients.phpCopy this file in the path mentioned earlier ( kleo-child/k_elements/ ) and then follow the instruction from above.
What version of Kleo you have ?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 17, 2015 at 18:27 #46457mlennox10
ParticipantOk thank you, I’ll give that a go. I have the latest version (updated today)
February 17, 2015 at 22:14 #46475mlennox10
ParticipantYES! is worked (after a few failed attempts on my part inputting the code in the wrong place!).
Great help thank you.
Is it possible to replicate this in a side bar?
February 19, 2015 at 17:52 #46738Radu
ModeratorWelcome,
Yes, you need to find your preffered widget and add that code in array args.
Hope you doing.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 6, 2016 at 11:42 #135078mlennox10
ParticipantI am trying to replicate this on another site of mine but it does not seem to be working! Is there any updates on this or any suggestions on how to go about completing this? Any help would be greatly appreciated.
September 6, 2016 at 16:57 #135118Radu
ModeratorMake sure in that another site you have child theme installed and activated also pay attention to the folder name from child theme to be k_elements not k-elements
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 16, 2016 at 11:14 #136309mlennox10
ParticipantI will take another look at this with your guidance, thank you very much for your help!
September 16, 2016 at 14:44 #136327Radu
ModeratorNo problem
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 20, 2016 at 16:39 #136642mlennox10
ParticipantThank you very much for your time and help! After looking over it all I am still not able to make any progress on fixing this is there any other suggestions you may have?
September 20, 2016 at 17:26 #136649Radu
ModeratorSo,
Using this file : https://archived.seventhqueen.com/forums/topic/revolving-clients/#post-46394 by adding it to : kleo-child/k_elements/ the clients should be displayed randomly.
This it works because i’ve tested
Note : child theme needs to be installed and activated
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 20, 2016 at 18:00 #136664mlennox10
ParticipantOkay I will have another look, thank you very much for your help!
September 20, 2016 at 18:33 #136673Radu
ModeratorNo problem
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.