Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Sarah Anderson

    (@sarahg111)

    Can you give me a bit more information and perhaps a link to your site so that I can see if there are any other factors which could influence it from not working.

    Thank you

    Hi Sarah,

    Perhaps kplusplus was having a similar problem to one I’m having:

    In WordPress versions prior to 3.3.1, the following returned the Page Menu Label:

    $menuName = get_post_meta ($the_page_id, 'menulabel', true);

    Now, since updating to 3.3.1, it returns nil;

    Cheers,

    Steve

    Plugin Author Sarah Anderson

    (@sarahg111)

    Hi Steve,

    It’s not down to the version of WordPress. The plugin code was rewritten and improved in November and the data storage method was changed to reduce record entries in your post meta table.

    If you want to get the menu label for a specific page ID you would need to use

    [code]$pgmenueditor = get_post_meta($the_page_id, 'dsa_pagemenueditor');
    $menu_label = stripslashes($pgmenueditor[0]['menu_label']);[/code]

    To get the title attribute you would then use

    [code]$title_attribute = stripslashes($pgmenueditor[0]['title_attribute']);[/code]

    hope that helps 🙂

    kplusplus – still don’t know what problem you’re having? I’m currently fixing one issue that’s been highlighted which may or may not be the same as yours, just running a bit slow as I have a broken arm right now!

    Wow Sarah,

    “Hope that helps” – h*ll yes, does it ever, and it makes perfect sense. I’ll try it in the morning. And, thanks for your quick reply.

    Thanks again for your useful plugin and for your generous support.

    All the best,

    Steve

    Sarah,

    Quick follow up – your code worked perfectly.

    Thanks again,

    Steve

    Plugin Author Sarah Anderson

    (@sarahg111)

    No problem, glad it worked for you 🙂

    Hi dude .
    Is it work on New Version of WP 3.5 ?
    of course im using Persian WP .

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Page Menu Editor] Page menu editor dont work wp v3.3.1’ is closed to new replies.