partials
1 year ago
ads.php
1 year ago
calendly.php
1 year ago
custom-logo.php
2 years ago
dailymotion.php
2 years ago
elements.php
2 years ago
general.php
1 year ago
go-premium.php
2 years ago
google-calendar.php
2 years ago
instagram.php
2 years ago
license.php
5 years ago
main-template.php
1 year ago
opensea.php
2 years ago
premium.php
2 years ago
shortcode.php
2 years ago
soundcloud.php
2 years ago
sources.php
1 year ago
spotify.php
2 years ago
twitch.php
2 years ago
vimeo.php
2 years ago
wistia.php
2 years ago
youtube.php
1 year ago
sources.php
245 lines
| 1 | <?php |
| 2 | $icon_src = EMBEDPRESS_SETTINGS_ASSETS_URL . "img/sources/icons"; |
| 3 | |
| 4 | |
| 5 | $sources = [ |
| 6 | ["name" => "Google Photos", "arival_status" => "new", "icon" => $icon_src . "/google-photos.png", "type" => "google", "doc_url" => "https://embedpress.com/docs/embed-google-photos-in-wordpress/"], |
| 7 | ["name" => "Instagram", "arival_status" => "new", "icon" => $icon_src . "/instagram.png", "type" => "social", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=instagram", "doc_url" => "https://embedpress.com/docs/embed-instagram-wordpress/"], |
| 8 | ["name" => "Airtable", "arival_status" => "new", "icon" => $icon_src . "/airtable.png", "type" => "docs", "doc_url" => "https://embedpress.com/docs/embed-airtable-workspace-with-embedpress/"], |
| 9 | ["name" => "Canva", "arival_status" => "new", "icon" => $icon_src . "/canva.webp", "type" => "docs", "doc_url" => "https://embedpress.com/docs/embed-canva-in-wordpress/"], |
| 10 | ["name" => "YouTube", "arival_status" => "popular", "icon" => $icon_src . "/youtube.png", "type" => "video", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=youtube", "doc_url" => "https://embedpress.com/docs/embed-youtube-wordpress/"], |
| 11 | ["name" => "YouTube Live", "arival_status" => "popular", "icon" => $icon_src . "/youtubelive.png", "type" => "stream", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=youtube", "doc_url" => "https://embedpress.com/docs/embed-youtube-wordpress/"], |
| 12 | ["name" => "Vimeo", "arival_status" => "popular", "icon" => $icon_src . "/vimeo.png", "type" => "video", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=vimeo", "doc_url" => "https://embedpress.com/docs/embed-vimeo-videos-wordpress/"], |
| 13 | ["name" => "Wistia", "arival_status" => "popular", "icon" => $icon_src . "/wistia.png", "type" => "video", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=wistia", "doc_url" => "https://embedpress.com/docs/embed-wistia-videos-wordpress/"], |
| 14 | ["name" => "Twitch", "icon" => $icon_src . "/twitch.png", "type" => "video", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=twitch", "doc_url" => "https://embedpress.com/docs/embed-twitch-streams-chat/"], |
| 15 | ["name" => "Dailymotion", "arival_status" => "popular", "icon" => $icon_src . "/dailymotion.png", "type" => "video", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=dailymotion", "doc_url" => "https://embedpress.com/docs/embed-dailymotion-videos-wordpress/"], |
| 16 | ["name" => "PDF", "arival_status" => "popular", "icon" => $icon_src . "/pdf.png", "type" => "pdf", "doc_url" => "https://wpdeveloper.com/embed-pdf-documents-wordpress"], |
| 17 | ["name" => "SoundCloud", "icon" => $icon_src . "/soundcloud.png", "type" => "audio", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=soundcloud", "doc_url" => "https://embedpress.com/docs/embed-soundcloud-audio-wordpress/"], |
| 18 | ["name" => "Spotify", "arival_status" => "popular", "icon" => $icon_src . "/spotify.png", "type" => "audio", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=spotify", "doc_url" => "https://embedpress.com/docs/embed-spotify-audios-wordpress/"], |
| 19 | ["name" => "Spreaker", "arival_status" => "updated", "icon" => $icon_src . "/spreaker.png", "type" => "podcast", "doc_url" => "https://embedpress.com/docs/how-to-embed-spreaker-podcasts-in-wordpress/"], |
| 20 | |
| 21 | ["name" => "MS Word", "arival_status" => "new", "icon" => $icon_src . "/word.svg", "type" => "microsoft", "doc_url" => "https://embedpress.com/docs/embed-word-document-in-wordpress/"], |
| 22 | ["name" => "MS XLSX", "arival_status" => "new", "icon" => $icon_src . "/xlsx.svg", "type" => "microsoft", "doc_url" => "https://embedpress.com/docs/embed-excel-workbook-in-wordpress/"], |
| 23 | // ["name" => "MS PPTX", "arival_status" => "new", "icon" => $icon_src . "/pptx.svg", "type" => "microsoft", "doc_url" => "https://embedpress.com/docs/embed-powerpoint-in-wordpress/"], |
| 24 | |
| 25 | ["name" => "OpenSea NFT", "arival_status" => "popular", "icon" => $icon_src . "/opensea.png", "type" => "image", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=opensea", "doc_url" => "https://embedpress.com/docs/embed-opensea-nft-collections-wordpress/"], |
| 26 | ["name" => "Calendly", "arival_status" => "new", "icon" => $icon_src . "/calendly.png", "type" => "calendar", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=calendly", "doc_url" => "https://embedpress.com/docs/how-to-embed-calendly-events-with-embedpress/"], |
| 27 | ["name" => "Google Docs", "arival_status" => "popular", "icon" => $icon_src . "/google-docs.png", "type" => "google pdf", "doc_url" => "https://embedpress.com/docs/embed-google-docs-wordpress/"], |
| 28 | ["name" => "Google Slides", "arival_status" => "popular", "icon" => $icon_src . "/google-slides.png", "type" => "google pdf", "doc_url" => "https://embedpress.com/docs/embed-google-slides-wordpress/"], |
| 29 | ["name" => "Google Forms", "icon" => $icon_src . "/google-forms.png", "type" => "google", "doc_url" => "https://embedpress.com/docs/embed-google-forms-wordpress/"], |
| 30 | ["name" => "Google Maps", "arival_status" => "popular", "icon" => $icon_src . "/google-maps.png", "type" => "google", "doc_url" => "https://embedpress.com/docs/embed-google-maps-wordpress/"], |
| 31 | ["name" => "Google Sheets", "icon" => $icon_src . "/google-sheets.png", "type" => "google pdf", "doc_url" => "https://embedpress.com/docs/embed-google-sheets-wordpress/"], |
| 32 | ["name" => "Google Calendar", "icon" => $icon_src . "/google-calendar.png", "type" => "google", "settings" => true, "settings_url" => admin_url('admin.php') . "?page=embedpress&page_type=google-calendar", "doc_url" => "https://embedpress.com/docs/embed-google-calendar-in-wordpress/"], |
| 33 | ["name" => "Google Drawings", "icon" => $icon_src . "/google-drawings.png", "type" => "google pdf", "doc_url" => "https://embedpress.com/docs/embed-google-drawings-wordpress/"], |
| 34 | |
| 35 | ["name" => "Facebook", "arival_status" => "popular", "icon" => $icon_src . "/facebook.png", "type" => "social", "doc_url" => "https://embedpress.com/docs/embed-facebook-posts-wordpress/"], |
| 36 | ["name" => "Facebook Live", "arival_status" => "popular", "icon" => $icon_src . "/facebooklive.png", "type" => "social", "doc_url" => "https://embedpress.com/docs/embed-facebook-posts-wordpress/"], |
| 37 | ["name" => "X", "arival_status" => "updated", "icon" => $icon_src . "/x.png", "type" => "social", "doc_url" => "https://embedpress.com/docs/embed-twitter-tweets-wordpress/"], |
| 38 | ["name" => "LinkedIn", "arival_status" => "new", "icon" => $icon_src . "/linkedin.png", "type" => "social", "doc_url" => "https://embedpress.com/docs/embed-linkedin-posts-in-wordpress/"], |
| 39 | |
| 40 | |
| 41 | ["name" => "Github", "icon" => $icon_src . "/github.png", "type" => "social", "doc_url" => "https://embedpress.com/docs/embed-github-gist-snippets-wordpress/"], |
| 42 | ["name" => "Tumblr", "icon" => $icon_src . "/tumblr.png", "type" => "social", "doc_url" => "https://embedpress.com/docs/embed-tumblr-wordpress/"], |
| 43 | ["name" => "WordPress.tv", "icon" => $icon_src . "/wordpress-tv.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-wordpress-tv-videos-wordpress/"], |
| 44 | ["name" => "Rumble Video", "icon" => $icon_src . "/rumble.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-rumble-video/"], |
| 45 | ["name" => "DeviantArt", "icon" => $icon_src . "/deviantart.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/embed-deviantart-image-wordpress/"], |
| 46 | ["name" => "Imgur", "icon" => $icon_src . "/imgur-images.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/embed-imgur-images-wordpress/"], |
| 47 | ["name" => "Scribd", "icon" => $icon_src . "/scribd.png", "type" => "document", "doc_url" => "https://embedpress.com/docs/embed-scribd-document-wordpress/"], |
| 48 | ["name" => "Flickr", "icon" => $icon_src . "/flickr-images.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/embed-flickr-image-wordpress/"], |
| 49 | ["name" => "Slideshare", "icon" => $icon_src . "/slideshare.png", "type" => "presentation", "doc_url" => "https://embedpress.com/docs/embed-slideshare-presentations-wordpress/"], |
| 50 | ["name" => "Giphy", "icon" => $icon_src . "/giphy-gifs.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/embed-giphy-gifs-wordpress/"], |
| 51 | ["name" => "Gumroad", "icon" => $icon_src . "/gumroad.png", "type" => "product", "doc_url" => "https://embedpress.com/docs/embed-gumroad-product/"], |
| 52 | ["name" => "Meetup", "icon" => $icon_src . "/meetup.png", "type" => "event", "doc_url" => "https://embedpress.com/docs/embed-meetup-groups-events-wordpress/"], |
| 53 | ["name" => "Wordwall", "icon" => $icon_src . "/wordwall.png", "type" => "lesson", "doc_url" => "https://embedpress.com/docs/how-to-embed-wordwall-lessons-in-wordpress/"], |
| 54 | ["name" => "SmugMug", "icon" => $icon_src . "/smugmug.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/embed-smugmug-images-wordpress/"], |
| 55 | ["name" => "Kickstarter", "icon" => $icon_src . "/kickstarter.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-kickstarter-videos-wordpress/"], |
| 56 | ["name" => "Getty Images", "icon" => $icon_src . "/getty-images.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/embed-getty-images-wordpress/"], |
| 57 | ["name" => "Matterport 3D Scans", "icon" => $icon_src . "/matterport.png", "type" => "3d", "doc_url" => "https://embedpress.com/docs/how-to-embed-matterport-3d-scans/"], |
| 58 | ["name" => "CodePen", "icon" => $icon_src . "/codepen.png", "type" => "code", "doc_url" => "https://embedpress.com/docs/embed-codepen-codes-in-wordpress/"], |
| 59 | ["name" => "Padlet", "icon" => $icon_src . "/padlet.png", "type" => "board", "doc_url" => "https://embedpress.com/docs/how-to-embed-padlet-in-wordpress/"], |
| 60 | ["name" => "Streamable", "icon" => $icon_src . "/streamable.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-streamable-videos-in-wordpress/"], |
| 61 | ["name" => "CodeSandbox", "icon" => $icon_src . "/codesandbox.png", "type" => "code", "doc_url" => "https://embedpress.com/docs/how-to-embed-codesandbox-codes-in-wordpress/"], |
| 62 | ["name" => "Gyazo", "icon" => $icon_src . "/gyazo.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/how-to-embed-gyazo/"], |
| 63 | ["name" => "iFixit", "icon" => $icon_src . "/ifixit.png", "type" => "repair", "doc_url" => "https://embedpress.com/docs/how-to-embed-ifixit-repair-manuals-in-wordpress/"], |
| 64 | ["name" => "Gloria.tv", "icon" => $icon_src . "/gloria-tv.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-gloria-tv-videos-in-wordpress/"], |
| 65 | ["name" => "Boomplay Music", "icon" => $icon_src . "/boomplay.png", "type" => "music", "doc_url" => "https://embedpress.com/docs/how-to-embed-boomplay-music/"], |
| 66 | ["name" => "TED", "icon" => $icon_src . "/ted-videos.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-ted-videos-wordpress/"], |
| 67 | ["name" => "Gfycat", "icon" => $icon_src . "/gfycat.png", "type" => "gif", "doc_url" => "https://embedpress.com/docs/how-to-embed-gfycat-gifs-in-wordpress/"], |
| 68 | ["name" => "Mixcloud", "icon" => $icon_src . "/mixcloud-audio.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/embed-mixcloud-audio-wordpress/"], |
| 69 | ["name" => "DocDroid", "icon" => $icon_src . "/docdroid.png", "type" => "document", "doc_url" => "https://embedpress.com/docs/embed-docdroid-documentation-in-wordpress/"], |
| 70 | ["name" => "Coub", "icon" => $icon_src . "/coub-videos.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-coub-videos-iwordpress/"], |
| 71 | ["name" => "Speaker Deck", "icon" => $icon_src . "/speakerdeck.png", "type" => "presentation", "doc_url" => "https://embedpress.com/docs/embed-speakerdeck-presentations-wordpress/"], |
| 72 | ["name" => "ReverbNation", "icon" => $icon_src . "/reverbnation.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/embed-reverbnation-audio-wordpress/"], |
| 73 | ["name" => "Vidyard", "icon" => $icon_src . "/vidyard.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-vidyard-in-wordpress/"], |
| 74 | ["name" => "LearningApps", "icon" => $icon_src . "/learningapps.png", "type" => "app", "doc_url" => "https://embedpress.com/docs/how-to-embed-learningapps-apps-in-wordpress/"], |
| 75 | ["name" => "iHeartRadio", "icon" => $icon_src . "/iHeartradio.png", "type" => "podcast", "doc_url" => "https://embedpress.com/docs/how-to-embed-iheartradio-podcasts-in-wordpress/"], |
| 76 | ["name" => "Hearthis.at", "icon" => $icon_src . "/hearthis.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/how-to-embed-hearthis-audio-in-wordpress/"], |
| 77 | ["name" => "Flourish", "icon" => $icon_src . "/flourish.png", "type" => "chart", "doc_url" => "https://embedpress.com/docs/how-to-embed-flourish/"], |
| 78 | ["name" => "NRK Radio", "icon" => $icon_src . "/nrk-radio.png", "type" => "podcast", "doc_url" => "https://embedpress.com/docs/embed-nrk-radio-podcasts-in-wordpress/"], |
| 79 | ["name" => "Infogram", "icon" => $icon_src . "/infogram.png", "type" => "chart", "doc_url" => "https://embedpress.com/docs/embed-infogram-charts-wordpress/"], |
| 80 | ["name" => "FITE", "icon" => $icon_src . "/fite.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-fite/"], |
| 81 | ["name" => "Animoto", "icon" => $icon_src . "/animoto.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-animoto-videos-wordpress/"], |
| 82 | |
| 83 | ["name" => "Digiteka", "icon" => $icon_src . "/digiteka.png", "type" => "video", "doc_url" => ""], |
| 84 | |
| 85 | ["name" => "Toornament", "icon" => $icon_src . "/toornament.png", "type" => "esports", "doc_url" => "https://embedpress.com/docs/how-to-embed-toornament/"], |
| 86 | ["name" => "SAPO Videos", "icon" => $icon_src . "/sapa.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-sapo-videos-in-wordpress/"], |
| 87 | ["name" => "Fader", "icon" => $icon_src . "/fader.png", "type" => "music", "doc_url" => "https://embedpress.com/docs/how-to-embed-fader/"], |
| 88 | ["name" => "TVCF Advertisements", "icon" => $icon_src . "/tvcf.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-tvcf-advertisements-in-wordpress/"], |
| 89 | ["name" => "Wizer", "icon" => $icon_src . "/wizer.png", "type" => "education", "doc_url" => "https://embedpress.com/docs/how-to-embed-wizer/"], |
| 90 | ["name" => "Cloudup", "icon" => $icon_src . "/cloudup.png", "type" => "cloud", "doc_url" => "https://embedpress.com/docs/embed-cloudup-videos-images-or-audios-wordpress/"], |
| 91 | ["name" => "Sudomemo", "icon" => $icon_src . "/sudomemo.png", "type" => "animation", "doc_url" => "https://embedpress.com/docs/how-to-embed-sudomemo/"], |
| 92 | ["name" => "CircuitLab", "icon" => $icon_src . "/circuitlab.png", "type" => "circuit", "doc_url" => "https://embedpress.com/docs/embed-circuitlab-circuit-wordpress/"], |
| 93 | ["name" => "Edumedia Science Files", "icon" => $icon_src . "/edumedia.png", "type" => "science", "doc_url" => "https://embedpress.com/docs/how-to-embed-edumedia-science-files-in-wordpress/"], |
| 94 | ["name" => "Ludus", "icon" => $icon_src . "/ludus.png", "type" => "presentation", "doc_url" => "https://embedpress.com/docs/embed-ludus-in-wordpress/"], |
| 95 | ["name" => "RunKit", "icon" => $icon_src . "/runkit.png", "type" => "code", "doc_url" => "https://embedpress.com/docs/embed-runkit-in-wordpress/"], |
| 96 | ["name" => "Clyp.it", "icon" => $icon_src . "/clyp-audio.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/embed-clypit-audio-wordpress/"], |
| 97 | |
| 98 | ["name" => "Hippo Videos", "icon" => $icon_src . "/hippo-videos.png", "type" => "video", "doc_url" => ""], |
| 99 | |
| 100 | ["name" => "Roomshare Listings", "icon" => $icon_src . "/roomshare.png", "type" => "listing", "doc_url" => "https://embedpress.com/docs/embed-roomshare-listings-wordpress/"], |
| 101 | ["name" => "Didacte Courses", "icon" => $icon_src . "/didacte.png", "type" => "course", "doc_url" => "https://embedpress.com/docs/how-to-embed-didacte-courses-in-wordpress/"], |
| 102 | ["name" => "Lumiere", "icon" => $icon_src . "/lumiere.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-lumiere/"], |
| 103 | ["name" => "Huffduffer", "icon" => $icon_src . "/huffduffer.png", "type" => "podcast", "doc_url" => "https://embedpress.com/docs/how-to-embed-huffduffer-podcasts-in-wordpress/"], |
| 104 | ["name" => "OnSizzle Content", "icon" => $icon_src . "/onsizzle.png", "type" => "meme", "doc_url" => "https://embedpress.com/docs/embed-onsizzle-content-in-wordpress/"], |
| 105 | ["name" => "Social Explorer Maps", "icon" => $icon_src . "/socialexplorer.png", "type" => "map", "doc_url" => "https://embedpress.com/docs/how-to-embed-social-explorer-maps-in-wordpress/"], |
| 106 | ["name" => "Chartblocks", "icon" => $icon_src . "/chartblocks.png", "type" => "chart", "doc_url" => "https://embedpress.com/docs/embed-chartblocks-charts-wordpress/"], |
| 107 | ["name" => "Orbitvu 360 Images", "icon" => $icon_src . "/orbitvu.png", "type" => "image", "doc_url" => "https://embedpress.com/docs/how-to-embed-orbitvu-360-images-in-wordpress/"], |
| 108 | |
| 109 | ["name" => "GetShow", "icon" => $icon_src . "/getshow.png", "type" => "social", "doc_url" => "https://embedpress.com/docs/how-to-embed-getshow-social-posts-in-wordpress/"], |
| 110 | ["name" => "Wave", "icon" => $icon_src . "/wave.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/how-to-embed-wave-videos-in-wordpress/"], |
| 111 | |
| 112 | ["name" => "Shortnote", "icon" => $icon_src . "/shortnote.png", "type" => "note", "doc_url" => "https://embedpress.com/docs/embed-shortnote-notes-wordpress/"], |
| 113 | ["name" => "Dotsub", "icon" => $icon_src . "/dotsub.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-dotsub-videos-wordpress/"], |
| 114 | ["name" => "Chirbit", "icon" => $icon_src . "/chirbit-audio.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/embed-chirbit-audio-wordpress/"], |
| 115 | ["name" => "Songlink Odesli Page", "icon" => $icon_src . "/songlink.png", "type" => "music", "doc_url" => "https://embedpress.com/docs/embed-songlink-odesli-page/"], |
| 116 | ["name" => "The New York Times", "icon" => $icon_src . "/nytimes.png", "type" => "news", "doc_url" => "https://embedpress.com/docs/embed-the-new-york-times-news-in-wordpress/"], |
| 117 | ["name" => "Smash Notes Podcasts", "icon" => $icon_src . "/smashnotes.png", "type" => "podcast", "doc_url" => "https://embedpress.com/docs/how-to-embed-smash-notes-podcasts-in-wordpress/"], |
| 118 | |
| 119 | ["name" => "Commaful", "icon" => $icon_src . "/commaful.png", "type" => "writing", "doc_url" => "https://embedpress.com/docs/how-to-embed-commaful-in-wordpress/"], |
| 120 | ["name" => "ShowTheWay", "icon" => $icon_src . "/showtheway.png", "type" => "map", "doc_url" => "https://embedpress.com/docs/how-to-embed-showtheway-maps-in-wordpress/"], |
| 121 | ["name" => "Blogcast", "icon" => $icon_src . "/blogcast.png", "type" => "podcast", "doc_url" => "https://embedpress.com/docs/how-to-embed-blogcast-podcasts-in-wordpress/"], |
| 122 | ["name" => "VideoPress", "icon" => $icon_src . "/videopress.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-videopress-videos-wordpress/"], |
| 123 | ["name" => "KaKao TV", "icon" => $icon_src . "/kakaotv.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-kakao-tv-videos-in-wordpress/"], |
| 124 | ["name" => "Crowdsignal", "icon" => $icon_src . "/crowdsignal.png", "type" => "survey", "doc_url" => "https://embedpress.com/docs/how-to-embed-crowdsignal-surveys-in-wordpress/"], |
| 125 | ["name" => "Medienarchiv", "icon" => $icon_src . "/medienarchiv.png", "type" => "media", "doc_url" => "https://embedpress.com/docs/how-to-embed-medienarchiv-of-zurich-university/"], |
| 126 | |
| 127 | |
| 128 | ["name" => "ZingSoft Charts & Grids", "icon" => $icon_src . "/zingsoft.png", "type" => "chart", "doc_url" => "https://embedpress.com/docs/how-to-embed-zingsoft-charts-grids-in-wordpress/"], |
| 129 | ["name" => "EthFiddle", "icon" => $icon_src . "/ethfiddle.png", "type" => "ethereum", "doc_url" => "https://embedpress.com/docs/how-to-embed-ethfiddle/"], |
| 130 | ["name" => "Namchey", "icon" => $icon_src . "/namchey.png", "type" => "namchey", "doc_url" => "https://embedpress.com/docs/how-to-embed-namchey/"], |
| 131 | ["name" => "Polldaddy", "icon" => $icon_src . "/polldaddy.png", "type" => "poll", "doc_url" => "https://embedpress.com/docs/polldaddy-embed-wordpress/"], |
| 132 | ["name" => "Sway", "icon" => $icon_src . "/sway.png", "type" => "presentation", "doc_url" => "https://embedpress.com/docs/how-to-embed-sway/"], |
| 133 | ["name" => "VoxSnap", "icon" => $icon_src . "/voxsnap.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/how-to-embed-voxsnap/"], |
| 134 | |
| 135 | ["name" => "Overflow", "icon" => $icon_src . "/overflow.png", "type" => "web", "doc_url" => "https://embedpress.com/docs/how-to-embed-overflow-in-wordpress-with-embedpress/"], |
| 136 | ["name" => "SproutVideo", "icon" => $icon_src . "/sproutvideo.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/how-to-embed-sproutvideo/"], |
| 137 | ["name" => "SongLink", "icon" => $icon_src . "/songlink.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/how-to-embed-sproutvideo/"], |
| 138 | ["name" => "23hq Photos", "icon" => $icon_src . "/23hq.png", "type" => "photo", "doc_url" => "https://embedpress.com/docs/embed-23hq-photos-wordpress/"], |
| 139 | ["name" => "Geograph UK", "icon" => $icon_src . "/geograph-uk.png", "type" => "map", "doc_url" => "https://embedpress.com/docs/how-to-embed-geograph/"], |
| 140 | ["name" => "ISSUU", "icon" => $icon_src . "/issuu.png", "type" => "document", "doc_url" => "https://embedpress.com/docs/embed-issuu-documents-wordpress/"], |
| 141 | ["name" => "Roosterteeth", "icon" => $icon_src . "/roosterteeth.png", "type" => "video", "doc_url" => "https://embedpress.com/docs/embed-roosterteeth-videos-wordpress/"], |
| 142 | ["name" => "Daily Mile", "icon" => $icon_src . "/dailymile.png", "type" => "health", "doc_url" => "https://embedpress.com/docs/embed-dailymile-activity-wordpress/"], |
| 143 | ["name" => "Sketchfab", "icon" => $icon_src . "/sketchfab.png", "type" => "3D", "doc_url" => "https://embedpress.com/docs/embed-sketchfab-drawings-wordpress/"], |
| 144 | ["name" => "Matterport", "icon" => $icon_src . "/matterport.png", "type" => "3D", "doc_url" => "https://embedpress.com/docs/how-to-embed-matterport-3d-scans/"], |
| 145 | ["name" => "Code point", "icon" => $icon_src . "/codepoint.png", "type" => "data", "doc_url" => "https://embedpress.com/docs/how-to-embed-codepoints-codes-in-wordpress/"], |
| 146 | ["name" => "MBM", "icon" => $icon_src . "/mbm.png", "type" => "audio", "doc_url" => "https://embedpress.com/docs/how-to-embed-mbm-audio-in-wordpress/"], |
| 147 | ["name" => "Datawrapper", "icon" => $icon_src . "/datawrapper.png", "type" => "data", "doc_url" => "https://embedpress.com/docs/how-to-embed-datawrapper-data-charts-in-wordpress/"], |
| 148 | ["name" => "Eyrie", "icon" => $icon_src . "/eyrie.png", "type" => "photo", "doc_url" => "https://embedpress.com/docs/how-to-embed-eyrie-photo-albums-in-wordpress/"], |
| 149 | ["name" => "Cambridge Map", "icon" => $icon_src . "/cambridge-map.png", "type" => "map", "doc_url" => "https://embedpress.com/docs/how-to-embed-university-cambridge-map/"], |
| 150 | ["name" => "Mermaid", "icon" => $icon_src . "/mermaid.png", "type" => "graphics", "doc_url" => "https://embedpress.com/docs/embed-mermaid-in-wordpress/"], |
| 151 | ["name" => "PolariShare", "icon" => $icon_src . "/polarishare.png", "type" => "stream", "doc_url" => "https://embedpress.com/docs/how-to-embed-polarishare-videos-in-wordpress/"], |
| 152 | |
| 153 | ]; |
| 154 | |
| 155 | |
| 156 | ?> |
| 157 | |
| 158 | |
| 159 | <div class="source-settings-page"> |
| 160 | |
| 161 | <div class="tab-content-section"> |
| 162 | <?php |
| 163 | $index = 0; |
| 164 | foreach ($sources as $source) : ?> |
| 165 | <div class="source-item" data-tab="<?php echo esc_attr($source['type']); ?>"> |
| 166 | <div class="source-left"> |
| 167 | <div class="icon"> |
| 168 | <img class="source-image" src="<?php echo esc_url($source['icon']); ?>" alt="<?php echo esc_attr($source['name']); ?>"> |
| 169 | </div> |
| 170 | <span class="source-name"><?php echo esc_html($source['name']); ?></span> |
| 171 | </div> |
| 172 | <div class="source-right"> |
| 173 | |
| 174 | <?php if (!empty($source['settings'])) : ?> |
| 175 | <a href="<?php echo esc_url($source['settings_url']); ?>"> |
| 176 | <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> |
| 177 | <g clip-path="url(#a)" stroke="#988FBD" stroke-linecap="round" stroke-linejoin="round"> |
| 178 | <path d="M6.883 2.878c.284-1.17 1.95-1.17 2.234 0a1.15 1.15 0 0 0 1.715.71c1.029-.626 2.207.551 1.58 1.58a1.148 1.148 0 0 0 .71 1.715c1.17.284 1.17 1.95 0 2.234a1.15 1.15 0 0 0-.71 1.715c.626 1.029-.551 2.207-1.58 1.58a1.148 1.148 0 0 0-1.715.71c-.284 1.17-1.95 1.17-2.234 0a1.15 1.15 0 0 0-1.715-.71c-1.029.626-2.207-.551-1.58-1.58a1.15 1.15 0 0 0-.71-1.715c-1.17-.284-1.17-1.95 0-2.234a1.15 1.15 0 0 0 .71-1.715c-.626-1.029.551-2.207 1.58-1.58a1.149 1.149 0 0 0 1.715-.71Z" /> |
| 179 | <path d="M6 8a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z" /> |
| 180 | </g> |
| 181 | <defs> |
| 182 | <clipPath id="a"> |
| 183 | <path fill="#fff" d="M0 0h16v16H0z" /> |
| 184 | </clipPath> |
| 185 | </defs> |
| 186 | </svg> |
| 187 | </a> |
| 188 | <?php endif; ?> |
| 189 | |
| 190 | <a href="<?php if (!empty($source['doc_url'])) : echo esc_url($source['doc_url']); |
| 191 | endif; ?>" target="_blank"> |
| 192 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"> |
| 193 | <g clip-path="url(#a)" stroke="#988FBD" stroke-linecap="round" stroke-linejoin="round"> |
| 194 | <path d="M9.333 2v2.667a.667.667 0 0 0 .667.666h2.666" /> |
| 195 | <path d="M11.333 14H4.666a1.334 1.334 0 0 1-1.333-1.333V3.333A1.333 1.333 0 0 1 4.666 2h4.667l3.333 3.333v7.334A1.333 1.333 0 0 1 11.333 14ZM6 11.333h4M6 8.667h4" /> |
| 196 | </g> |
| 197 | <defs> |
| 198 | <clipPath id="a"> |
| 199 | <path fill="#fff" d="M0 0h16v16H0z" /> |
| 200 | </clipPath> |
| 201 | </defs> |
| 202 | </svg> |
| 203 | </a> |
| 204 | </div> |
| 205 | <?php if (!empty($source['arival_status'])) : ?> |
| 206 | <div class="ribbon-container <?php echo esc_attr($source['arival_status']); ?>"><?php echo esc_html($source['arival_status']); ?></div> |
| 207 | <?php endif; ?> |
| 208 | </div> |
| 209 | <?php $index++; |
| 210 | endforeach; ?> |
| 211 | </div> |
| 212 | </div> |
| 213 | |
| 214 | <script> |
| 215 | document.addEventListener("DOMContentLoaded", function() { |
| 216 | var tabButtons = document.querySelectorAll(".tab-button"); |
| 217 | var tabItems = document.querySelectorAll(".source-item"); |
| 218 | |
| 219 | tabButtons.forEach(function(button) { |
| 220 | button.addEventListener("click", function() { |
| 221 | tabButtons.forEach(function(btn) { |
| 222 | btn.classList.remove("active"); |
| 223 | }); |
| 224 | |
| 225 | button.classList.add("active"); |
| 226 | |
| 227 | var tabName = button.getAttribute("data-tab"); |
| 228 | |
| 229 | tabItems.forEach(function(item) { |
| 230 | var dataTabs = item.getAttribute("data-tab").split(' '); |
| 231 | if (tabName === "all" || dataTabs.includes(tabName)) { |
| 232 | item.style.display = "flex"; |
| 233 | } else { |
| 234 | item.style.display = "none"; |
| 235 | } |
| 236 | }); |
| 237 | }); |
| 238 | }); |
| 239 | |
| 240 | var allButton = document.querySelector(".tab-button[data-tab='all']"); |
| 241 | if (allButton) { |
| 242 | allButton.click(); |
| 243 | } |
| 244 | }); |
| 245 | </script> |