• The sidebar at https://www.btccaction.co.uk/test/ shows up as totally different to the sidebar at https://www.btccaction.co.uk/btccaction/ which additionally is at the bottom of the page (can’t see why, the stylesheet settings for the sidebar haven’t changed)

    The first link is a page, the second is a post.

    I have a feeling I would need to change some settings to do with

    is_page()

    or

    is_single()

    in order to make the sidebar always show up as in the second example. However I can’t find out where these pieces of code are! Found them in the codex, but not sure where to modify on my website.

    Andy

Viewing 3 replies - 16 through 18 (of 18 total)
  • They are no more different, are they?

    Thread Starter andyspeed

    (@andyspeed)

    No. How can they [the tables] be [written differently]?

    I’m not sure how much more clear it can be explained.

    It has to do with the DISPLAYED RESULTS of what you’re putting in the sidebar – regardless of whether you’re using PHP, HTML, or some other function, it’s the way it’s being displayed.

    Test it this way: Make a backup of the sidebar. Then take EVERYTHING out of the sidebar and put in just a regular old paragraph…

    <p>This is just a sentence, and is for testing purposes only.</p>

    Save that up as your sidebar.php and then do a hard refresh (Ctrl + F5) on your site’s page.

    I’m 99.999% positive, your sidebar will be back up at the top, with that sentence right up there.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Changing sidebar’ is closed to new replies.