Tagged: x
-
AuthorPosts
-
April 17, 2016 at 3:58 am #886569
Darren GParticipantHi,
I’m using the Renew Stack and want to do 2 things:
Remove the Category from the Meta which is displayed under the post title
Under a Category view always show the full post, not an excerpt
This is my website – http://www.stannesgateshead.org.uk/
I have installed a child theme and have edited the functions file based on posts I have found in the forum, but every time I get an error, have to go into the FTP server, manually delete the child theme and start again.
Hope someone can help
Thanks
April 17, 2016 at 12:37 pm #886980
ThaiModeratorHi There,
Remove the Category from the Meta which is displayed under the post title
Please add the following CSS under Customizer > Custom > Global CSS:
.p-meta>span:nth-child(3), .p-meta>span:nth-child(2):after { display: none; }Under a Category view always show the full post, not an excerpt
Please navigate to Customizer > Blog > CONTENT > Full Post Content on Index > select On:
http://i.imgur.com/MbrIl37.png
Hope it helps 🙂
April 17, 2016 at 12:42 pm #886981
Darren GParticipantHi Thai,
Thanks for your reply – Regarding the Show Full Post, Not An Except.
I have Full Post Content On Index Selected On – This Only Works on the default Blog page – http://www.stannesgateshead.org.uk/news/
Not Category Pages – http://www.stannesgateshead.org.uk/category/news/
Could you have another look please – I’d like all Category pages to show full posts.
Thanks
April 17, 2016 at 11:40 pm #887485
Rue NelModeratorHello There,
I am another staff checking on this thread! Full post content is only available in the blog index. If you want to make the category archives pages to show full content, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file<?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 || is_category() ) : 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; ?>3] Save the file named as
_content.php
4] Upload this file to your server in the child theme’s folder
wp-content/themes/x-child/framework/views/global/If you need anything else, please let us know.
April 18, 2016 at 2:34 pm #888816
Darren GParticipantHi,
Thanks for your help – that’s working perfectly.
April 19, 2016 at 2:11 am #889417
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
August 2, 2016 at 3:38 pm #1114417
Darren GParticipantIgnore – I fixed it
August 2, 2016 at 4:17 pm #1114488
Prasant RaiModeratorHappy to hear that. Feel free to ask us again. Have a great day! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-886569 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
