{"id":18882439,"url":"https://github.com/7studio/thistle","last_synced_at":"2026-05-05T03:39:59.366Z","repository":{"id":27143512,"uuid":"30612324","full_name":"7studio/thistle","owner":"7studio","description":"Thistle - National Flower of Scotland","archived":false,"fork":false,"pushed_at":"2017-06-22T13:49:29.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T03:42:57.468Z","etag":null,"topics":["wordpress","wordpress-starter-theme","wordpress-theme"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7studio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-10T20:12:59.000Z","updated_at":"2020-04-03T21:05:09.000Z","dependencies_parsed_at":"2022-09-01T02:11:39.217Z","dependency_job_id":null,"html_url":"https://github.com/7studio/thistle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7studio%2Fthistle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7studio%2Fthistle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7studio%2Fthistle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7studio%2Fthistle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7studio","download_url":"https://codeload.github.com/7studio/thistle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239850432,"owners_count":19707349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-starter-theme","wordpress-theme"],"created_at":"2024-11-08T06:58:25.255Z","updated_at":"2026-02-21T13:30:14.888Z","avatar_url":"https://github.com/7studio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This work is a try to understand a bit more WordPress and to make me happier when I work with it.\n\nI hesitated during a long time before starting my personal WordPress theme \nbecause I knew it would be a huge job and a long time investment. \nBut I was tired to undo half of theme features that I would use and lose hours of development.\n\nThistle is a WordPress Parent Theme which cannot live alone. It needs a bit of love\nthrough a Child Theme to construct beautiful experiences.\n\nHere are many reasons why Thistle can/should not be used as it is:\n\n* It doesn't provide any default design;\n* It doesn't offer critical features (e.g.: portfolio, project, etc);\n* Its template hierarchy is incomplete;\n* Its `function.php` is already wellfilled;\n* I myself decided on this first requirement.\n\nWith the help of Thistle, I tried to collect interesting things that I judge vital\nto work with WordPress and that I need the most :\n\n**Basic** things:\n\n* Cleans `\u003chead\u003e` HTML element;\n* Translates the base for the author and the search permalink structure depending on the locale used;\n* Discourages search engines from indexing some pages (e.g.: paged/search results);\n* Adds custom post type counts in \"Right now\" Dashboard widget; [8bc363](https://github.com/7studio/thistle/commit/8bc363785f5d020ab17995879d845b556456202d)\n* Transforms the default version of dependencies to hide the WP version in URLs; [601cb1](https://github.com/7studio/thistle/commit/601cb1b28e14527ba6648bf9406b820f178094c7)\n* Use the site information on login page; [c66554](https://github.com/7studio/thistle/commit/c66554a9b3c7f05ded5f1e8ce7cbd08e11835fce)\n* Disables the REST API except for the oEmebed endpoint; [8c04ed](https://github.com/7studio/thistle/commit/8c04edb5a5911d843e2ef80fbe329b34661fc491)\n* …\n\n**Helpful** things:\n\n* Adds a \"Thumbnail\" column for post types that support the thumbnail feature;\n* Moves the excerpt meta box above the editor permanently;\n* Renders the specific WordPress.com shortcodes for SoundCloud and SlideShare;\n* Allows users to see a live preview of embedded content within the visual editor;\n* Redirects the user to the current page or the home page on logout; [c579eb](https://github.com/7studio/thistle/commit/c579ebbd13af6395442d5c37c37288a733a8dda5)\n* Offers the right behaviour to `exclude_from_search`; [18acb9](https://github.com/7studio/thistle/commit/18acb9d1ca4e5e02999e198bf56a24045298b4b0)\n* Adds a new role to WordPress for customers (Editor++); [67767b](https://github.com/7studio/thistle/commit/67767b83e5b2596e8846f77217e992829142dd11)\n* …\n\n**Tricky** things:\n\n* Retrieves permalink for attachment following an unique permalink structure `media/%postame%`;\n* Handles the output of embedded content to be responsive;\n* Constructs `\u003cmeta\u003e` tags needed by Open Graph and Twitter Card;\n* Builds a new Gallery shortcode output to interact easily with PhotoSwipe;\n* Enqueues assets automaticaly following the template hierarchy behaviour; [05caf1](https://github.com/7studio/thistle/commit/05caf17f9970df81417086876cce5d98b8888367)\n* Autoloads TinyMCE templates for post types; [d1bd7c](https://github.com/7studio/thistle/commit/d1bd7c302071e97b0a5aa8beb65ab5b27b34e4d0)\n* Allows to use only the post type archive page; [712b0a](https://github.com/7studio/thistle/commit/712b0a04a2dcd6c1f56060c0d91e1f3d8819caf1)\n* …\n\nAlmost all the lines of code are commented so I let you look through Thistle to find other tips and features for your joy.\n\nPlease, note that Thistle is still under development.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7studio%2Fthistle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7studio%2Fthistle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7studio%2Fthistle/lists"}