GithubHelp home page GithubHelp logo

figuren-theater / ft-theming Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 115 KB

This package helps you & your brand with a consistent look across the figuren.theater multisite network and beyond.

Home Page: https://websites.fuer.figuren.theater

License: GNU General Public License v3.0

PHP 100.00%
branding corporate-design wordpress wordpress-muplugin

ft-theming's Introduction


figuren.theater Logo

figuren.theater | Theming

This package helps you & your brand with a consistent look across the figuren.theater multisite network and beyond.


Read our blog

See the network in actionJoin the networkCreate your own network

About

This is the long desc

  • list closed tracking-issues or docs files here
  • Do you have any ideas ?

Background & Motivation

...

Install

  1. Install via command line
    composer require figuren-theater/ft-theming

Usage

API

Figuren_Theater::API\get_...()

Plugins included

This package contains the following plugins. Thoose are completely managed by code and lack of their typical UI.

What does this package do in addition?

Accompaniying the core functionality of the mentioned plugins, theese best practices are included with this package.

  • Allow any post type to use one or more templates, independently from the theme. This is enabled by default for the page post type by using

    add_post_type_support(
      'page',
      'post-type-templates',
      [
        'templates' => [
          'blank.php'=>'A blank canvas'
        ],
        'path'=>'ABSPATH_TO_TEMPLATE_DIRECTORY'
      ]
    );
  • Allow third-party scripts to be loaded either defered or async via a filter or a URL#hash.

  • Remove jquery 'MIGRATE' console message from frontend.

  • Deliver our figuren.theater favicon as fallback, if non is set

  • Themed Login using site-icon and theme-colors

Built with & uses

  • dependabot
  • code-quality A set of status checks to ensure high and consitent code-quality for the figuren.theater platform.
  • ....

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Versioning

We use Semantic Versioning for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPL-3.0-or-later, see the LICENSE file for details

Acknowledgments

ft-theming's People

Contributors

carstingaxion avatar dependabot[bot] avatar

Watchers

 avatar

ft-theming's Issues

Re-factor this after 6.3 was released, which provides native async & defer handling

/**
* Figuren_Theater Theming Defer_Async_Loader.
*
* Add async & defer attribute to asset links.
*
* Enqueue your scripts as normal,
* and simply add the #asyncload, or #deferload string
* to any script you want to async or defer.
*
* @package figuren-theater/theming/defer_async_loader
*/
namespace Figuren_Theater\Theming\Defer_Async_Loader;

// THAT is why we need a own f.t ThemeProcessor API

	// 1.1. defaults are swapped 
	// (Lets's see how (long) this will work.)
	//
	// $relevant_colors['ft_background'] = '#f1f1f1';
	// $relevant_colors['ft_text']       = '#000';
	$relevant_colors['ft_background'] = '#000';
	$relevant_colors['ft_accent']     = '#808080';
	$relevant_colors['ft_text']       = '#f1f1f1';

$relevant_colors['ft_background'] = ( isset( $ft_global_styles['foreground'] ) ) ? $ft_global_styles['foreground'] : $relevant_colors['ft_background'];
// @TODO // THAT is why we need a own f.t ThemeProcessor API
$relevant_colors['ft_accent'] = ( isset( $ft_global_styles['primary'] ) ) ? $ft_global_styles['primary'] : $relevant_colors['ft_accent'];
// @TODO // THAT is why we need a own f.t ThemeProcessor API
// $ft_secondary = $ft_global_styles['secondary'];
// @TODO // THAT is why we need a own f.t ThemeProcessor API
$relevant_colors['ft_text'] = ( isset( $ft_global_styles['background'] ) ) ? $ft_global_styles['background'] : $relevant_colors['ft_text'];

Establish quality standards

Repository Standards

Theming

Tasks

  1. 23 of 23
    automation
  2. enhancement
  3. bug
  4. dependencies enhancement
  5. enhancement
  6. PART Plugin enhancement

Plugins

  1. 0 of 1
    PART Plugin tracking issue

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.