{"id":13785094,"url":"https://github.com/greenpeace/gpes-import-wp-shortcodes","last_synced_at":"2026-08-02T01:01:44.169Z","repository":{"id":70228916,"uuid":"152406225","full_name":"greenpeace/gpes-import-wp-shortcodes","owner":"greenpeace","description":"Shortcodes to import frontend code into Wordpress","archived":false,"fork":false,"pushed_at":"2019-04-02T17:25:31.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-11T20:35:31.495Z","etag":null,"topics":["shortcake","shortcode","shortcode-ui","wordpress-plugin","wordpress-shortcode"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greenpeace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-10T10:32:24.000Z","updated_at":"2019-04-02T17:24:29.000Z","dependencies_parsed_at":"2023-02-21T23:45:33.830Z","dependency_job_id":null,"html_url":"https://github.com/greenpeace/gpes-import-wp-shortcodes","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/greenpeace/gpes-import-wp-shortcodes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpeace%2Fgpes-import-wp-shortcodes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpeace%2Fgpes-import-wp-shortcodes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpeace%2Fgpes-import-wp-shortcodes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpeace%2Fgpes-import-wp-shortcodes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenpeace","download_url":"https://codeload.github.com/greenpeace/gpes-import-wp-shortcodes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenpeace%2Fgpes-import-wp-shortcodes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36175203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-01T02:00:05.789Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shortcake","shortcode","shortcode-ui","wordpress-plugin","wordpress-shortcode"],"created_at":"2024-08-03T19:00:56.940Z","updated_at":"2026-08-02T01:01:43.922Z","avatar_url":"https://github.com/greenpeace.png","language":"PHP","funding_links":[],"categories":["Wordpress"],"sub_categories":["Plugins"],"readme":"# Wordpress shortcodes to import frontend code\n\nShortcodes to:\n\n* Import a text file that was uploaded to the media library.\n* Import an external URL (Use for development only! Please!)\n\nWith the plugin **Import Text File** you can develop svg, html, css and javascript externally and insert it in your pages using a shortcode. This plugin also lifts restrictions on uploading svg, html, css and javascript files to the media library.\n\n## How to use\n\nNormally used with **html** files or URLs, but it can also be used to import **javascript**, **css**, **svg** or **txt**.\n\n**Examples:**\n\n```\n[import_text_file file='/wp-content/uploads/2018/09/mapa-pagos-por-capacidad.html']\n\n[import_text_url url='https://apps.greenpeace.es/data-vis/import/chart.html']\n```\n\nPlease note that the shortcode **import_text_url** must never be used in production as it can overload the servers in high traffic pages!\n\nAlso please note that in some environments you might need to upload **.txt** files instead of **.html** Specially if you get security alerts when you upload an html file.\n\n## How to install the shortcodes\n\n1. Upload the folders **import-text-file** and **import-text-url** to **wp-content/plugins** \n2. Activate both plugins: **Import Text File** and **Import Text URL**\n\n## Graphic User Interface\n\nThe shortcodes **import_text_url** and **import_text_file** have a GUI using Shortcake (Shortcode UI). To install the GUI:\n\n1. Install and activate the plugin [Shortcake (Shortcode UI)](https://wordpress.org/plugins/shortcode-ui/)\n2. Upload the folders  **import-text-file-ui** and **import-text-url-ui** to **wp-content/plugins**\n3. Activate both **Import text file UI** and **Import text URL UI** in the plugins admin page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenpeace%2Fgpes-import-wp-shortcodes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenpeace%2Fgpes-import-wp-shortcodes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenpeace%2Fgpes-import-wp-shortcodes/lists"}