Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1058364
    worldofjames
    Participant

    Hi 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

    #1058367
    worldofjames
    Participant
    This reply has been marked as private.
    #1058810
    Rad
    Moderator

    Hi 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.

    #1061532
    worldofjames
    Participant

    Thanks Rad… appreciate the help!

    #1061622
    Darshana
    Moderator

    Glad we were able to help 🙂

    #1062808
    worldofjames
    Participant

    Hi 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!

    #1062911
    Paul R
    Moderator

    Hi,

    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.

    #1063587
    worldofjames
    Participant

    Hi – 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”]’); ?>

    #1063681
    worldofjames
    Participant

    Sorry – 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

    #1063720
    Rupok
    Member

    Hi 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!

  • <script> jQuery(function($){ $("#no-reply-1058364 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>