Contributors: gazlab, thewebist
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Custom theme for ND Nation.
Custom theme built based on Twitter Bootstrap and built for ND Nation.
Be sure you're run npm install
to install the required NPM modules. Then run css-minify --file lib/public/css/style.css --output lib/public/css/
to compile lib/public/css/style.css
to lib/public/css/style.min.css
.
- Adding
.top-margin .custom-html-widget
CSS for adding a Top Margin to the ad widget.
- Updating theme screenshot.
- Updating theme description to use "WordPress" and not "Wordpress".
- Adding bottom margin below
.row.home-hero .col-md-8
for mobile.
- Setting "Latest News" to show 2 articles and one ad.
- Setting
.home-hero
intmpl-home-2.php
to 100% width to prevent horizontal scroll.
- Adding
filemtime()
version to theme style enqueuing.
- Mobile CSS adjustments for
tmpl-hom-2.php
News Grid.
- Compiling CSS via
css-minify --file lib/public/css/style.css --output lib/public/css/
. - Removing
$source_name
exceptions for "Other" and "Opponent" News Source terms.
- Adding "Home 2 - News Row (1/3 Width)" and "Home 2 - News Row (2/3 Width)" sidebars.
- Grid CSS layout for "Home 2 - News Row (2/3 Width)" sidebar.
- Adding "limit" attribute for
[latestnews]
shortcode.
- Reworked layout for "Home 2" template.
- Adding new sidebars for
tmpl-home-2.php
: "Home 2 - Top Wide Ad Slot", "Home 2 - Top Left 2/3", "Home 2 - Top Right 1/3", and "Home 2 - News Row". - Updating
[latestnews]
shortcode withcategory
andcss_classes
attributes. - Adding
uber_log()
for debugging.
- Adding "Ad Placeholder" graphic to placeholders in
tmpl-home-2.php
.
- Adjusting column classes in
tmpl-home-2.php
to maintain columns on tablets.
- Adding ad placeholder CSS classes to
tmpl-home-2.php
.
- New template:
tmpl-home-2.php
with a full width top section followed by a row of recent posts and ending with a widgetized three column section. - Adding "Article Before Content" widget area for inserting widgets before post/article content.
- Added "Remove additional HTML around widget?" to the Schedule Widget.
- Moved CSS from
style.css
tolib/public/css
. - Added these constants:
THEME_DIR_PATH
,THEME_DIR_URI
, andNDNATION_DATA_DIR_PATH
. - Various code refactors including removal of deprecated function call, properly declaring global variables, and updating array references to use brackets.
- Adding npm build for this README.
- Initial release.