function insertAnchorAfterWidget() {
// Create the anchor element
var anchor = document.createElement('a');
// Set the href attribute
anchor.href = '/summer-reading/srp';
// Set the text content of the anchor
anchor.textContent = 'Check out the Summer Reading program';
anchor.classList.add('srp-booklist-btn');
// Find the div with the class 'novelist-widget-container'
var widgetContainer = document.querySelector('.novelist-widget-container');
if (widgetContainer) {
// Insert the anchor after the widget container
widgetContainer.insertAdjacentElement('afterend', anchor);
} else {
console.error('No element with class "novelist-widget-container" found.');
}
}
// Call the function to insert the anchor
// remove comment to initialize function insertAnchorAfterWidget();