php - Wordpress admin links -


I am in a situation where I have WP installed and running on the root. I have a custom created folder, call it "my_folder".

"my_folder" is also in the root, and there are files that are included for my theme functions, and that page is displayed on the content admin dashboard. The problem is that when I go to this page, the admin menu is still there, but it is not linked in this way:

  mysite.com/wp-admin/etc ..  

This is like a link:

  mysite.com/my_folder/etc ..  

which is wrong ..

I think this is because the admin menu takes the relative url (in the current directory that we are in). But how can I fix it?


Comments