Coder Social home page Coder Social logo

worona-wp-plugin's Introduction

worona-wp-plugin's People

Contributors

fmorenoper avatar luisherranz avatar poliuk avatar rmartinezduque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

worona-wp-plugin's Issues

html audio tag not working

html audio tag not working in the pages.

the audio can's display in the iphone app.

but it working well at mobile browser.

Worona siteid endpoin returns rest_invalid_handler

In this site: http://www.bookproacts.com/testsite/?rest_route=/worona/v1/siteid

It's a WordPress 4.7.2 running Twenty Sixteen theme, Worona 1.0 and WP REST API Version 2.0-beta15. Select WP Crontrol (Not Activated) Version 1.3.1 and WP-Cron Control (Not Activated) Version 0.7.1

  • After fix, send an email to the owner.

Add advanced settings on Worona plugin

First two options are worona_ssr and worona_cdn. The default values are https://pwa.worona.io and https://pwa-cdn.worona.io respectively. The names should be Worona Server and Worona CDN.

Discover endpoint errors

This is not urgent, but shouldn't happen:

?rest_route=/worona/v1/discover without any parameter returns a post instead of an error.

Connect with the new unsubscribe API

Subscriptions API:

https://backend.worona.io/api/v1/subscriptions/is-unsubscribed
https://backend.worona.io/api/v1/subscriptions/subscribe
https://backend.worona.io/api/v1/subscriptions/unsubscribe

POST with email and listSlug fields for all the endpoints.

All of them return an object with

{
  "unsubscribed": true // or false
}

For the subscribe/unsubscribe endpoints, it’s just a confirmation. For the is-unsubscrided endpoint, is the actual result.

For the Worona WP plugin, email should be the email of the admin and listSlug should be plugin

Add excludes

Users should be able to add excludes in their WP dashboard. Excludes are regexps to avoid loading Worona in those urls.

WordPress 4.8 is inminent

WordPress 4.8 is scheduled to be released on June 8. Are your plugins ready?

After testing your plugins and ensuring compatibility, it only takes a few moments to change the readme "Tested up to:" value to 4.8. This information provides peace of mind to users and helps encourage them to update to the latest version.

Here are the current "Tested up to:" values for each of your plugins:

For each plugin that is compatible, you don't need to release a new version -- just change the stable version's readme value.

Looking to get more familiar with 4.8? Read this roundup post on the core development blog to check out the changes made to TinyMCE, admin screen headings, editor API, media widgets, multisite, and much, much more: https://make.wordpress.org/core/2017/05/26/wordpress-4-8-field-guide/

Regarding the changes to TinyMCE, the library was updated from v4.5.6 to v4.6.2. Among various features, fixes, and improvements (such as a new API that will let you use it more easily with JavaScript), also comes the end of support for IE 8-10.

Thank you for all you do for the WordPress community, and we hope you enjoy 4.8 as much as we do.

Steps 1 & 2 when WP version > 4.7

Test the plugin in WordPress 4.7 (REST API Plugin might not be necessary)

check wp_rest_api_plugin_is_installed function in worona.php:362

Add tablet/mobile checks

Users should be able to check if they want to site rendered by Worona when readers visit from their mobiles, tablets or both.

Include iframe for GTM

plugin.worona.io/index.html -> /var/www/worona-cdn/plugin/index.html

plugin.worona.io/index.html?eventname=X&prop1=Y&prop2=Z

Index.html contains:
JS + GTM + send

JS:
Turns the query into an object

?eventname=X&prop1=Y&prop2=Z
into
{event = "" , props = { prop1 = X , prop2 = Y, prop3 = Z} }

GTM:
Initialise GTM

Send:
Send the object

Check PHP version

The JSON REST API doesn't work in PHP <5.2

Check PHP version and inform the user in case of a possible error.

Create JS injector (wp-plugin)

It needs two parts: A script generated in PHP with info about the siteId and type and id of the content and a script to be injected in the head which loads the Worona app if needed.

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.