Git Product home page Git Product logo

wp_plc_skeleton's Introduction

wp-plc-skeleton

Introduction

This is a skeleton wordpress plugin for oneplace skeleton based modules.

This plugin is based on a boilerplate that was accepted to be published on wordpress.org - so if you don't mess up with the code too hard, it should get approved on wordpress.org if you want to make it publicly available in wordpress.

Installation

Upload latest stable .zip to wordpress in wp-admin

Activate plugin

have fun

WP PLC Connect needs to be activated and connected for this plugin to work

Widgets

There are plenty of widgets and templates shipped with WP PLC Skeleton for you to use if you like. All of them are optional and only loaded once activated.

Skeleton Slider

A nice looking, fully customizable Slider based on swiperjs

It is configured the work with the onePlace Skeleton API list function - so as long as you return at least the same data (you can return more), you should be able to use the widget without any code changes for your own, skeleton based, modules.

Integrations

Work the way you want! WP PLC Skeleton Widgets come with optional full Elementor integration. If you don't have / like / want Elementor, you can also use classic shortcodes and soon also gutenberg blocks for the same widgets !

Everything is loaded only if you activate it, to make the plugin as lightweight as possible.

Getting started

Documentation

Documentation will be extended soon.

wp_plc_skeleton's People

Watchers

 avatar

wp_plc_skeleton's Issues

Make backend render template for skeleton slider

Feature Request

Q A
New Feature yes
RFC yes
BC Break no

Summary

Use the _content_template function provided by elementor. i did not really understand it yet.

We should use it so javascript gets loaded differently than in frontend, and it should also fix
bug #2

Skeleton Slider - Slider broken if Item per slide changed

Bug Report

Q A
Version(s) 1.0.0

Summary

If you change the option "Slides per View" in Elementor for Skeleton Slider Widget, the
slider breaks. Its because of how javascript (skeleton-slider.js) is handled currently.

Current behavior

Buggy

How to reproduce

Go to elementor. Have a skeleton slider widget. change the "Slides per view" option.

Expected behavior

Should render correclty with new setting

add swiper if elementor is not present but skeleton slider is loaded by shortcode

Bug Report

Q A
Version(s) 1.0.0

Summary

If you enable shortcodes and use the skeleton slider widget, it will not work because
swiper may not be present. it is usally loaded by elementor (since 2.7.x). we should
check if elementor is present and if not, but the widget is loaded, we should check
if swiper is loaded by any other plugin and if not, enqueue swiper cdn js.

Current behavior

swiper js is not loaded by our plugin at all. we just assume its there.

How to reproduce

Use the skeleton slider with shortcode and disable elementor integration

Expected behavior

skeleton slider should always work, regardless if it is used as shortcode, elementor
widget or gutenberg block

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.