WebDevStudios / WDS-Simple-Page-Builder

Uses existing template parts in the currently-active theme to build a customized page with rearrangeable elements.
GNU General Public License v2.0
136 stars 25 forks source link

wds_page_builder_get_part_data does not get meta values for areas #29

Closed dustyf closed 9 years ago

dustyf commented 9 years ago

wds_page_builder_get_part_data() only looks in the meta key '_wds_builder_template' but when you add parts to areas, it puts that meta under a key with the area appended like '_wds_builder_footer_template'.

So, this does not return the proper meta data from fields within declared areas for the page builder, only within the main area.

jazzsequence commented 9 years ago

this is fixed in develop

thanks @dustyf