pressbooks-book-theme
Contributors: @colomet, @nicoleacuna
Tags: pressbooks, theme
Tested up to: ![WordPress](https://img.shields.io/wordpress/v/akismet.svg)
Stable tag: ![Current Release](https://img.shields.io/github/release/Books4Languages/pressbooks-books4languages.svg)
License: ![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg)
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Description
Austen is a child theme of pressbooks Luther theme. This theme has been modificated and print the multiples fields that are create in pressbooks-metadata-related-content plugin in the frontend.
Installation
- Clone (or copy) this repository to the /wp-content/themes/ directory.
- Activate the theme through the 'Themes' screen in WordPress.
Frequently Asked Questions
Requirements
Theme works with:
Disclaimers
The modificated Pressbooks theme is supplied "as is" and all use is at your own risk.
Screenshots
You can see all of the screenshots of the theme here.
Roadmap
Changelogs
0.2
-
ADDITONS
-
New footer
- New file: footer.php Shows the list of resources links, shows the link with a image of the book on which it is based, shows the related books information and also show the Educational information.
-
In functions.php
- New function: is_post_type($type) returns true if type is a post type part and if are_related_books_enabled($post->ID) return true.
-
ENHANCEMENTS
- Remove the sidebar.php file.
-
List of files revised
0.1
-
ADDITONS
-
New sidebar.php
- New file: sidebar.php in this file are added new buttons for the new sidebar and new divs that are the pop out for the new buttons. Prints all the information about the resources links that are in pressbooks-metadata-related-content plugin.
- New file: pop-out.js that contains the function click.
- New function: click that add or remove the pop-out.
-
In functions.php
- New function: pm_enqueue_scripts: this function fixes pop-out for extra sidebar buttons.
- New action:wp_enqueue_scripts: call a theme_enqueue_styles function.
- New action: wp_enqueue_scripts: call a pm_enqueue_scripts function.
-
In style.css
- New style: add styles to new buttons in sidebar and add style to pop-out.
-
List of files revised
- functions.php
- sidebar.php
- style.css
- pop-out.js
Upgrade Notice
0.2
To use the last version of this theme.
0.1
To use the version 0.1 of Austen theme.
Credits
Here's a link to WordPress Plugin Boilerplate.
Here's a link to WordPress
Here's a llink to PressBooks
Here's a link to Dilinger
Here's a link to Pandao
Here's a link to Markdown's Syntax Documentation