Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1349796
    Marcel
    Participant

    Hey,
    I want Essential Grid on the first Page and only on the first Page “example.org”.
    In or under the space of the ethos post slider,
    Where do I need to put my short code for that ?
    Cornerstone won’t work for that “page”.

    Thank you.

    #1349968
    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    First please share us your URL so we could check your setup.

    Next, would you mind sharing us a screenshot on where you want to add the essential grid.

    Thanks.

    #1350535
    Marcel
    Participant
    This reply has been marked as private.
    #1350563
    Christopher
    Moderator

    Hi there,

    Home page is blog page and its content generates automatically base on wordpress posts.

    Please copy the file wp-index.php from framework/views/ethos and put it in the same path inside child theme, replace existing code with following :

    <?php
    
    // =============================================================================
    // VIEWS/ETHOS/WP-INDEX.PHP
    // -----------------------------------------------------------------------------
    // Index page output for Ethos.
    // =============================================================================
    
    $is_filterable_index = is_home() && x_get_option( 'x_ethos_filterable_index_enable' ) == '1';
    
    ?>
    
    <?php get_header(); ?>
    
      <div class="x-container max width main">
    
        <?php x_get_view( 'ethos', '_post', 'slider' ); ?>
        <?php if (is_front_page()) :?>
          <?php echo do_shortcode('[ess_grid alias="test"]'); ?>
        <?php endif; ?>
    
        <div class="offset cf">
          <div class="<?php x_main_content_class(); ?>" role="main">
    
            <?php if ( $is_filterable_index ) : ?>
              <?php x_get_view( 'ethos', '_index' ); ?>
            <?php else : ?>
              <?php x_get_view( 'global', '_index' ); ?>
            <?php endif; ?>
    
          </div>
    
          <?php get_sidebar(); ?>
    
        </div>
      </div>
    
    <?php get_footer(); ?>

    Instead of [ess_grid alias="test"] put essential grid shortcode.

    Hope it helps.

    #1350586
    Marcel
    Participant

    Thank you for the quick response,
    But it doesn’t work, now I have a completely blank/white page.

    Also I don’t make any posts, I only use pages.
    Already changed post carousel and slider to show pages.

    #1350600
    Christopher
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1350620
    Marcel
    Participant
    This reply has been marked as private.
    #1350667
    Christopher
    Moderator

    Hi there,

    FTP credentials didn’t work, please check.
    The code works fine on my end, maybe it’s related to your post slider customization.

    Thanks.

    #1350689
    Marcel
    Participant
    This reply has been marked as private.
    #1351509
    Marcel
    Participant

    I don’t know why or how, but after doing trying hundreds things like space between the brackets etc.
    I got it to work

    Did you changed anything ? Just want to know if I need to revert anything.

    Thank you very much

    #1351757
    Friech
    Moderator

    Hi There,

    Nope, have not login to your server. Maybe it was your browser’s cache or caching plugin.

    Glad things sorted out.

    Thanks.

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