Change Posts into Pages or Pages into Posts

SQL query through PHPMyAdmin:

UPDATE wp_posts SET post_type = 'page' WHERE post_type = 'post'

or

UPDATE wp_posts SET post_type = 'post' WHERE post_type = 'page'

Geplaatst

in

door

Tags:

Reacties

Geef een reactie

Het e-mailadres wordt niet gepubliceerd. Vereiste velden zijn gemarkeerd met *