WordPress.org

Ready to get started?Download WordPress

Forums

Editorial Calendar
[resolved] Use Editorial Calendar on any other page within any other plugin (2 posts)

  1. kthakkar
    Member
    Posted 11 months ago #

    I want to show Editorial Calendar on my custom plugin's page, so how to do that?
    Now I tried to include edcal.php (plugin page) but its showing me Cannot redeclare class EdCal in due to two time declaration of that class, so now hot to display same plugin page on my page?

    I tried include( plugin_dir_path( __FILE__ ). 'edcal.php');

    http://wordpress.org/plugins/editorial-calendar/

  2. Zack Grossbart
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks for using the Editorial Calendar, but I've never tried to embed it in another page like that. The first issue you're going to run into is the class instantiation issue that you mentioned. That's tough to get around since the Editorial Calendar acts like a singleton.

    If you do work around that issue by changing the calendar code then you're going to run into a layout problem. The calendar really wants to take up almost all of the entire page.

    The bottom line here is that you'd have to do a lot of coding to make the Editorial Calendar show up in another page.

    Good luck,
    Zack

Reply

You must log in to post.

About this Plugin

About this Topic

Tags