Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter budlogan

    (@budlogan)

    `<?php
    /**
    * The template for displaying the footer
    *
    * Contains the closing of the #content div and all content after
    *
    * @package WordPress
    * @subpackage Twenty_Sixteen
    * @since Twenty Sixteen 1.0
    */
    ?>

    </div><!– .site-content –>

    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <?php if ( has_nav_menu( ‘primary’ ) ) : ?>
    <nav class=”main-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Footer Primary Menu’, ‘twentysixteen’ ); ?>”>
    <?php
    wp_nav_menu( array(
    ‘theme_location’ => ‘primary’,
    ‘menu_class’ => ‘primary-menu’,
    ) );
    ?>
    </nav><!– .main-navigation –>
    <?php endif; ?>

    <?php if ( has_nav_menu( ‘social’ ) ) : ?>
    <nav class=”social-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Footer Social Links Menu’, ‘twentysixteen’ ); ?>”>
    <?php
    wp_nav_menu( array(
    ‘theme_location’ => ‘social’,
    ‘menu_class’ => ‘social-links-menu’,
    ‘depth’ => 1,
    ‘link_before’ => ‘<span class=”screen-reader-text”>’,
    ‘link_after’ => ‘</span>’,
    ) );
    ?>
    </nav><!– .social-navigation –>
    <?php endif; ?>

    <div class=”site-info”>
    <?php
    /**
    * Fires before the twentysixteen footer text for footer customization.
    *
    * @since Twenty Sixteen 1.0
    */
    do_action( ‘twentysixteen_credits’ );
    ?>
    Site Created By Bud Logan, All Rights Reserved
    </body>
    </html>

    Thread Starter budlogan

    (@budlogan)

    Hi Andrew, these are the only files that i added to my child theme

    /*
    Theme Name: gohiking child theme
    Description: gohiking
    Author: budlogan
    Template: twentysixteen

    (optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
    */

    <?php
    /**
    * The template for displaying the footer
    *
    * Contains the closing of the #content div and all content after
    *
    * @package WordPress
    * @subpackage Twenty_Sixteen
    * @since Twenty Sixteen 1.0
    */
    ?>

    </div><!– .site-content –>

    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <?php if ( has_nav_menu( ‘primary’ ) ) : ?>
    <nav class=”main-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Footer Primary Menu’, ‘twentysixteen’ ); ?>”>
    <?php
    wp_nav_menu( array(
    ‘theme_location’ => ‘primary’,
    ‘menu_class’ => ‘primary-menu’,
    ) );
    ?>
    </nav><!– .main-navigation –>
    <?php endif; ?>

    <?php if ( has_nav_menu( ‘social’ ) ) : ?>
    <nav class=”social-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Footer Social Links Menu’, ‘twentysixteen’ ); ?>”>
    <?php
    wp_nav_menu( array(
    ‘theme_location’ => ‘social’,
    ‘menu_class’ => ‘social-links-menu’,
    ‘depth’ => 1,
    ‘link_before’ => ‘<span class=”screen-reader-text”>’,
    ‘link_after’ => ‘</span>’,
    ) );
    ?>
    </nav><!– .social-navigation –>
    <?php endif; ?>

    <div class=”site-info”>
    all images and video &#169 2013-2016 Bud Logan

    </div><!– .site-info –>
    </footer><!– .site-footer –>
    </div><!– .site-inner –>
    </div><!– .site –>

    <?php wp_footer(); ?>
    </body>
    </html>

    Thread Starter budlogan

    (@budlogan)

    I managed to unlock my editor, here is the code for my wp footer, can you see any problems that would cause my mobile menu button to stop working.

    </div><!– .site-content –>

    <footer id=”colophon” class=”site-footer” role=”contentinfo”>
    <?php if ( has_nav_menu( ‘primary’ ) ) : ?>
    <nav class=”main-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Footer Primary Menu’, ‘twentysixteen’ ); ?>”>
    <?php
    wp_nav_menu( array(
    ‘theme_location’ => ‘primary’,
    ‘menu_class’ => ‘primary-menu’,
    ) );
    ?>
    </nav><!– .main-navigation –>
    <?php endif; ?>

    <?php if ( has_nav_menu( ‘social’ ) ) : ?>
    <nav class=”social-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Footer Social Links Menu’, ‘twentysixteen’ ); ?>”>
    <?php
    wp_nav_menu( array(
    ‘theme_location’ => ‘social’,
    ‘menu_class’ => ‘social-links-menu’,
    ‘depth’ => 1,
    ‘link_before’ => ‘<span class=”screen-reader-text”>’,
    ‘link_after’ => ‘</span>’,
    ) );
    ?>
    </nav><!– .social-navigation –>
    <?php endif; ?>

    <div class=”site-info”>
    <?php
    /**
    * Fires before the twentysixteen footer text for footer customization.
    *
    * @since Twenty Sixteen 1.0
    */
    do_action( ‘twentysixteen_credits’ );
    ?>
    Site Created By Bud Logan, All Rights Reserved
    </body>
    </html>

    Thread Starter budlogan

    (@budlogan)

    My editor remains locked even when i unlock it, can’t access my files

    Thread Starter budlogan

    (@budlogan)

    i am running 2016

    Thread Starter budlogan

    (@budlogan)

    How can i fix this problem, bare in mind that i am a newbie to working with WP

Viewing 6 replies - 16 through 21 (of 21 total)