Support » Plugins and Hacks » Data not saved for Custom Write Panels

  • Resolved blogjunkie

    (@blogjunkie)


    I followed the excellent WeFunction tutorial on custom write panels (http://wefunction.com/2009/10/revisited-creating-custom-write-panels-in-wordpress/).

    I modified the code and placed it in my functions.php instead of a separate plugin. I also repeated the code (with customizations) for 2 post types – ‘product’ and ‘post’. The code works for the ‘product’ post type, but the data is not being saved on ‘post’ types.

    Can someone look it over and help me figure out the problem? The code is below:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 1 replies (of 1 total)
  • blogjunkie

    (@blogjunkie)

    Sorry about pasting the full code – pastebin is having issues.

    I figured it out – I was using the same meta key for both my write panels, so they were not being saved properly.

Viewing 1 replies (of 1 total)
  • The topic ‘Data not saved for Custom Write Panels’ is closed to new replies.