Create WordPress Post / Page

Version 1.0 added 2 years ago by k0nG

HOW TO INSTALL: To install this package, copy the following code and paste it into your Pods >> Package Manager under the Import tab and follow instructions there.

1.0 Notes

First Release

About this Package

This package was created to automatically create a new WordPress Post / Page for each pod item.

This is handy if you want to use WordPress commenting system for your Pod for example.

Make sure you're Pod as a field called 'wp_post_id' with a Number data type.

Applying this as a "Before" (pre-save) helper will then check if that field is empty and if so create a new post and save the post id with the Pod item.