Mujahid Ishtiaq
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] PHP 8.0 SupportThank you @codejp3 for your detailed testing. Appreciate it.
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] PHP 8.0 Support@eoinsprint I never tried with PHP 8.0? Could you share the error you received?
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] Adding some font weights?@torsteino I just pushed an update with new font-weight values. Thanks
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] Adding some font weights?@torsteino Thanks for letting me know. I will add them and push an update.
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] OPTIONS PAGE: How to get value@digitljaved Sounds good.
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] OPTIONS PAGE: How to get valueIf the problem still persists, try the following;
$body_content_font = get_field( 'body_content_font', 'option');
And then use as
$body_content_font['font_family']
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] OPTIONS PAGE: How to get value@digitljaved Your code should work fine. Have you made sure you are using the correct selector name (body_content_font)?
This topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic.
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] Not all fonts are showingThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic.
@idnshouter Are you trying to fetch the data inside a loop or outside the loop?
If inside the loop;
$var = get_typography_field( $field_name, $property)
Example:$var = get_typography_field( 'typo', 'font_family');
If outside;
$var = get_typography_field( $field_name, $property, $post_id)
Example:$var = get_typography_field( 'typo', 'font_family', 123);
Make sure you replace
$field_name
to correct field name you choose when you created the field under the Custom Fields tab.Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] Not all fonts are showingCan you access PHP logs to see if there are any errors during the import? Your situation is quite weird and in my opinion, it’s either not working because of permissions or incorrect API key.
I will suggest you deactivate, delete and install the plugin again.
Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] Not all fonts are showing@gab1982 Were you able to see Google Fonts now? After entering the API, it may take some time for GFs to appear. GFs are stored in
google_fonts.json
file. If you are still not able to see GFs, you may have file permissions issue. For troubleshooting, please have a look atwp-content/plugins/acf-typography-field/google_fonts.json
file and see if it’s empty.Forum: Plugins
In reply to: [Advanced Custom Fields: Typography Field] Not all fonts are showing@gab1982 Looks like you have not added a Google API key in Settings > ACF Typography settings. Have a look at the following screenshot;
https://ps.w.org/acf-typography-field/trunk/screenshot-3.png?rev=2548262
@jolifanto @proserv19
This is patched in v3.2.0. Thank you!Thank you for pointing out this bug @jolifanto . This will be patched up in the next release.