• I am working on my website and hoping I can in some way control what is visable on my sidebar depending on what page or post the viewer is looking at.

    currently I am using a

    <?php if (is_page( )) { ?>

    code but this depends on the title in the page. is there somway I can edit this so it maybe depends on the page or post number? so so that something only appears on a certain page and not else where? I currently have this working fine but when a viewer goes to my main index.php page the alternative code does not appear.

    https://brianlarter.com

  • The topic ‘sidebar access’ is closed to new replies.