( function( wp ) {
var withSelect = wp.data.withSelect;
var ifCondition = wp.compose.ifCondition;
var myCustomButton = function( props ) {
return wp.element.createElement(
wp.blockEditor.RichTextToolbarButton, {
icon: 'editor-code',
title: 'saws',
onClick: function() {
props.onChange( wp.richText.insert(
props.value,
'<span class="test">text</span>'
) );
},
isActive: props.isActive,
}
);
}
wp.richText.registerFormatType(
'dammaj-editor/saws-output', {
title: 'saws',
tagName: '<span class="test">text</span>',
className: null,
edit: myCustomButton,
}
);
} )( window.wp );
]]>My blog is Katie at the Kitchen Door.
Thank you!
]]>Kind regards
https://www.ads-software.com/plugins/insert-html-snippet/
]]>if body class="class name" {
echo '<img src="https://www.website.com/image.jpg">';
}
Disclaimer, I have no php programming knowledge. My experience has been limited to being able to copy some code and use it other places.
I know I have the first line completely wrong just trying to convey what I want to do.
Regards
]]>This is a top quiz plugin and is everything I am looking for except….
Is there any way I can insert images into the quiz questions? I have tried coding it straight in HTML but the HTML is not being rendered. The apparenent lack of this feature is the only thing stopping me from purchasing the full version.
https://www.ads-software.com/extend/plugins/wordpress-simple-survey/
]]>Basically I need something that will allow me to quickly and easily insert a link at the top, and bottom of my posts/pages. The link needs to be changed for each site, and preferably would also allow HTML, so I could add an image with the link, etc…
Please, can anyone make any suggestions?
Really appreciate any point in the right direction here…
Thanks,
Nick
]]>1) Amazon wants me to copy the HTML code and paste at my website and I have no clue how to do that.
2) After that, I need to place the banner at the very top of my homepage, as in, make it the Header.
Any suggestions?
Thanks.
Fred