WordPress plugin intelligence profile

SEO Writing Assistant SEMrush Custom Fields

The SEMrush SEO Writing Assistant plugin read only from post title and post content elements for the real time check.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.2
Current version1.1.0
WordPress coverageTested up to WordPress 5.2
Minimum stackWP 4.4 · PHP 5.2.4
Directory statusactive
Last directory update17 Jun 20197y ago
Active installations50Adoption 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 SEO Writing Assistant SEMrush Custom Fields version 1.1.0 as active, updated 7y ago and tested up to WordPress 5.2.

Overview

About this plugin

The SEMrush SEO Writing Assistant plugin read only from post title and post content elements for the real time check.

This lightweight plugin allows you to use an arbitrary value for that check in addition to those values.

php file and eventually to write a little bit of JavaScript code in order to specify which fields.

Note that the plugin don’t replace SEMrush SEO Writing Assistant but is intended to be used together.

Usage

php:

  • SWA_SEMRUSH_CUSTOM_FIELDS_PLUGIN_AUTOENABLE

Automatically enable use of additional text value for SEMrush check. The default value is false.

This is the only configuration you have to do in order to have the plugin feature working.

For example:

define( 'SWA_SEMRUSH_CUSTOM_FIELDS_PLUGIN_AUTOENABLE', true );

  • SWA_SEMRUSH_CUSTOM_FIELDS_PLUGIN_INTERVAL

Allows to change the interval between automatic updates of the text used by SEMrush checks.

For example:

define( 'SWA_SEMRUSH_CUSTOM_FIELDS_PLUGIN_INTERVAL', 10 );

You can alernatavely control the plugins programmatically, by using

semrush_seo_writing_assistant_post_types (optional) filter and SeoWritingAssistantSEMrushCustomFields JavaScript object (see below).

API

WordPress Hooks

** swa_semrush_custom_fields_settings **

Filters plugin settings values.

apply_filters( 'swa_semrush_custom_fields_settings', array $settings )

semrush_seo_writing_assistant_post_types

Filters post types where to enable plugin. Default to array( 'post', 'page', 'product' ).

apply_filters( 'semrush_seo_writing_assistant_post_types', array $post_types )

4) used for the same purpose.

JavaScript Event

seo-writing-assistant-semrush

This event allows you to update the text for SEMrush analysis.

The following example will update text for SEMrush check every 5 seconds, using excerpt and my_custom_fields custom field values (working both with block and classic editors):

val(); } ) } );

Note that if you have previously defined constant SWA_SEMRUSH_CUSTOM_FIELDS_PLUGIN_AUTOENABLE to true,

you don’t have to create new SeoWritingAssistantSEMrushCustomFields object.

JavaScript API

setHtml()

The following example will update programmatically the text used by SEMrush check with an arbitrary value:

setHtml( 'foo baz bar' ); } );

Advanced Custom Fields

The plugin checks if Advanced Custom Fields is active in your WordPress instance and adds a custom setting to each field

(only for input within text, radio and checkbox type, textarea and select elements) allowing you to add his value

to SEMrush check without having to write any additional JavaScript code.

Autodiscovery

The plugin also automatically add to text used by SEMrush checks, the values of all HTML elements

with swa-scf class or data-swa-scf attribute.

This will applied only for input (within text, radio and checkbox type), textarea, and select elements.

WordPress.org metadata

Plugin tags

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

  • content analysis
  • content marketing
  • custom fields
  • readability
  • seo
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.2

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

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.2
Minimum requirementsWordPress 4.4 · PHP 5.2.4
Update activity17 Jun 20197y 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.