Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #878619
    Fred C
    Participant

    Hi,

    i want the desctiption of the blog page to work. I am using the Renew stack.

    The website is http://www.wellcoll.nl

    Can you guide me in the right direction?

    #879423
    Darshana
    Moderator

    Hi there,

    Thanks for writing in!

    Before doing any customizations, you will need to setup a Child Theme first. This allows you to keep your own custom changes separately while updating the main X theme.

    Follow the steps below.

    #1. Copy the file: x/framework/views/renew/_landmark-header.php it into your child theme: x-child/framework/views/renew/_landmark-header.php

    #2. Open the the file that you have copied into the child theme using a text editor and locate the following section:

         <?php elseif ( is_category() || x_is_portfolio_category() || x_is_product_category() ) : ?>
    
                <?php
    
                $meta  = x_get_taxonomy_meta();
                $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Category Archive', '__x__' );
    
                ?>
    
                <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
    

    #3. Edit the above section as follows:

         <?php elseif ( is_category() || x_is_portfolio_category() || x_is_product_category() ) : ?>
    
                <?php
    
                $meta  = x_get_taxonomy_meta();
                $title = ( $meta['archive-title'] != '' ) ? $meta['archive-title'] : __( 'Category Archive', '__x__' );
    
                ?>
    
                <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
                <p class="p-landmark-desc"> <?php echo category_description(); ?> </p>
    

    4) Finally you can style the p-landmark-desc class by adding the CSS rules into your child theme’s style.css file or via Customizer, Custom > CSS section using the menu Appearance -> Customize.

    .p-landmark-desc {
        font-size: 14px;
        color: #336699;
    }

    After setting up your child theme make sure to check our Customization Best Practices Guide.

    Hope that helps.

    #885780
    Fred C
    Participant

    Hello,

    I followed your instructions. I used already a child theme. I copied the landmark header php in the child section and edited it.

    Somehow it does not work. Can you check if I did something wrong?

    Thanks!

    #886535
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates!

    Placed the file _landmark-header.php in your child theme’s folder wp-content/themes/x-child/framework/views/renew/.

    Please let us know how it goes.

    #886687
    Fred C
    Participant

    Dear Rue,

    now it works. I run into another small problem.

    https://www.wellcoll.nl/category/autoaanpassingen/ is a link the blog category “Autoaanpassingen” . I want to achieve that the full text of each post is shown here.

    Any suggestions how to do that?

    #886936
    Fred C
    Participant

    Hi there,

    what I found out is that cornerstone based blogpages text is nog shown. Is there a wasy to bypass this?

    #887281
    Rad
    Moderator

    Hi Fred,

    Post created with cornerstone contains shortcodes. And by default, WordPress will remove all HTML, Scripts, and shortcodes to generate plain text excerpt.

    Because of that limitation, WordPress has its own built-in feature for manual excerpt. You can do that by editing your post and clicking Screen Options on the very top of the page. Toggle Excerpt on, then scroll down until you find the excerpt section and manually add you text excerpt.

    Hope this helps.

    #996977
    knowmates
    Participant
    This reply has been marked as private.
    #997022
    Christian
    Moderator

    Hey there,

    Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this.

    Thanks for understanding. Take care!

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