ptasker
Forum Replies Created
-
Forum: Plugins
In reply to: [ACF Code Field] Code Field is adding additional characters??
Forum: Plugins
In reply to: [ACF Code Field] Not Saving with GutenbergThis is fixed in version 1.8 ??
Forum: Plugins
In reply to: [ACF Code Field] Code field – No max width and therefore too wideThanks for the fix @twansparant. I’ve rolled that into the latest release 1.6.3.
Cheers,
PeterForum: Plugins
In reply to: [ACF Code Field] Support for PHPI’m not sure what you mean? All this plugin does is create a code editor field with syntax highlighting – now supporting PHP as a language. If you’re looking to output or parse the PHP you’ve saved, that would require custom coding in your own theme.
Forum: Plugins
In reply to: [ACF Code Field] php not workingThe reason the code is stretching the editor box like that is because it’s basically one long string. If you break it up or concatenate it, it could be broken to other other lines.
As for outputting PHP, the code field doesn’t include any functionality to output the PHP contents with get_field(). You’ll have to handle that yourself, possibly using exec() or similar.
Forum: Plugins
In reply to: [ACF Code Field] Support for PHPJust released PHP support – added in 1.6.
Forum: Plugins
In reply to: [ACF Code Field] Not showing up in Field Type drop-downHey there, the field can be found under Code Tools > Code area field when you’re adding a new field.
Forum: Plugins
In reply to: [ACF Code Field] Support for PHPSure, if there’s a desire for it. The code is also on Github https://github.com/ptasker/acf-code-field.
Forum: Plugins
In reply to: [ACF Code Field] Still SupportedYep, still keeping an eye on the plugin.
Forum: Plugins
In reply to: [ACF Code Field] Shortcode inside the fieldHey, so I checked into this, you could do something like suggested in this doc: https://www.advancedcustomfields.com/resources/acfformat_value/
Replacing the field name of textarea with acf_code_field.
Forum: Plugins
In reply to: [ACF Code Field] Flexible fieldJust rolled out an update that handles flexible content fields. Everyone should get an upgrade notice shortly!
Forum: Plugins
In reply to: [ACF Code Field] Flexible fieldFix this coming shortly. Stay tuned.
Forum: Plugins
In reply to: [ACF Code Field] Shortcode inside the fieldHi there, that’s a good point. I’ll take a look and see if I can see what’s going on.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Contact Form through Ajax ?Just a quick note, this can be accomplished just with JS and jQuery:
https://gist.github.com/ptasker/7606fac1f75cfa99dc7d25dc178479f4
Forum: Plugins
In reply to: [WordPress Importer] Notice: wp_get_http is deprecated since version 4.4!Head’s up that this is also in the works, an importer via the WP-CLI https://github.com/humanmade/WordPress-Importer. Not final yet but may work.