WordPress Plugin to embed Gitea Repositories

I ported the WordPress plugin providing shortcodes for embedding Gitlab projects into posts and pages to a Gitea version.

Below is a usage example, displaying the latest 3 commits and the latest release (if any) from repository “linuxfoo-gitea” on my Gitea instance:

[gitea-show-project url="https://tk-sls.de/git" project_owner=tk-sls.de project_repo=linuxfoo-gitea max=3 releases=latest]
Gitea project linuxfoo-giteaLast 3 commits in branch "main":2025-09-05 by Tilman Kranz: e3f99d74 typo in example2025-09-05 by Tilman Kranz: b17e235b typo2025-09-05 by Tilman Kranz: a9ba322b add screenshotLatest release: v1.0.0

For the demo above the default CSS has been modified as follows:

.linuxfoo_gitea {
  background-color: #121626;
  border-style: solid;
  border-top-width: 1px 2px 3px 1px;
  border-color: #002a39 #001020 #001020 #002a39;
  padding: .2em .5em .1em .5em;
}
.linuxfoo_gitea .commits {
  font-size: smaller;
}
.linuxfoo_gitea .commit {
  color: #cacaca;
  font-family: monospace;
}