Tagged: x
-
AuthorPosts
-
May 9, 2016 at 12:23 pm #982622
mpanesarParticipantHi,
style.css created, many thanks.
Can we investigate the original issue please?
May 9, 2016 at 4:22 pm #983019
FriechModeratorHi There,
The social share and tags are showing up on my end. Would you mind to clarify the issue?
And confirm the query here please, the file is different from the one we provided.
Thanks.
May 10, 2016 at 4:41 am #983768
mpanesarParticipantThis reply has been marked as private.May 10, 2016 at 10:56 am #984317
RupokMemberHi there,
Thanks for writing back. Author page is not using the same file rather archive template. You might have enabled excerpt for archive template. Can you find and share the code you are using to add excerpt?
Cheers!
May 11, 2016 at 5:58 pm #986697
mpanesarParticipantHi Rupok,
Thanks for your reply, where could I find the archive template please?
May 11, 2016 at 11:09 pm #987114
RupokMemberHi there,
You can look at the global folder (framework/views/global) and the files _content-the-excerpt.php and _content.php.
Before that check your Child Theme that if you enabled excerpt by any function.
Thanks
May 17, 2016 at 2:43 pm #996053
mpanesarParticipantHi,
No changes made to those files – all under the X theme.
_content-the-excerpt.php
<?php // ============================================================================= // VIEWS/GLOBAL/_CONTENT-THE-EXCERPT.PHP // ----------------------------------------------------------------------------- // Display of the_excerpt() for various entries. // ============================================================================= ?> <?php do_action( 'x_before_the_excerpt_begin' ); ?> <div class="entry-content excerpt"> <?php do_action( 'x_after_the_excerpt_begin' ); ?> <?php the_excerpt(); ?> <?php do_action( 'x_before_the_excerpt_end' ); ?> </div> <?php do_action( 'x_after_the_excerpt_end' ); ?>_content.php
<?php // ============================================================================= // VIEWS/GLOBAL/_CONTENT.PHP // ----------------------------------------------------------------------------- // Display of the_excerpt() or the_content() for various entries. // ============================================================================= $stack = x_get_stack(); $is_full_post_content_blog = is_home() && x_get_option( 'x_blog_enable_full_post_content' ) == '1'; ?> <?php if ( is_singular() || $is_full_post_content_blog ) : x_get_view( 'global', '_content', 'the-content' ); if ( $stack == 'renew' ) : x_get_view( 'renew', '_content', 'post-footer' ); endif; else : x_get_view( 'global', '_content', 'the-excerpt' ); endif; ?>No file in x-child theme appears to call the excerpt function
Any other advise would be appreciated.
May 18, 2016 at 3:07 pm #998023
RadModeratorHi there,
It depends on the stack, for example, on renew stack, post tags are set displayed on single post only, or at post items that have homepage full content is enabled.
( is_singular() || $is_full_post_content_blog )( $stack == 'renew' ) :The solution is editing that file and changing this block of code
if ( is_singular() || $is_full_post_content_blog ) : x_get_view( 'global', '_content', 'the-content' ); if ( $stack == 'renew' ) : x_get_view( 'renew', '_content', 'post-footer' ); endif; else : x_get_view( 'global', '_content', 'the-excerpt' ); endif;to this,
if ( is_single() ) : x_get_view( 'global', '_content', 'the-content' ); x_get_view( 'renew', '_content', 'post-footer' ); else : x_get_view( 'global', '_content', 'the-excerpt' ); endif;Hope this helps.
May 19, 2016 at 1:22 pm #999966
mpanesarParticipantHi,
Thats done the trick!!!! Thank you all for your help and assistance! very appreciated 🙂
May 19, 2016 at 2:01 pm #1000037
RahulModeratorYou’re welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-858440 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>

