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-07-27 by tilt12345678: 8722d100 use v1 subobjects for commit attributes2023-09-23 by root: 35962433 correct json pat to commit message2023-09-23 by root: fccb7dd5 correct message formattingLatest 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;
}
- Not Being Tracked by Functions In WordPress Core
- Support For Multiple Languages in WordPress
- Adding Custom Format Buttons To tinyMCE in WordPress 4
- WordPress-Plugin to Embed Gitlab Project Information
- Removing the Builtin Inline CSS from WordPress
- WordPress Plugin to embed Gitea Repositories
- Disabling external Emojis in the WordPress Admin GUI