Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #886569
    Darren G
    Participant

    Hi,

    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

    #886980
    Thai
    Moderator

    Hi 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 🙂

    #886981
    Darren G
    Participant

    Hi 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

    #887485
    Rue Nel
    Moderator

    Hello 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.

    #888816
    Darren G
    Participant

    Hi,

    Thanks for your help – that’s working perfectly.

    #889417
    Rupok
    Member

    You 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!

    #1114417
    Darren G
    Participant

    Ignore – I fixed it

    #1114488
    Prasant Rai
    Moderator

    Happy to hear that. Feel free to ask us again. Have a great day! 🙂

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