Git Product home page Git Product logo

extensions-for-pressbooks's Introduction

Extensions for PressBooks

Extended core functionalities for Pressbooks

Description

This plugin provides tiny extensions for main functionality of pressbooks.

The plugin offer the following functionalities

Original Mark

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'.

EFP settings page

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 update option

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

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).

default theme

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.

Installation

  1. Clone (or copy) this repository folder extensions-for-pressbooks to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' screen in WordPress

Upgrades

For upgrades, download the las stable version from github, delete from FTP the old plugin and install the new one.

Requirements

Extensions for pressbooks requires:

Extensions For Pressbooks plugin works with:

Disclaimers

The Extensions For Pressbooks plugin is supplied "as is" and all use is at your own risk.

Instructions

If you need some help with understanding on how plugin was structured, take a look at folder structure.

Now

0.xx

  • 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

Soon

Later

Future

Changelog

1.2.9

  • 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.

1.2.8

  • 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.

1.2.7

  • REMOVED
    • Deregister dashicons REMOVED.
    • Unistall translation section is now in Translation for Pressbooks plugin.

1.2.6

  • 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.

1.2.5

  • 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

1.2.4

  • ADDITIONS
    • Functionality (platform) of a blank settings pages (network and also book level) where other plugins are able to place their own settings.

1.2.3

  • REMOVED
    • Auto updated

1.2.2

  • REMOVED
    • Automatically set the wordpress image title alt text other meta transfered to feature images for Pressbooks.

1.2.1

  • 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

1.2

  • REMOVED
    • Edition extension translations removed

1.1

  • Edition extension removed

1.0 Initial release

Upgrade Notice


Up

extensions-for-pressbooks's People

Contributors

araldgarbo avatar charalampostheodorou avatar colomet avatar danzhik avatar huguespages avatar lukastonhajzer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.