cp-blank is a simple boilerplate theme for ClassicPress.
Note: This theme is only a starting point for your own theme. It only uses basic and some advanced features of ClassicPress.
- 2 widget areas: sidebar, footer
- See
functions.php
- Widget area token:
cpblank-widgetarea-
- See
- 1 menu in the header:
primary
- See
functions.php
- See
- Basic setup for theme support features
- See
functions.php
- See
- Optimized markup for comments
- See
comments.php
andfunctions.php
- See
- Basic error 404 page
- See
404.php
- See
is_subpage()
function to check if a page is a subpage- See
functions.php
- See
- Translation ready (i18n)
- Theme token (for i18n, etc.):
cpblank
- HTML 5 and CSS 3
- Link to RSS feeds
- Blog title isn't linked on the homepage
- Basic WIA-ARIA roles for better accessibility
- Quick jump link to the content area of a page (for better accessibility)
- Hidden by default with CSS:
#jumper { display: none; }
- Hidden by default with CSS:
- Uses modern-normalize (minified)
- CSS classes on the BODY
- Basic responsive design setup
- Responsive images in the content area
- Basic setup for dark mode support
- Favicon
- Set your favicon in your root folder:
/favicon.ico
- Set your favicon in your root folder:
- Apple Touch Icons
- See
assets
folder
- See
- Schema.org meta data for blog posts
- Basic JavaScript file with jQuery setup
- See
app.js
- See
- Enqueues JavaScript in the footer of the website for better performance
- Hide ClassicPress version by removing the generator meta tag
- Replace the default login error message to hide any information that may could be used to crack into the system
- Setup to remove DNS prefatch and WordPress emojis from head
- See
functions.php
- See
- Initial release based on an updated wp-blank
- Arne Kamola [email protected]