Apologies if this has been posted elsewhere but I can’t seem to find the specific answer I’m looking for.
Recently I came across Readability.com and wanted to feature their functionality on my blog. (If you click it you’ll see the little box on the top-right there). I found the code on their site and put it into a text widget in my sidebar.
Now it works great, but it doesn’t work on the homepage – nor do I want it to. As it doesn’t, I want to hide it on the homepage and just have it available for posts only. I’ve used CSS to hide other undesirable divs and such on my blog but they are global; I only want to hide the box on the homepage.
Any ideas how to do it? I’m guessing I have to make some sort of change to index.php but HTML/CSS is as far as my coding knowledge goes, I wouldn’t have a clue how to edit the php. With this in mind, if you do have an answer I’d love to hear it but I am a n00b so as simple as possible would be great!
- The topic ‘Hiding an element on my homepage but not single posts’ is closed to new replies.