mujahidi / acf-typography

A Typography Add-on for the Advanced Custom Fields Plugin
https://wordpress.org/plugins/acf-typography-field/
GNU General Public License v2.0
18 stars 6 forks source link

Introduce a plugin function for properties #7

Closed mujahidi closed 5 years ago

mujahidi commented 6 years ago

A function to get and display individual typography properties.

the_field() displays all the available properties in a single line and user has to use get_field() to get the array of the properties.

Function examples: acf_typography( $property, $post_id ) get_acf_typography( $property, $post_id )

Could become part of next major release 3.0?

mujahidi commented 6 years ago

A shortcode too?

mujahidi commented 5 years ago

Reference https://github.com/mujahidi/acf-typography/commit/aed31bd54df441a04bf98eb964f09c365ce16abb