WS Github Sync Wordpress
WS Github Sync Wordpress Shortcodes
Now you can easily show open issues, new commits, and open pull requests using this plugin and it's shortcodes.
After downloading the Plugin Files and uploading it as a new plugin, just activate it and you are ready to use the shortcodes!
1. [gitsync_issues]
Displays a list of open issues from a GitHub repository.
Attributes
Token: Your GitHub personal access token. This is required for authentication and API access.repository: The name of the GitHub repository.owner: The owner or organization of the GitHub repository.
Usage
[gitsync_issues token="YourGitHubToken" repository="YourRepository" owner="YourOwner"]
2. [gitsync_commits]
Displays a list of the latest commits from a GitHub repository.
Attributes
Token: Your GitHub personal access token. This is required for authentication and API access.repository: The name of the GitHub repository.owner: The owner or organization of the GitHub repository.
Usage
[gitsync_commits token="YourGitHubToken" repository="YourRepository" owner="YourOwner"]
3. [gitsync_pull_requests]
Displays a list of open pull requests from a GitHub repository.
Attributes
Token: Your GitHub personal access token. This is required for authentication and API access.repository: The name of the GitHub repository.owner: The owner or organization of the GitHub repository.
Usage
[gitsync_pull_requests token="YourGitHubToken" repository="YourRepository" owner="YourOwner"]