Choctaw News Plugin WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Choctaw News Plugin creates the News Post Type, Boilerplate Post Type and links up the ACF Fields.
★ 0stars
19release downloads
v1.1.12latest · 2 years ago
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/choctaw-nation/cno-plugin-news/releases/download/v1.1.12/choctaw-news-plugin.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
CNO News Plugin
A simple, lightly opinionated WordPress Plugin for Choctaw News Post Types.
This plugin uses 2 CPTs, News and Boilerplates, to handle news posts, alongside ACF (Pro) and Bootstrap.
Read more at this plugin's wiki
Quick Start
- Grab the
choctaw-news-plugin.zipfile from the latest release - Install to your WordPress app
Changelog
v1.1.12
- Fixed a bug where default templates weren't being loaded
- Fixed a bug where if no templates could be found, the WP_Error wasn't being handled correctly
v1.1.11
- Fixed a bug that wasn't allowing
lite-vimeoscript to be properly registered - Fixed a bug where default boilerplates and no selected boilerplates was causing the news title to appear again as a boilerplate
- Updated the default
single-newslayout
v1.1.9
- Fix WordPress Hook errors
v1.1.8
- Fixed a typo in the Plugin Header that broke the required plugins line
v1.1.7
- Cleaned up Deployment's included files
- Added license to bundle
- Updated GH action name
- Added ACF to required plugin list
- Init/De-init plugin with WP hooks
- Moved ACF classes from
/objectsto/classes
v1.1.6
(Actually deployment ready!)
- Added Quick Start
- Added the top-level php file so the plugin actually works.
v1.1.5
- Deployment ready!
v1.1.4
- Updated the News API
- Now handles adding default boilerplates
- Now handles injecting additional classes!
v1.1.2
- Fixes template loading issue
v1.1.1
Fixes #5
Registers 2 new image sizes, both at 16:9 ratio, but at 2x for Retina display support:
add_image_size( 'choctaw-news-preview', 1392, 784 );
add_image_size( 'choctaw-news-single', 2592, 1458 );
v1.1.0
- Added Snippet for "Recent News" that displays posts flagged as "featured post", then rest of recent posts (similar to choctawnation.com, choctawnation.com/news, and choctawnation.com/biskinik as of Nov 3, 2023).
- Namespace ACF_Image
v1.0.1
Finished the API for the \News object.
- Created all
get_the_*andthe_*functions for all properties - Updated "published date" functions to allow for article publish date being different than the original/external article publish date
- Updated the 'single-choctaw-news' template to load each property that could be set, as well as adding conditionals to only render markup if content exists (e.g.
has_boilerplateswill now conditionally render the boilerplate section, where previously an empty<section class='boilerplates'></section>would have been rendered). - Added comments
Misc.
- Bug fix: Updated footer calls from
wp_footertoget_footer. - Migrated this file's header material to the wiki.
- Updated
BoilerplateCPT args.
'public' => false,
'show_ui' => true,
'show_in_menu' => true,
'has_archive' => false,
- Also removed
BoilerplateCPT support for featured image - Moved ACF & CPT files to their proper folders
- Cleaned up the
plugin-logicclasses
v1.0
- First build!
Releases
13 releases. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads