SEO Writing Assistant SEMrush Custom Fields

SEO Writing Assistant SEMrush Custom Fields

Wordpress plugin

Install on Wordpress

App Details

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.

So, if you are using some kind of a page builders, field managers and so on, you have only to define a constant in your wp_config.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

Once the plugin is activated you can configure it by defining following constants in your wp-config.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.
The default value is 5 seconds.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 ) 

The filter has the same name as the one used by SEMrush SEO Writing Assistant plugin (since version 1.0.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):

jQuery( document ).ready( function() { var swa = new SeoWritingAssistantSEMrushCustomFields( { interval: 5 } ); jQuery( document ).on( 'seo-writing-assistant-semrush', function( event, data ) { data.html += jQuery( '#excerpt' ).val() + "\n" + jQuery( '.editor-post-excerpt__textarea textarea').val() + "\n" + jQuery( '#my_custom_fields' ).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:

jQuery( document ).ready( function() { var swa = new SeoWritingAssistantSEMrushCustomFields( { interval: 0 } ); swa.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.

Pricing

Starting from $0 per month.

Check Out the Blogger Feed Widget

By Common Ninja

Blogger FeedTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

Content analysis
content marketing
custom fields
Readability
seo

Developed By

Enrico Sorcinelli

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Blogger Feed for Wordpress logo

Blogger Feed

Show Blogger posts automatically with a Blogger feed that keeps your content fresh, improves navigation, and helps visitors discover more of your work.

Pricing Tables for Wordpress logo

Pricing Tables

Add pricing tables to your site to present plans clearly, help visitors compare features, and guide them toward faster and more confident conversions.

Corner Pop-up Builder for Wordpress logo

Corner Pop-up Builder

Add floating corner pop-ups to share updates, promotions, or messages in a non-intrusive, customizable format.

FAQ for Wordpress logo

FAQ

Add an FAQ section to your site to answer common questions, reduce support requests, and give visitors a smoother and more confident user experience.

Business Listings for Wordpress logo

Business Listings

Create business listings with a listings widget that presents companies clearly, supports easy organization, and helps visitors find the right services quickly.

Real Estate Listings for Wordpress logo

Real Estate Listings

Create real estate listings with a listings widget that displays properties clearly, supports customization, and helps visitors explore homes more easily.

App Store Reviews for Wordpress logo

App Store Reviews

Show Apple App Store reviews to build trust, strengthen credibility, and help visitors make confident download decisions that support app growth.

Live Weather Forecast for Wordpress logo

Live Weather Forecast

Use a live weather forecast widget to show current conditions and upcoming predictions, giving visitors real time local weather updates for better planning.

Corner Pop-up for Wordpress logo

Corner Pop-up

Add a floating corner pop-up to display updates or calls to action without disrupting the user experience or site flow.

Back to Top Button for Wordpress logo

Back to Top Button

Back to top button that improves navigation, speeds up browsing, and helps visitors move smoothly through long pages for a better user experience.

Slide-In Panel for Wordpress logo

Slide-In Panel

Slide in panel that appears from the top or bottom to highlight offers, capture attention, and guide visitors toward more conversions.

Google Play Reviews for Wordpress logo

Google Play Reviews

Show Google Play reviews for your Android app to build trust, strengthen credibility, and help visitors make confident download decisions.

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms