{"id":16495403,"url":"https://github.com/lorenzck/simplestupidshortcode","last_synced_at":"2026-05-15T01:38:23.812Z","repository":{"id":98088147,"uuid":"92826178","full_name":"LorenzCK/SimpleStupidShortcode","owner":"LorenzCK","description":"The simplest way to embed images into Wordpress posts.","archived":false,"fork":false,"pushed_at":"2017-11-29T21:34:20.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T21:46:57.615Z","etag":null,"topics":["wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LorenzCK.png","metadata":{"files":{"readme":"readme.txt","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-30T11:30:43.000Z","updated_at":"2023-01-16T14:58:42.000Z","dependencies_parsed_at":"2023-05-23T15:00:32.044Z","dependency_job_id":null,"html_url":"https://github.com/LorenzCK/SimpleStupidShortcode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/LorenzCK/SimpleStupidShortcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2FSimpleStupidShortcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2FSimpleStupidShortcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2FSimpleStupidShortcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2FSimpleStupidShortcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LorenzCK","download_url":"https://codeload.github.com/LorenzCK/SimpleStupidShortcode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LorenzCK%2FSimpleStupidShortcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33050497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["wordpress","wordpress-plugin"],"created_at":"2024-10-11T14:29:30.503Z","updated_at":"2026-05-15T01:38:23.792Z","avatar_url":"https://github.com/LorenzCK.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== Simple Stupid Shortcode ===\nContributors: lorenzck\nTags: shortcode, image, picture, embed, media\nRequires at least: 4.6\nTested up to: 4.9.1\nStable tag: trunk\nLicense: MIT\nLicense URI: https://github.com/LorenzCK/SimpleStupidShortcode/blob/master/LICENSE\n\nThe simplest and most flexible way to embed images or put internal links in Wordpress. Shortcodes to finally ditch all absolute paths and fixed sizes.\n\n== Description ==\n\nThe usual way to include images in Wordpress posts is to generate static anchor and `\u003cimg\u003e` tags through the content editor interface. Similarly, links to other posts or pages of your blog are also generated as absolute `\u003ca\u003e` tags by the content editor.\nThese kind of fixed links make your Wordpress site hard to migrate and make it especially hard to automatically change your output markup (for instance if you decide to change the image size or change a post’s title).\n\nNo longer.\nWith this plug-in, you can use the simple `[image]`, `[link]`, and `[page]` shortcodes in any of your posts.\n\n= Image shortcode =\n\nImages are referenced by their ID, for instance:\n\n`[image id=\"123\"]`\n\nThis *shortcode* will generate the following HTML structure:\n\n`\n\u003cdiv class=\"picture wp-image-123 size-medium\"\u003e\n  \u003cimg src=\"path-to-123-medium.jpg\" srcset=\"…\" /\u003e\n\u003c/div\u003e\n`\n\nImages default to their `medium` size, if none is set.\nYou may easily add HTML classes or didascalies:\n\n`[image id=\"123\" didascaly=\"Nice picture.\" class=\"aligncenter\"]`\n\nThis generates the following HTML block, which can be easily styled with some custom CSS:\n\n`\n\u003cdiv class=\"picture wp-image-123 size-medium aligncenter\"\u003e\n  \u003cimg src=\"path-to-123-medium.jpg\" srcset=\"…\" /\u003e\n  \u003cdiv class=\"didascaly\"\u003eNice picture.\u003c/div\u003e\n\u003c/div\u003e\n`\n\nThe `[image]` *shortcode* supports the following parameters:\n\n* `id`: the Wordpress ID of the attachment to include;\n* `size`: size of the image to include (can be any standard size such as `thumbnail`, `medium`, `full`, or any custom image size);\n* `alt`: alternate description to include in the `\u003cimg\u003e` tag;\n* `title`: image title to use in (optional) link;\n* `link`: if set to `true`, `1`, `yes`, or an equivalent value, a link to the full-resolution attachment will be generated, otherwise a fully specified target URL can be specified;\n* `didascaly`: text to add as a didascaly;\n* `class`: additional HTML/CSS classes to add to the root element.\n* `atts`: additional HTML attributes to add to the wrapping `\u003cdiv\u003e` tag.\n* `imgatts`: additional HTML attributes to add to the internal `\u003cimg\u003e` tag of the image.\n\n= Page and link shortcodes =\n\nThis couple of *shortcodes* automatically generate hypertext links to pages or posts of your Wordpress installation. Target posts can be referenced by ID, by *slug*, or by *path* (a post’s URL, relative to the website’s root).\n\nThus, `[link href=\"123\"]…[/link]`, `[link href=\"slug-of-post\"]…[/link]`, and `[link href=\"root-page/sub-page/slug-of-page\"]…[/link]` are all equivalent.\n\nThese *shortcodes* are “enclosing” (they wrap the content of the link, just like HTML tags) and they support the following parameters:\n\n* `href`: the ID, *slug*, or *path* of the target post or page;\n* `title`: the title to use in the link, if not set the target post’s title will be used;\n* `class`: additional HTML/CSS classes to add to the link;\n* `type`: type of the target post (defaults to “page” for `[page]` and “post” for `[link]`).\n\nIf no link content to be enclosed is provided, the posts’s title is automatically used as link text.\n\n== Screenshots ==\n\n1. *Shortcode* generation button with file picker.\n\n== Changelog ==\n\n= 1.5.1 =\n* Add support for `atts` and `imgatts` attributes for `[image]` shortcodes.\n\n= 1.5 =\n* Add support for URLs in `link` attributes for `[image]` shortcodes.\n\n= 1.4 =\n* Add [page] and [link] shortcodes.\n\n= 1.3 =\n* Added localization support.\n* Updated description and help.\n\n= 1.2 =\n* Added “add media” button with file picker on content editor.\n\n= 1.1 =\n* Added `didascaly` and `class` parameters.\n\n= 1.0 =\n* Initial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzck%2Fsimplestupidshortcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Florenzck%2Fsimplestupidshortcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florenzck%2Fsimplestupidshortcode/lists"}