WordPress.org

Ready to get started?Download WordPress

Forums

Live Blogging
[resolved] Activating plugin only for one page. (4 posts)

  1. MadlyManPL
    Member
    Posted 2 years ago #

    How to activate the Live Blogging plugin only for one page (not for all pages and posts)?

    I want to add the [liveblog] shortcode (permanently) to "live" page (subpage) on my WordPress Blog, but don't want to the plugin script was loaded on each page and 'shortcode', 'endable/disable live blogging for this post' was displayed in admin panel.
    If I click 'Live Blog Entries' in admin panel will then automatically add entries to the selected page (Enable live blogging for "live" page).

    Any suggestions?

    http://wordpress.org/extend/plugins/live-blogging/

  2. chrisnorthwood
    Member
    Plugin Author

    Posted 2 years ago #

    This isn't possible in the current version of the plugin.

  3. MadlyManPL
    Member
    Posted 2 years ago #

    I know, but maybe there is a hack or can just load the plugin files on "live" page - remove_action, wp_deregister_script etc. A bigger problem is the admin panel.

    First, I think that the plugin was turned on and I deregister *.js file in function.php on all pages except "live". In the admin panel, delete shortcode in (post/page/..) editor and others unnecessary elements of plugin (Enable live blogging for this post, etc.) - also in function.php.

    What do you think?

  4. MadlyManPL
    Member
    Posted 2 years ago #

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic