File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,10 @@ class WordPressPost(WordPressBase):
107107 'thumbnail' : 'post_thumbnail' ,
108108 'sticky' : 'sticky' ,
109109 'post_type' : FieldMap ('post_type' , default = 'post' ),
110+ 'parent_id' : 'post_parent' ,
111+ 'menu_order' : IntegerFieldMap ('menu_order' ),
112+ 'guid' : 'guid' ,
113+ 'mime_type' : 'post_mime_type' ,
110114 }
111115
112116 def __str__ (self ):
@@ -116,9 +120,6 @@ def __str__(self):
116120class WordPressPage (WordPressPost ):
117121 definition = dict (WordPressPost .definition , ** {
118122 'template' : 'wp_page_template' ,
119- 'parent_id' : 'wp_page_parent_id' ,
120- 'parent_title' : 'wp_page_parent_title' ,
121- 'order' : IntegerFieldMap ('wp_page_order' ),
122123 'post_type' : FieldMap ('post_type' , default = 'page' ),
123124 })
124125
You can’t perform that action at this time.
0 commit comments