pepperfoggyhorn
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [All-In-One Security (AIOS) – Security and Firewall] Fatal Error after updateI’m having this issue too, but only where I’ve updated to WP 6.3. I’ll eagerly await the update to this plugin before updating any more of my sites.
Thanks, I used a very basic javascript function to sync the content and the classes.
<script> window.onclick = e => { clickedElement = e.target; var elementClass = clickedElement.className; if( elementClass.includes( "ccc-favorite-post-toggle-button" ) ){ if( elementClass == "ccc-favorite-post-toggle-button" ){ newContent = '\\f004'; // filled newClass = 'ccc-favorite-post-toggle-button save'; } else if( elementClass == "ccc-favorite-post-toggle-button save" ){ newContent = '\\f08a'; // hollow newClass = 'ccc-favorite-post-toggle-button'; } var favHeartElements = document.getElementsByClassName("ccc-favorite-post-toggle-button"); for ( i = 0; i < favHeartElements.length; i++ ){ element = favHeartElements[i]; if( element != clickedElement ){ element.className = newClass; var styleElem = document.head.appendChild(document.createElement("style")); styleElem.innerHTML = ".skhc-save-content .ccc-favorite-post-toggle a:before{content: '" + newContent + "';}"; } } } } </script>
It may not be the most beautiful or efficient script, but it gets the job done.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Heads Up on Change to Audio Player OutputGreat, thank you for the update.
Just confirming, after we update the plugin to 2.16.0, we’ll replace the code block we were using with either
echo ssp_player(); or echo ssp_player( $post->ID );
Correct?
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Heads Up on Change to Audio Player OutputThank you, that’s exactly the solution I needed. Worked perfectly.
Please let us know when you fix the original issue.
Viewing 4 replies - 1 through 4 (of 4 total)