Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #727413

    PierreMeul
    Participant

    Hi, First, let me wish you a Happy New Year and all the best for you, friends and family πŸ˜‰

    And that you for your very good support in 2015. Wish you a wonderful 2016.
    ————————————————————————————————–

    I’d like to add a copyright line of information in the footer of my site.

    Something that goes along saying that this site content is copyrighted to me…

    I want to put it where it can be as shown in the snapshot. So in one of the 2 places where you believe is the most appropriate (I guess the lower end of the page).

    Thx to explain me how and where to do it.

    #727417

    Rue Nel
    Moderator

    Hello There,

    Best Wishes. May every happiness be yours throughout the coming year!!!

    To add a copyright line of information in your footer, you may enable the footer content in your customizer, Appearance > Customize > Footer > Footer Content. Once enabled, you can insert your copyright information which is already position at the top arrow as shown in your screenshot.

    If you want to display the footer content where the bottom arrow is positioned shown in your screenshot, this would require template customization. To do that, simply follow these steps:
    1] Please create a new file in local machine.
    2] Insert the following code into the new file you have created

    <?php
    
    // =============================================================================
    // VIEWS/ETHOS/WP-FOOTER.PHP
    // -----------------------------------------------------------------------------
    // Footer output for Ethos.
    // =============================================================================
    
    ?>
    
      <?php x_get_view( 'global', '_header', 'widget-areas' ); ?>
      <?php x_get_view( 'global', '_footer', 'scroll-top' ); ?>
      <?php x_get_view( 'global', '_footer', 'widget-areas' ); ?>
    
      <?php if ( x_get_option( 'x_footer_bottom_display' ) == '1' ) : ?>
    
        <footer class="x-colophon bottom" role="contentinfo">
          <div class="x-container max width">
    
            <?php if ( x_get_option( 'x_footer_menu_display' ) == '1' ) : ?>
              <?php x_get_view( 'global', '_nav', 'footer' ); ?>
            <?php endif; ?>
    
            <?php if ( x_get_option( 'x_footer_social_display' ) == '1' ) : ?>
              <?php x_social_global(); ?>
            <?php endif; ?>
    
            <?php if ( x_get_option( 'x_footer_content_display' ) == '1' ) : ?>
              <div class="x-colophon-content">
                <?php echo do_shortcode( x_get_option( 'x_footer_content' ) ); ?>
              </div>
            <?php endif; ?>
    
          </div>
        </footer>
    
      <?php endif; ?>
    
    <?php x_get_view( 'global', '_footer' ); ?>

    3] Saved this file named as wp-footer.php.
    4] Upload this file into your server in the child theme’s folder
    wp-content/themes/x-child/framework/views/ethos/

    We would loved to know which one will work for you. Thank you.

    #727427

    PierreMeul
    Participant

    Thank you for these 2 possible solutions.
    I am testing the first one at first as this is part of XTheme customizer already πŸ˜‰
    I just noticed by doing so that all my text is capitalized. Is there an easy way to avoid it by adding something in the Footer Content Box code of the Customizer/Footer?

    #727433

    Rue Nel
    Moderator

    Hello Again,

    To prevent the footer content from displaying the text in uppercase, please add the following css code in the customizer, Appearance > Customize > Custom > CSS or insert this code in your child theme’s style.css

    .x-colophon.bottom .x-colophon-content{
        text-transform: none; /* none | lowercase | uppercase | capitalize */
    }

    If you need anything else we can help you with, please let us know.

    #727447

    PierreMeul
    Participant

    Thank you, it is working fine.

    #727449

    Rue Nel
    Moderator

    You are most welcome!