WordPress plugin intelligence profile

ACF WYSIWYG Styling

Provides the necessary CSS classes in ACF WYSYWIG editor to allow for complete styling of the admin interface.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.3
Current version1.0
WordPress coverageTested up to WordPress 4.3
Minimum stackWP 3.5.0 · PHP —
Directory statusactive
Last directory update27 Aug 201511y ago
Active installations80Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records ACF WYSIWYG Styling version 1.0 as active, updated 11y ago and tested up to WordPress 4.3.

Overview

About this plugin

A very tiny plugin that adds the ACF field key, field name, Flexible Content field name and Flexible Content layout name to the WYSIWYG

editor body tag, allowing you to target these classes, along with the existing post-type-* classes added by default by WordPress, in

css for a better admin/editor experience.

This works for both ACF and ACF Pro, version 5.

Usage

  • Install the plugin through the Install Plugins interface or by uploading the acf-plugin-wysiwyg-styling folder to your /wp-content/plugins/ directory.
  • Activate the ACF WYSIWYG Styling plugin from the Admin > Plugins menu.
  • Create or edit your editor-style.css in your theme directory and use the newly added classes to style your WYSIWYG editors.

For example:

-

The ACF WYSIWYG field with key field_9999ffff11112222 can be targeted with the following CSS:

acf-field-key-field_9999ffff11112222 {

background-color: red;

}

-

The ACF WYSIWYG field with key field_9999ffff11112222 in the “room” post type can be targeted with the following CSS:

acf-field-key-field_9999ffff11112222 {

background-color: blue;

}

-

All ACF WYSIWYG fields named “my_wysiwyg” can be targetted with the following CSS:

acf-field-name-my_wysiwyg {

background-color: yellow;

}

-

All ACF WYSIWYG fields in the Flexible Content field named “page_content” can be targetted with the following CSS:

acf-flex-name-page_content {

color: green;

}

-

All ACF WYSIWYG fields in the Flexible Content layout field named “test_layout” can be targetted with the following CSS:

acf-layout-test_layout {

font-family: “Computer Modern Serif”;

}

-

The ACF WYSIWYG field named “my_wysiwyg” in the Flexible Content layout field named “test_layout” can be targetted with the following CSS:

acf-field-name-my_wysiwyg {

border: 4px solid red;

height: 100%;

margin: 0 auto;

max-width: 100px;

}

B. I target using the body tag so that a user cannot accidentally target the admin CSS in their edit of the field (regardless of how unlikely

that would be).

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • acf
  • style
  • styles
  • styling
  • wysiwyg
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.3
Minimum requirementsWordPress 3.5.0 · PHP not listed
Update activity27 Aug 201511y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.