• Resolved kthakkar

    (@kthakkar)


    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/

Viewing 1 replies (of 1 total)
  • Plugin Author Zack Grossbart

    (@zgrossbart)

    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

Viewing 1 replies (of 1 total)
  • The topic ‘Use Editorial Calendar on any other page within any other plugin’ is closed to new replies.