aaroncampbell / presenter Goto Github PK
View Code? Open in Web Editor NEWPresenter - Presentation Slideshows on WordPress
Presenter - Presentation Slideshows on WordPress
I'd like to be able to embed slides on LifterLMS pages.
(This would be for presenting summary materials in person- the presenter and participants could have the full notes etc on the rest of the page.)
Is there any way to insert a slide post in a block (iframe?)
I'm relatively new to Wordpress and Gutenberg blocks, so not sure if this is at all plausible.
Thanks in advance for any suggestions!
The current code is versioned at 1.2.0
, but the latest tag is only 1.1.1
. Please can the 1.2.0
tag be added?
While there are a lot of config options for reveal.js, it would be nice to have some of the more common ones be set on a per-slideshow basis, via settings on the Edit Slideshow screen. controlsTutorial
, controlsLayout
, slideNumber
etc.
For the rest, making the values easy to filter (in PHP) instead of having to override the whole footer()
callback would make it easier too. Any filter should have access to the current slideshow ID / name, so that it could be filtered on a per-slideshow basis as well.
When trying to use Markdown in the speaker notes line breaks and lists don't work. Example Markdown:
## Heading
- List Item 1
- List Item 2
- List Item 3
Ends up looking like:
Hi-
installed the plugin, cleared caches, restarted the server... and on trying to view the slides, all I get is "page doesn't exist".
Suggestions appreciated ;-)
Individual slides can be collapsed and expanded by clicking on their slide title, but there's no way to collapse and expand all slides.
Instead of having a plain text box for the data field name, consider making it a dropdown with a list of reveal.js items supported by Presenter, but also allow custom values as well. This will make the discovery of otherwise-hidden features easier.
When a slide as a <section>...</section>
, then speaker notes for that slide do not appear in the speaker notes window (pressing S
during the presentation).
SyntaxHighlighter upgraded from 3.5.0 to 3.5.1 last night, and I'm now getting this in my logs:
2019/10/09 09:24:41 [error] 18841#18841: *45326 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method SyntaxHighlighter::output_header_placeholder() in /var/www/critical_jon.sprig.gs/blog/wp-content/plugins/presenter/presenter.php:396
Stack trace:
#0 /var/www/critical_jon.sprig.gs/blog/wp-includes/class-wp-hook.php(286): presenter->head('')
#1 /var/www/critical_jon.sprig.gs/blog/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /var/www/critical_jon.sprig.gs/blog/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /var/www/critical_jon.sprig.gs/blog/wp-content/plugins/presenter/templates/header.php(20): do_action('presenter-head')
#4 /var/www/critical_jon.sprig.gs/blog/wp-content/plugins/presenter/templates/index.php(2): include('/var/www/critic...')
#5 /var/www/critical_jon.sprig.gs/blog/wp-includes/template-loader.php(78): include('/var/www/critic...')
#6 /var/www/critical_jon.sprig.gs/blog/wp-blog-header.php(19): require_once('/var/www/critic...')
Note that the line number for the presenter.php is slightly out, as I've added a tweak or two into the lines above, but this is the line in question:
$SyntaxHighlighter->output_header_placeholder();
This has been fixed, for now, by disabling the syntax highlighter plugin!
I'll re-check with a clean environment when I'm not due to be giving my presentation in 1hr, but I wanted to log it now in case anyone else has encountered the same issue!
While individual slides can be collapsed, these are not persisted on page load. If they were, it would make being able to focus on a few select slides much easier.
There's an assumption that the $_POST['slide-data'][ $num ]
in the foreach
here will exist.
Wrapping in a conditional fixes the PHP Warnings:
if ( array_key_exists( 'slide-data', $_POST ) && array_key_exists( $num, $_POST['slide-data'] ) ) {
foreach ( $_POST['slide-data'][$num] as $data_num => $name ) {
if ( ! empty( $name ) ) {
$data = new stdClass();
$data->name = $name;
$data->value = $_POST['slide-data-value'][$num][$data_num];
$slide->data[] = $data;
}
}
}
I don't really know where to start, but having the new Guttenberg editor might be useful for those new to Wordpress?
If there are two slides whose titles resolves to the same slug, then the front-end shows this as a loop.
Ad admin notice when duplicate slide slugs are present would be helpful.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.