Coder Social home page Coder Social logo

tainacan / blocksy-tainacan Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 4.0 6.19 MB

Use the popular Blocksy theme for WordPress integrated with Tainacan, either via a child theme or a plugin.

Home Page: https://tainacan.org

License: GNU General Public License v3.0

PHP 82.71% SCSS 16.72% JavaScript 0.41% Shell 0.16%
tainacan wordpress wordpress-theme wordpress-plugin blocksy glam

blocksy-tainacan's Introduction

Tainacan Support for Blocksy

This plugin integrates Tainacan pages with Blocksy theme.

Tainacan is an open-source, flexible and powerful tool for creating digital repositories on WordPress. It allows you to create and manage collections with a variety of metadata types, rich search and filtering of items and much more. You can learn about it on our official website: https://tainacan.org

Blocksy is one of the many WordPress themes available out there. But it is not just another theme, it offers rich controls to customize your site with so many features that you won't miss a page builder: https://creativethemes.com/blocksy/

This project uses their customizer controls to offer options for setting different layouts to Tainacan pages such as the collection items list and the items page.

Build it!

Make the script executable:

chmod u+x build.sh

We use sass to build create our css files, so it needs to be compiled. To simply build the necessary .scss files into bundled .css:

./build.sh

To, besides that, move the necessary plugin files to your wordpress plugin directory:

./build.sh /var/www/html/wp-content/plugins/

If you don't like the script you can bundle things by yourself:

cd tainacan-blocksy
npm install
npm run build

But keep in mind that the script also takes care of removing some source files not necessary for the plugin to work, such as .scss and .package.json.

After all, a Plugin or a Child Theme?

By default, it is a plugin. While the most traditional strategy for creating themes compatible to Tainacan is to add some pages to the theme directly or using a child theme, this project goes the other way, which is to use it as plugin. The reason is clear: developers might prefer to create child themes of Blocksy by their own, without creating forks of this project. It is although a not-very-canonical approach, so you might be more comfortable using it as child theme.

How to use it?

As a plugin:

Just move all files to a folder inside WordPress plugins folder (wp-content/plugins) (which is what the script does);

Download and activate the Blocksy. And Tainacan, of course;

Then you just have to enable Blocksy theme and have fun ;)

As a child theme:

Just go to functions.php file and set the constant as you prefer:

const TAINACAN_BLOCKSY_IS_CHILD_THEME = true;

Then move all files to a folder inside WordPress themes folder (wp-content/themes);

Download the Blocksy parent theme. And Tainacan, of course;

Go ahead, enable the child theme and have fun ;)

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.