Tagged: x
-
AuthorPosts
-
October 25, 2016 at 3:32 pm #1230462
msf_nathanParticipanthttp://msfglobal.net/_development/msfnew/blog/
With your support, I would love to edit the php of wp-index.php into the mockup attached, removing entry thumb pic, centering the content and adding a button to view post.
Is this possible?
<?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(); ?> <?php x_get_view( 'ethos', '_post', 'slider' ); ?> <div class="x-container max width main"> <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(); ?>Also, ideally Post 1 (post in featured section at top) is only showing in that featured section. Right now it is showing there and below.. so twice.
Thanks!
October 25, 2016 at 3:35 pm #1230463
msf_nathanParticipantFile did not attach. Here it is.
October 25, 2016 at 11:32 pm #1230902
RupokMemberHi there,
Thanks for writing in! So you want the normal posts layout like the featured post? You can grab the format from /framework/view/ethos/_index-featured.php to /framework/view/ethos/_index.php
Hope this helps.
October 26, 2016 at 9:32 am #1231575
msf_nathanParticipantNo, just like in the attachment, blog-index-3.png, above.
October 26, 2016 at 11:16 am #1231757
RupokMemberHi there,
Yes I noticed the screenshot and the above suggestion is fine. You can just use the same format of featured post and exclude the meta on top.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1230462 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
