sebasstyle/PhazilPress — Issue #6: Integrate tools
Author: sebasstyle
Created: 2012-01-14 14:02:26+00:00
State: open

Elementos DOM con integrate tool
#post-ID > h2.title => post_title - input text
#post-ID > div.entry => post_content - textarea

Paramétros pp_save_post en botón guardar
ID (0 si es nuevo)
POST_TYPE

Funcionamiento
Si ID=0 -> POST_STATUS=draft, sino no se define
POST_TITLE se extrae del input#post_title
POST_CONTENT se extrae del textarea#post_content
POST_NAME se genera a partir de POST_TITLE