h3_html = ‘
cta = ‘
atext = ‘
scdetails = scheader.getElementsByClassName( ‘scdetails’ );
sappendHtml( scdetails, h3_html );
sappendHtml( scdetails, atext );
sappendHtml( scdetails, cta );
sappendHtml( scheader, “http://www.searchenginejournal.com/” );
sc_logo = scheader.getElementsByClassName( ‘sc-logo’ );
logo_html = ‘‘;
sappendHtml( sc_logo, logo_html );
sappendHtml( scheader, ‘
} // endif cat_head_params.sponsor_logo
A brand new model of the official AMP plugin for WordPress helps the creation of AMP Stories.
Google just lately added a devoted part to go looking outcomes for showcasing AMP Stories.
So there’s no time like the current for studying how one can create them.
While AMP Stories might be created with or with out this plugin, its drag-and-drop performance actually makes issues simpler.
The AMP Project group explains how WordPress presents an excellent platform for creating AMP Stories:
“Building on prime of WordPress, and particularly the brand new Gutenberg editor accessible in WordPress 5.zero, permits the AMP Stories creation course of to learn from the wealthy media administration structure accessible in WordPress.
In Gutenberg every part is a block. This makes it simple to create wealthy put up layouts, present enhanced authoring instruments (phrase rely, colour distinction, doc outlines, and many others.), and lengthen with customized blocks.”
Capabilities of the newest AMP plugin replace embody:
- Creating and reordering AMP Story pages
- Dragging and dropping blocks
- Managing your content material general as a part of WordPress
- Creating new parts, reminiscent of textual content, movies, pictures
- Changing the background colour and opacity, and including a gradient
- Animating the textual content, rotating it, and deciding on a Google font
This function is at present accessible in an experimental alpha model of the AMP plugin, which is alleged to work greatest with Gutenberg.
With that mentioned, obtain and set up the plugin at your personal discretion.