WordPress-Plugin to Embed Gitlab Project Information

For my personal use, i wrote a small WordPress plugin that allows me to embed a link to a Gitlab repository, a list of commits and a link to the releases of that project in a WP post.

Example (linebreaks added to shortcode for readability):

[​gitlab-show-project
    url="https://example.test/gitlab"
    project_id=99
    max=3
    author="none"
    releases="latest"​]

Developer notes:

  • The appearance can be customized using CSS; see styles.css for details.
  • The plugin does not store login credentials or access tokens; support for non-public repositories (that would require login) is not on my roadmap.
  • The plugin is translated to English and German, contributions are welcome; see also linuxfoo-gitlab.pot.
Gitea project linuxfoo-gitlabLast 3 commits: by Tilman Kranz: fb5d9a8f tab vs space cleanup by Tilman Kranz: f6abb63a add option author="none" by Tilman Kranz: 4b7b8d4a project_header formatting