Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #996731
    peterok
    Participant

    Hi,

    How can i change the shop main page title, description or even add a slider above?

    I would like to do the same for each individual category.

    Please assist.

    #996758
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! To assist you with this request better, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    To change shop title, head over to Appearance -> Customize -> YourStack{Ethos} and then set the Shop Title under Shop Options.

    Thanks!

    #1004673
    peterok
    Participant
    This reply has been marked as private.
    #1004685
    Rue Nel
    Moderator

    Hello There,

    Regretfully the given username and password is not working for us. Please double check it.

    For the meantime, please go to your customizer, Appearance > Customize > {Your Stack} > Shop Options to change the Shop title and description. There is also some options which you can play around in Appearance > Customize > WooCommerce.

    Hope this helps.

    #1004700
    peterok
    Participant
    This reply has been marked as private.
    #1004704
    Paul R
    Moderator

    Hi,

    Please reduce the size of your screenshot and upload again.

    You can change the category title by adding your own Archive title for each category.

    Please see screenshot – http://screencast.com/t/DmjhtLLq68U

    Hope that helps.

    #1004717
    peterok
    Participant

    What about adding a simple banner above like the attached screen shot?

    I have add their picture in my media
    http://www.cellmates.sg/wp-content/uploads/2016/05/Testshopfrontbanner.jpg

    Could you do like a similar edit so i can duplicate and follow for all the archive?

    I would also like to add a small and shot page description below the Title, similar to the referenced screenshot.

    #1004730
    Christopher
    Moderator

    Hi there,

    Your screen shot didn’t upload, please resize and upload it again.

    To display category description, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Copy landmark-header.php from framework/views/integrity and put it in the same path inside child theme, replace existing code with following :

    <?php
    // =============================================================================
    // VIEWS/INTEGRITY/_LANDMARK-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Handles content output of large headers for key pages such as the blog or
    // search results.
    // =============================================================================
    $disable_page_title = get_post_meta( get_the_ID(), '_x_entry_disable_page_title', true );
    $disable_filters    = get_post_meta( get_the_ID(), '_x_portfolio_disable_filtering', true );
    ?>
    <?php if ( is_home() && x_get_option( 'x_integrity_blog_header_enable' ) == '1' ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_blog_title' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_blog_subtitle' ); ?></span></p>
    </header>
    <?php elseif ( is_search() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Search Results', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll see everything we could locate for your search of ", '__x__' ); echo '<strong>&ldquo;'; the_search_query(); echo '&rdquo;</strong>'; ?></span></p>
    </header>
    <?php elseif ( is_category() || x_is_portfolio_category() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Category Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all posts that have been categorized as ", '__x__' ) . '<strong>&ldquo;' . single_cat_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo $subtitle ?></span></p>
    </header>
    <?php elseif ( x_is_product_category() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Category Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been categorized as ", '__x__' ) . '<strong>&ldquo;' . single_cat_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo category_description() ?></span></p>
    </header>
    <?php elseif ( is_tag() || x_is_portfolio_tag() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Tag Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all posts that have been tagged as ", '__x__' ) . '<strong>&ldquo;' . single_tag_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo $subtitle; ?></span></p>
    </header>
    <?php elseif ( x_is_product_tag() ) : ?>
    <?php
    $meta     = x_get_taxonomy_meta();
    $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Tag Archive', '__x__' );
    $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been tagged as ", '__x__' ) . '<strong>&ldquo;' . single_tag_title( '', false ) . '&rdquo;</strong>';
    ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo $subtitle; ?></span></p>
    </header>
    <?php elseif ( is_404() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Oops!', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "You blew up the Internet. ", '__x__' ); ?></span></p>
    </header>
    <?php elseif ( is_year() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Post Archive by Year', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll find a list of all posts from ", '__x__' ); echo '<strong>'; echo get_the_date( 'Y' ); echo '</strong>'; ?></span></p>
    </header>
    <?php elseif ( is_month() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Post Archive by Month', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll find a list of all posts from ", '__x__' ); echo '<strong>'; echo get_the_date( 'F, Y' ); echo '</strong>'; ?></span></p>
    </header>
    <?php elseif ( is_day() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php _e( 'Post Archive by Day', '__x__' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php _e( "Below you'll find a list of all posts from ", '__x__' ); echo '<strong>'; echo get_the_date( 'F j, Y' ); echo '</strong>'; ?></span></p>
    </header>
    <?php elseif ( x_is_portfolio() ) : ?>
    <?php if ( $disable_page_title != 'on' || $disable_filters != 'on' ) : ?>
    <header class="x-header-landmark x-container max width">
    <?php if ( $disable_page_title != 'on' ) : ?>
    <h1 class="h-landmark"><span><?php the_title(); ?></span></h1>
    <?php endif; ?>
    <?php x_portfolio_filters(); ?>
    </header>
    <?php endif; ?>
    <?php elseif ( x_is_shop() && x_get_option( 'x_integrity_shop_header_enable' ) == '1' ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo x_get_option( 'x_integrity_shop_title' ); ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo x_get_option( 'x_integrity_shop_subtitle' ); ?></span></p>
    </header>
    <?php elseif ( x_is_buddypress() ) : ?>
    <?php if ( x_buddypress_is_component_with_landmark_header() ) : ?>
    <header class="x-header-landmark x-container max width">
    <h1 class="h-landmark"><span><?php echo x_buddypress_get_the_title(); ?></span></h1>
    <p class="p-landmark-sub"><span><?php echo x_buddypress_get_the_subtitle(); ?></span></p>
    </header>
    <?php endif; ?>
    <?php endif; ?>

    Hope it helps.

    #1004735
    peterok
    Participant

    Could you help me out here. I really clueless about this coding aspect.

    #1004753
    Christopher
    Moderator

    Hi there,

    If you follow my previous replay you’ll be able to display category description, please let us know if any of steps are unclear.

    In regards with custom image, 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. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!

    #1004758
    peterok
    Participant

    So i am not able to place a banner above my shop title with X?

    and i do i set up a child theme and what is child theme for?

    #1004770
    Christopher
    Moderator

    Hi there,

    Archive pages are not editable by default and adding image on top of archive pages require custom development which is outside the scope of our support.

    The child theme and provided code will let you display category description, see the attachment.

    Hope it helps.

    #1004983
    peterok
    Participant

    I have set up the child theme, how do i edit the code changes?

    #1004990
    peterok
    Participant

    Would like to remove the highlighted line as well.

    #1005035
    Christopher
    Moderator

    Hi there,

    To remove duplicated content, please add one of following code in Customize -> Custom -> CSS :

    .archive .term-description {
    display: none;
    }

    or

    .archive p.p-landmark-sub {
    display: none;
    }

    Hope it helps.

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