Tagged: x
-
AuthorPosts
-
June 24, 2016 at 1:30 pm #1058364
worldofjamesParticipantHi there
Is there anyway of changing the post carousel at the top of the Ethos 1 theme and replacing it with my own essential grid?
On My homepage, you’ll see I have a grid at the bottom, I’d like the post carousel to have the same skin so they both match.
The site is currently under construction, so log-in details are on the next post
Many thanks as ever
James
June 24, 2016 at 1:31 pm #1058367
worldofjamesParticipantThis reply has been marked as private.June 24, 2016 at 8:29 pm #1058810
RadModeratorHi there,
Thanks for writing in.
It’s possible, but you will be editing this file,
\wp-content\themes\x\framework\views\ethos\_post-carousel.php
But before you do that, copy that file to your child theme (eg. \wp-content\themes\x-child\framework\views\ethos\_post-carousel.php )
and replace the entire content of your child theme’s post-carousel.php with this code with your essential grid’s shortcode.
<?php echo do_shortcode('[your_essential_grid_shortcode]'); ?>Hope this helps.
June 27, 2016 at 9:01 am #1061532
worldofjamesParticipantThanks Rad… appreciate the help!
June 27, 2016 at 9:52 am #1061622
DarshanaModeratorGlad we were able to help 🙂
June 28, 2016 at 2:10 am #1062808
worldofjamesParticipantHi guys. I tried implementing the above but it didn’t seem to work. I was just getting a blank page and all content disappeared.
Do I remove ALL the content from this file
\wp-content\themes\x\framework\views\ethos\_post-carousel.php
Also do I leave the ” in this? <?php echo do_shortcode(‘[your_essential_grid_shortcode]’); ?>
My short code is
[ess_grid alias=”top featured”]
Sorry – I’m a code novice!
June 28, 2016 at 3:52 am #1062911
Paul RModeratorHi,
You need to copy the file first to your child theme -> wp-content/themes/x-child/framework/views/ethos/_post-carousel.php
Then remove all the contents of this file wp-content/themes/x-child/framework/views/ethos/_post-carousel.php
and add this code<?php echo do_shortcode('[your_essential_grid_shortcode]'); ?>Hope that helps.
June 28, 2016 at 12:21 pm #1063587
worldofjamesParticipantHi – thanks Paul… I’ve done all that.
This is what I am replacing the code with, but it just makes the carousel disappear altogether<?php echo do_shortcode(‘[ess_grid alias=”top featured”]’); ?>
June 28, 2016 at 1:12 pm #1063681
worldofjamesParticipantSorry – that seems to have kicked in now and is working – many thanks guys awesome work…
Can I ask an Essential Grid question while here… is there any way of making the grid a loop, so when people click left or right, it only rotates one slide and the slides keep on looping to fill up any white space
At the moment, when I click on the arrows, it moves all four of the slides along and then leaves one slide with dead white space…
many thanks
June 28, 2016 at 1:30 pm #1063720
RupokMemberHi there,
Thanks for updating. I am not sure if that could be possible with Essential Grid or not. Kindly explore their documentation if you find such option – http://essential.themepunch.com/documentation/
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1058364 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
