• Resolved Melodyk

    (@melody62)


    Hi All

    Alondonb mentioned in an answer on another topic that Button-2 (https://wordpress.com/theme/button-2) was released.
    I have installed it and adjusted it to my specific wishes.

    Wonderful to see that it now is possible to have widgets in the footer, thank you!!

    I still have some questions:

    1) In this second version of the Button-theme…
    The menu is above the header instead of beneath it…
    How can I move the menu below my header?

    2) Like I wanted in the first version I now also would like to shorten the excerpt-length. I’ve tried several plugins but non of them seem to do the trick.
    Is there a way to achieve this and if so; how do I proceed?

    Thank you in advance for responding and helping me.

    Melody https://melodymusic.nl

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Melody,

    How can I move the menu below my header?

    For that, you’ll need to first create a Child Theme:

    ?https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

    https://codex.www.ads-software.com/Child_Themes

    Once you’ve done that, copy the parent theme’s header.php file into the child theme’s main folder.

    You’ll need to cut this code from the file:

    
    <?php if ( get_header_image() ) : ?>
    	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
    		<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="" class="header-image">
    	</a>
    <?php endif; // End header image check. ?>
    

    Then paste it just above this line in the same file:

    </header><!-- #masthead -->

    I now also would like to shorten the excerpt-length

    You can add the code labeled Control Excerpt Length using Filters to your child theme’s functions.php file:

    https://developer.www.ads-software.com/reference/functions/the_excerpt/#comment-325

    Just change the number 20 next to return to the number of words you prefer.

    Thread Starter Melodyk

    (@melody62)

    Hi David

    Thank you for responding and the help you;ve provided.

    It worked fine, you’ve made my day ??

    I’ve downloaded this theme yesterday but the icons for the social menu don’t seem to work it only shows textlinks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New theme Button-2’ is closed to new replies.