You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add WordPress integration guide and demo section
- Added a new 'WordPress Integration' section to index.html with step-by-step instructions.
- Included PHP code snippets for enqueuing assets in unctions.php via standard WordPress hooks (wp_enqueue_scripts, wp_footer).
- Implemented copy-to-clipboard functionality for the new code blocks.
- Updated README.md to list WordPress as a formally supported platform.
FixesAOSSIE-Org#52, FixesAOSSIE-Org#112
|**2️⃣ Add Container**| Place `<div id="share-button"></div>`| The UI component where you want the button to appear|
110
-
|**3️⃣ Initialize**| Call `new SocialShareButton({ container: "#share-button" })`| Inside that component, after the DOM is ready (e.g. `useEffect`, `mounted`, `ngAfterViewInit`)|
0 commit comments