WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] admin submenu double query string (2 posts)

  1. Taylor Baybutt
    Member
    Posted 3 years ago #

    I have been doing some major hacking of a plugin postMASH to move its submenu item into a postype created with More Fields plugin. Morefields give you a new post type admin panel with query string link of ?post_type=[whatever].

    In editing the add_submenu_page() function in the postMASH plugin, I can get it to show up in the new post type panel but the link now has a double query string with two question marks:

    ?post_type=[whatever]?page=[whatever]

    what I need to do is somehow change the second '?' to an '&' ampersand and then the link works as expected. I have been searching like crazy and even updated to 3.0.1 from 2.9.2 thinking that updates to the More Fields plugin or to the Admin Menu Editor plugin would help but alas, they did not.

    if anyone has every dealt with this I would appreciate all input, it is so close to working.

  2. Taylor Baybutt
    Member
    Posted 3 years ago #

    once upgraded to 3.0.1 and the new More Fields plugin with integration for native post types, moving the submenu with add_submenu_page worked perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic