Exclude hyperlinks depending on which page is loaded on WordPress...

8 replies
Hey everyone,

I've got a question for anyone with a pit of php knowledge.

I'm wanting to exclude certain hyperlinks from my site, but only on one page.

I can picture the code but I can't get it to work.

I'm looking for something like this:

<a href ="link"> unless <page ="x"> (in which case the link doesn't show.)

If anyone can translate my english into php, I would be soooo greatful

Thanks warriors, you're all awesome
#depending #exclude #hyperlinks #loaded #page #wordpress

Trending Topics