WordPress.org

Ready to get started?Download WordPress

Plugin Directory

LivePress

LivePress is a hosted live blogging solution that integrates seamlessly with your WordPress blog.

Hooks and Filters

LivePress is fully extensible by third-party applications using WordPress-style action hooks and filters.

Add a Tab to the Live Blogging Tools Palette

The "livepress_setup_tabs" hook will pass an instance of the LivePress_Blogging_Tools class to your function. You can add a tab by calling the add_tab() method of that class and passing in the title of the tab, its ID, and either content for the tab or a reference to a callback function that generates output.

Example:

add_action( 'livepress_setup_tabs', 'my_setup_tabs' );
function my_setup_tabs( $tools ) {
    $tools->add_tab( array(
        'id'      => 'my_custom_tab',
        'title'   => __( 'My Custom Tab' ),
        'content' => '<div><p>This is some custom content.</p></div>'
    ) );
}

Remove a Tab to the Live Blogging Tools Palette

All of the default tabs in the toole palette can be removed by name using the "livepress_setup_tabs" action hook and calling the remove_tab() method of the passed class.

Example:

add_action( 'livepress_setup_tabs', 'remove_author_notes' );
function remove_author_notes( $tools ) {
    $tools->remove_tab( 'live-notes' );
}

The default tab IDs used in LivePress are:

  • Comments => 'live-comments'
  • Twitter Search => 'live-twitter-search'
  • Manage Remove Authors => 'live-remote-authors'
  • Author Notes => 'live-notes'

Requires: 3.5 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-21
Downloads: 6,876

Ratings

3 stars
3.8 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,1,0
100,1,1 100,2,2 0,1,0 100,2,2 75,4,3
0,1,0
0,1,0
0,1,0