- Contributors: @danzhik, @huguespages, @lukastonhajzer, @CharalamposTheodorou
- Donate link: https://opencollective.com/mylanguageskills
- Tags: wordpress, multisite, pressbooks
- Tested up to: WP 5.2.4
- Tested UP: Pressbooks 5.9.5
- Stable tag: 1.2.9
- License: GPL 3.0
- License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Extended core functionalities for Pressbooks
This plugin provides tiny extensions for main functionality of pressbooks.
The plugin offer the following functionalities
Original Mark package provides network administrators with ability to mark books of original publisher. It is done with a checkbox in /wp-admin/network/sites.php
page, after activation of a plugin you will have new column there with name 'Featured Books'.
Extensions for PressBooks provides a blank settings page on network and on book level that can be filled with settings of other plugins.
pb_is_based_on metadata save the URL of the source of the content if the book is cloned. With pb_is_based_on metabox, we can see the URL of the source of the content or to update to a new URL if the source change the URL for some reason or is a page created without being cloned.
Current URL: [/english-a1-grammar/chapter/cardinal-numbers/]
Insert new URL: [ ]
Canonical package provides network administrators with ability to choose canonical URL of cloned books. This functionality works only with "The SEO Framework" plugin active. If book is original -> The SEO framework canonical url of pages If book is a clone -> checkbox available in Appearance -> EFP Customization, the canonical is the parent page. If clone is also featured -> checkbox focusable (canonical to the page or the parent page).
As plugin is supposed to be used with our child theme, the plugin also will set up this theme for all newly created books if theme is installed and network active.
- Clone (or copy) this repository folder
extensions-for-pressbooks
to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' screen in WordPress
For upgrades, download the las stable version from github, delete from FTP the old plugin and install the new one.
Extensions for pressbooks requires:
Extensions For Pressbooks plugin works with:
- Feature Image for PressBooks
- Translations for Pressbooks
- books4languages Book Child theme for PressBooks
- books4languages Root Child theme for PressBooks
The Extensions For Pressbooks plugin is supplied "as is" and all use is at your own risk.
If you need some help with understanding on how plugin was structured, take a look at folder structure.
-
ADDITIONS
- UPDATE network-admin.php
- ADDED Canonical functionality that creates a checkbox to set the canonical URL of the book
-
MODIFICATIONS
- efpb-admin-settings create new canonical section in EFP -> Customization
-
REMOVED
- Unistall translation section is mooved to Translations for Pressbooks
- ADDITIONS
- Translation functions added to all Titles and Input values of the plugin.
- Sanitized all input from user input and database updates.
- Escape all html attributes before updating contents on front-end.
- All function names and actions contain the plugin prefix to prevent conflictions with other plugins.
- Remove External Google Fonts.
- Remove JQuery migrate.
- Remove dashicons in frontend for unauthenticated users.
- New Clipboard data.
- New h5p metabox.
- ADDITIONS
- New blogs use default permalink (blogname). * New heartbeat defined frequency. * New cannonical url integrated with The Seo Framework. * New disable editing page url for non administrators. * New registrations fields (RCP). * New page reading time. * New roles and options configuration. * New blog list shortcode.
- REMOVED
- Deregister dashicons REMOVED.
- Unistall translation section is now in Translation for Pressbooks plugin.
- ADDITIONS
- Added drop down menu to choose books written in a specific language.
- Now all languages are available to be choosen
- Added new functionality: now in the dropdown menu are shown only available languages and not all.
-
ADDITIONS
- EFP Customization settings section and setting field added to site level for this plugin added. (to the "platform" created in previous version).
- Metabox in post edit which contains input field where we can add new pb_is_based_on URL for currently opened post.
- 'Settings saved' information bar have been added to inform user settings have been updated sucessfully.
- post-edit pb_is_based_on metabox is now shown even when pb_is_based_on value is not set for the current post.
-
MODIFICATIONS
- Possibility to display 'pb_is_based_on' metabox on post-edit page enabled also for books with no 'pb_is_based_on' value (source books).
-
LIST OF FILE REVISED
- ADDED efpb-post-metabox-pb_is_based_on.php
- ADDED efpb-admin-settings
- extensions-for-pressbooks.php
- ADDITIONS
- Functionality (platform) of a blank settings pages (network and also book level) where other plugins are able to place their own settings.
- REMOVED
- Auto updated
- REMOVED
- Automatically set the wordpress image title alt text other meta transfered to feature images for Pressbooks.
- ADDITIONS
- Add new functions in media to automatically set the wordpress image title alt text other meta
- Add new functions in to original mark, for see checkbox
- REMOVED
- Edition extension translations removed
- Edition extension removed