Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter muselywd

    (@muselywd)

    Sorted! The code was a bit rubbish and I decided to lose the “-$year” output.
    The social media icons have spaced perfectly also. Thank you

    Thread Starter muselywd

    (@muselywd)

    It now looks like this, no links but the code works. The code you gave me vanished my footer completely.

    </div><!-- #content -->
    
    	<?php get_sidebar( 'footer' ); ?>
    
    	<footer id="colophon" class="site-footer">
    		<?php if ( has_nav_menu ( 'social' ) ) : ?>
    			<?php wp_nav_menu( array( 'theme_location' => 'social', 'depth' => 1, 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>', 'container_class' => 'social-links', ) ); ?>
    		<?php endif; ?>
    
    		<div class="site-info"  role="contentinfo">
    			<?php
    $year = date('Y');
    if ($year != 2017){
    echo '? 2017 – '.$year.' Musely-WD.com';
    } else {
    echo '? 2017 Musely-WD.com';
    }
    ?>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    
    </body>
    </html>
    Thread Starter muselywd

    (@muselywd)

    This isn’t working for me

    • This reply was modified 8 years ago by muselywd.
    • This reply was modified 8 years ago by muselywd.
    Thread Starter muselywd

    (@muselywd)

    Hi, I’m sorry but they are not links to pages, I mean, those pages do not exist. They are simply titles and descriptions (although the descriptions are not currently visible), entered onto the features section of the customiser.

Viewing 4 replies - 1 through 4 (of 4 total)