Tagged: x
-
AuthorPosts
-
January 29, 2017 at 12:59 pm #1349796
MarcelParticipantHey,
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.
January 29, 2017 at 5:30 pm #1349968
NicoModeratorHi 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.
January 30, 2017 at 5:06 am #1350535
MarcelParticipantThis reply has been marked as private.January 30, 2017 at 5:45 am #1350563
ChristopherModeratorHi 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.
January 30, 2017 at 6:11 am #1350586
MarcelParticipantThank 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.January 30, 2017 at 6:19 am #1350600
ChristopherModeratorHi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
January 30, 2017 at 6:39 am #1350620
MarcelParticipantThis reply has been marked as private.January 30, 2017 at 7:23 am #1350667
ChristopherModeratorHi 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.
January 30, 2017 at 7:39 am #1350689
MarcelParticipantThis reply has been marked as private.January 30, 2017 at 6:01 pm #1351509
MarcelParticipantI don’t know why or how, but after doing trying hundreds things like space between the brackets etc.
I got it to workDid you changed anything ? Just want to know if I need to revert anything.
Thank you very much
January 30, 2017 at 10:17 pm #1351757
FriechModeratorHi There,
Nope, have not login to your server. Maybe it was your browser’s cache or caching plugin.
Glad things sorted out.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1349796 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
