WP Manifestindependent plugin directory
manifest / developer / show-pr-in-admin-bar

Show PRs

Adds a menu to the admin bar to show the current PR of specified folders in the active theme.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/eduard-un/show-pr-in-admin-bar/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Show PRs in Admin Bar

A simple WordPress plugin that adds a "Show PRs" menu to the admin bar. This menu displays the current Git branch for a predefined list of folders within the active theme, which is useful for developers working with multiple repositories or submodules in a theme.

Features

  • Adds a top-level menu item "Show PRs" to the WordPress admin bar.
  • Displays the current Git branch for specified folders inside the active theme directory.
  • Traverses parent directories to find the correct Git repository, making it compatible with sub-folder setups.
  • Handles Git worktrees and submodules.

Monitored Folders

The plugin is configured to check the following folders within the active theme (wp-content/themes/your-theme/):

  • . (the theme root)
  • ai-app
  • cloud
  • common
  • core
  • epanel
  • includes/builder-5
  • includes/builder

Installation

  1. Download the plugin files.
  2. Upload the show-prs folder to the /wp-content/plugins/ directory of your WordPress installation.
  3. Activate the plugin through the 'Plugins' menu in WordPress.

Once activated, the "Show PRs" menu will be visible in the admin bar.