Forums

[resolved] Confusing jQuery issue in WP dashboard. (5 posts)

  1. codemagnet
    Member
    Posted 8 months ago #

    Hi all.

    I am currently developing a wordpress theme and I have encountered a problem that is both hard to describe and fix.

    The theme is working fine and i can login and logout of the dashboard ok. I have created my own options panel and all options are saved and working properly. However, I keep getting little issues popping up which seem to be jQuery related.

    - On my theme options page, when i click "Save Changes", I am no longer getting the "options saved" notification which shows up in yellow at the top of the page.

    - My options are split into 3 tabs and the tabs display correctly. However, when I save, it always returns me to the first tab instead of my current tab.

    - More recently I have just realized that when I go to the "Post Tags" section of both my Posts and my Custom Post Type, when I click the "Add New Tag" button, the tag is added in the background but the new tag is not shown on the tag list immediately. When I refresh the page or navigate out then in again the new tag is there but it should auto update.

    I'm not sure where to start with this problem so If you can tell me what info you need to help then I will provide as necessary.

    Any help with this would be most appreciated.

    Thank you.

  2. codemagnet
    Member
    Posted 8 months ago #

    bump

  3. codemagnet
    Member
    Posted 8 months ago #

    Anyone got any ideas of where I can start with this one? I've checked console reports in both firebug and chrome and no errors.

    Any advice would be most appreciated

  4. codemagnet
    Member
    Posted 8 months ago #

    Just noticed that I am experiencing the same problems with the categories as well.

    i.e: When I click "Add Category" for both normal posts and custom post types, the category is added in the background but is not visually updated in the category list on the right.

  5. codemagnet
    Member
    Posted 8 months ago #

    Managed to resolve this. Turns out I had placed my tabs <script> in the wrong place.

Reply

You must log in to post.

About this Topic