doc:tips:webshareapi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:tips:webshareapi [2022/08/13 02:37] – Multilingual support is handled by fp fraenkiman | doc:tips:webshareapi [2024/12/13 00:45] (current) – [Demo and Download by George] Is outdated/ Domain down fraenkiman | ||
---|---|---|---|
Line 10: | Line 10: | ||
==== How to integrate with Flatpress ==== | ==== How to integrate with Flatpress ==== | ||
- | First find and edit the file [[https:// | + | First find and edit the file [[https:// |
- | {/static} | + | '' |
Line 23: | Line 23: | ||
To add webshare API to all your posts your must edit the file [[https:// | To add webshare API to all your posts your must edit the file [[https:// | ||
- | Paste the following code above the last </ | + | Paste the following code above the last '' |
<code html> | <code html> | ||
<input type=" | <input type=" | ||
Line 31: | Line 31: | ||
Edit the file [[https:// | Edit the file [[https:// | ||
- | Add the following script above the line 7 {action hook=wp_head} | + | Add the following script above the line 7 '' |
a. | a. | ||
<code html> | <code html> | ||
Line 68: | Line 68: | ||
now all your posts will have a webshareAPI button | now all your posts will have a webshareAPI button | ||
- | ==== Demo and Download by George ==== | + | |
- | if you prefer to host your own js file you can download it from [[https:// | + | |
- | test this on my website [[https:// | + | |
===== Language settings and adoption of Flatpress variables ===== | ===== Language settings and adoption of Flatpress variables ===== | ||
- | With a bit of manual work, the Webshare API adopts Flatpress' | + | With a bit of manual work, the Webshare API adopts Flatpress' |
==== The file and directory structure ==== | ==== The file and directory structure ==== |
doc/tips/webshareapi.1660351069.txt.gz · Last modified: 2022/08/13 02:37 by fraenkiman