Tag Info

New answers tagged

0

So I found out the problem was in the database. If I deleted the page, then re-created it then it functioned as it should. I couldn't narrow down what exactly was wrong with the data, but something was. That page did have a lot of revisions, not that it should matter?


1

Well they share a same name... try to declare name as array. <select name="custom_element_grid_class[]" id="custom_element_grid_class">


0

You have the add_action that's supposed to hook your prfx_meta_save function inside the function itself, so it never gets hooked or called. You need to move the add_action outside the function. This will never work: function prfx_meta_save( $post_id ) { add_action( 'save_post', 'prfx_meta_save' ); } Move it outside the function: function ...



Top 50 recent answers are included