diff --git a/presenter.php b/presenter.php
index c76137b..e5c6867 100644
--- a/presenter.php
+++ b/presenter.php
@@ -73,6 +73,14 @@ protected function __construct() {
add_action( 'init', array( $this, 'init_locale' ) );
add_shortcode( 'presenter-url', array( $this, 'url_shortcode' ) );
+ add_filter('post_row_actions', array($this, 'add_view_links'), 10, 2);
+ }
+
+ public function add_view_links($actions, $post) {
+ $permalink = get_permalink($post->ID);
+ $actions['print_view'] = 'Print View';
+ $actions['scroll_view'] = 'Scroll View';
+ return $actions;
}
public function init_locale() {
@@ -431,7 +439,14 @@ public function footer() {
}
public function admin_init() {
- add_meta_box( 'slides', 'Slides', array( $this, 'slides_meta_box' ), 'slideshow', 'normal', 'core');
+ add_meta_box(
+ 'slides',
+ 'Slides',
+ array( $this, 'slides_meta_box' ),
+ 'slideshow',
+ 'normal',
+ 'core'
+ );
add_meta_box( 'pageparentdiv', __( 'Slideshow Attributes', $this->_slug ), array( $this, 'slideshow_attributes_meta_box' ), 'slideshow', 'side', 'default' );
}
diff --git a/reveal.js b/reveal.js
index 3fcf0db..5ee1f72 160000
--- a/reveal.js
+++ b/reveal.js
@@ -1 +1 @@
-Subproject commit 3fcf0db96e1a65336677e4ff7df813ed9c4a6792
+Subproject commit 5ee1f729bd67e71a53057d29cb56762db8025426