Forums

where's the .php? (3 posts)

  1. lukeword
    Member
    Posted 4 years ago #

    I'm wanting to add to my sidebar. I've worked out the title in the sidebar to be correctly formatted, but if I add a link using "

  2. contact
  3. " it shows up, but in the wrong format (no background color).
    From experiments it seems that I need to add the page (at least the first one in this format:

  4. <?php wp_loginout(); ?>
  5. How do I find the php?
    The link f the page I'm wanting to add as a php is:
    http://www.calhouncycleshopcast.com/?page_id=21

    Any advice would be greatly apprecitaed by this greasy handed bicycle mechanic,
    Thanks,
    Luke

    The site is here:
    http://www.calhouncycleshopcast.com/

  • Otto
    Tech Ninja
    Posted 4 years ago #

    You don't need to use any PHP. You need to stick with the same style. Look at the code from your sidebar:

    <ul>
    <li><a href="http://www.calhouncycle.com">Calhoun Cycle</a></li>
    <li><a href="http://stores.ebay.com/calhouncycle">Calhoun Cycle eBay Store</a></li>
    <a href="http://www.calhouncycleshopcast.com/?page_id=21">Contact</a>
    <a href="http://www.calhouncycleshopcast.com/?page_id=25">Bike Profile Submission</a>
    </ul>

    See how your first two links are wrapped in LI tags? Try making your second two the same way.

  • lukeword
    Member
    Posted 4 years ago #

    Thanks so much!
    I tried so many things and failed over and over.
    Yes, I needed to wrap everything in the

  • and all worked out well.
    Thank you!
    Luke
  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags