WP-for-Church / Sermon-Manager

Sermon Manager for WordPress is the #1 plugin for churches who want to manage their sermons easily and missionally.
https://wordpress.org/plugins/sermon-manager-for-wordpress/
GNU General Public License v2.0
44 stars 34 forks source link

Question: wpfc_service_type used twice #171

Closed cybrid closed 6 years ago

cybrid commented 6 years ago

Hi, I'm currently writing my own import script and I mentioned that wpfc_service_type is stored in wp_postmeta and in wp_term_relationships.

I find out that it is neccessary in wp_postmeta. Can it be skipped in wp_term_relationships or for which reason is it duplicated ? Thanks for short answer?

nikola3244 commented 6 years ago

Hey, sorry for a delay in response.

Values in wp_postmeta and wp_term_relationships are created in WordPress. You could skip creating them - but who knows what unexpected things might happen.

Why not just go with built-in WordPress functions for creating terms? wp_insert_term() for example

I will close this "issue", since it's not related to Sermon Manager, but you can still reply here and I'll give my advice