WordPress.org

Ready to get started?Download WordPress

Forums

Add a Site Map Page to the Footer (3 posts)

  1. sueheap
    Member
    Posted 1 year ago #

    I want it to be a link right next to the privacy policy page. Here is part of the code:

    <?php if($theme1283_footer_text){?>
                <p><?php echo get_option('theme1283_footer_text'); ?></p>
              <?php } else { ?>
    		  <p><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>" class="alt"><?php bloginfo('name'); ?></a> &copy; <?php echo date("Y") ?> | <a href="<?php bloginfo('url'); ?>/?page_id=315">Privacy policy</a><br />
    <!-- {%FOOTER_LINK} --></p>
              <?php } ?>
    	   </div>

    Thanks

  2. zex2911
    Member
    Posted 1 year ago #

    <p><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>" class="alt"><?php bloginfo('name'); ?></a> &copy; <?php echo date("Y") ?> | <a href="<?php bloginfo('url'); ?>/?page_id=315">Privacy policy</a> | <a href="<?php bloginfo('url'); ?>/?page_id=#">Site Map</a>

    Change # sign with page id.

  3. sueheap
    Member
    Posted 1 year ago #

    Perfect!! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.