Title: Custom Website with Odd PHP Bug
Last modified: August 20, 2016

---

# Custom Website with Odd PHP Bug

 *  [raybkchan](https://wordpress.org/support/users/raybkchan/)
 * (@raybkchan)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/custom-website-with-odd-php-bug/)
 * Hi I’m having a strange problem with a website I am currently developing for 
   my student degree show. I’m still an amatueur at this and done my best writing
   custom code for features on the website but it’s now gone wrong…
 * I created a navigation system on the index page at:
 * [http://launch.cbkenterprise.com/](http://launch.cbkenterprise.com/)
 * And the links worked perfectly fine before going each profile page. However since
   then, I added the same PHP/HTML code into a Jquery based collapsible dropdown
   div on each profile page.
 * Now whenever I click on the links on either the index page or on the profile 
   pages, it always brings up the contents of the first profile page in the list
   despite the adress bar showing otherwise…
 * When I remove that code, it works normally. Once it’s back in it refuses to work
   at all. Any help would be appreciated and the least I can do is give credit on
   the website to whoever cracks this problem 🙂
 * Well here’s the code anyway, please help!
 * _[75 lines of code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [raybkchan](https://wordpress.org/support/users/raybkchan/)
 * (@raybkchan)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/custom-website-with-odd-php-bug/#post-2664089)
 * Following rules, here the link to the code from the page I need help from!
 * [http://pastebin.com/mHXPcdBS](http://pastebin.com/mHXPcdBS)

Viewing 1 replies (of 1 total)

The topic ‘Custom Website with Odd PHP Bug’ is closed to new replies.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [raybkchan](https://wordpress.org/support/users/raybkchan/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/custom-website-with-odd-php-bug/#post-2664089)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
