• Resolved geoffcalver

    (@geoffcalver)


    I run a gaming website, https://www.terminalgamer.com and want to add links to some of my pages in the footer.

    For instance, I want to have links to “About”, “Staff Directory” and “Become a Staff Member” in the footer.

    Here’s what my footer code looks like:
    _______________________________________________________

    <?php
    /**
     * @package WordPress
     * @subpackage Magazeen_Theme
     */
    ?>
    
    	<div id="footer">
    	<div class="about">
    
    	<h4>Terminal Gamer - Gaming is our passion.</h4>
    
    				<p class="about-text">
    					<?php echo get_settings( 'mag_about_blog' ); ?>
    				</p>
    
    		<p class="copyright">
    		       &copy; 2009 Copyright <?php bloginfo( 'name' ); ?>
    				</p>
    
    			</div><!-- End about -->
    
    		</div><!-- End container -->
    
    	</div><!-- End footer -->
    
    	<div id="link-back">
    
    		<div class="container clearfix">
    
    	<?php wp_footer(); ?>
    
    </body>
    </html>

    How do I insert these links so that they’ll show up as “About”, “Staff Directory” and “Become a Staff Member” – the links below are in order!

    https://terminalgamer.com/about-terminal-gamer/
    https://terminalgamer.com/staff-directory/
    https://terminalgamer.com/become-a-staff-member/

    Thanks for any help, everyone!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • this format

    <a href="https://yourlink.com/about">Your Label</a>

    so the first is:
    <a href="https://terminalgamer.com/about-terminal-gamer/">About</a>

    So your footer.php might look like this:

    <?php
    /**
     * @package WordPress
     * @subpackage Magazeen_Theme
     */
    ?>
    
    	<div id="footer">
    	<div class="about">
    
    	<h4>Terminal Gamer - Gaming is our passion.</h4>
    
    				<p class="about-text">
    					<?php echo get_settings( 'mag_about_blog' ); ?>
    				</p>
    
    		<p class="copyright">
            	<a href="https://terminalgamer.com/about-terminal-gamer/">About</a> | <a href="https://terminalgamer.com/staff-directory/">Staff Directory</a> | <a href="https://terminalgamer.com/become-a-staff-member/">Become a Staff Member</a> | &copy; 2009 Copyright <?php bloginfo( 'name' ); ?>
    				</p>
    
    			</div><!-- End about -->
    
    		</div><!-- End container -->
    
    	</div><!-- End footer -->
    
    	<div id="link-back">
    
    		<div class="container clearfix">
    
    	<?php wp_footer(); ?>
    
    </body>
    </html>

    Thread Starter geoffcalver

    (@geoffcalver)

    Solved. Thank you so much!!!

    I tried following your advice but I keep getting 404 not found, this is what I put in,
    Contact Us it keeps putting a \ before “http and \ between 167/”
    my site is https://www.countrythreads.ca
    sue

    ok that didnt work right lol lets try again
    i need to put a link to my contact us page, https://www.countrythreads.ca/?page_id=167, when i follow your advice it adds \ before the “http

    lets try again, i need to put a link to my contact us page on the footer, but when i put what you suggested, it keeps adding \ to it before the “http and then i get a 404 error
    sue

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add Links to my Footer’ is closed to new replies.