Title: Show only with shortcode
Last modified: September 14, 2018

---

# Show only with shortcode

 *  Resolved [Elliot Taylor](https://wordpress.org/support/users/raisonon/)
 * (@raisonon)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/show-only-with-shortcode/)
 * Hello,
 * Is it possible to display the timetable schedules only when outputted into a 
   page with a shortcode.
 * Can the automatically created endpoints for timetables be disabled?
 * Thanks
 * Elliot

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Elliot Taylor](https://wordpress.org/support/users/raisonon/)
 * (@raisonon)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/show-only-with-shortcode/#post-10688932)
 * When in class-core.php I can amend line 452 to set the public status to false
 * ”’ “public” => false, ”’
 * Would be lovely to have that as a setting.
 * Code looks beautiful – clearly, a lot of consideration went into this. Thanks
 *  Plugin Contributor [motopress](https://wordpress.org/support/users/motopress/)
 * (@motopress)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/show-only-with-shortcode/#post-10710529)
 * Hi [@raisonon](https://wordpress.org/support/users/raisonon/),
 * We are sorry for a delayed response however we are not sure we got your initial
   question properly. Could you clarify it more detailed providing examples or screenshots.
   Thanks.
 *  Thread Starter [Elliot Taylor](https://wordpress.org/support/users/raisonon/)
 * (@raisonon)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/show-only-with-shortcode/#post-10710810)
 * We are trying to use this so the schedule only appears where the shortcode is
   used.
 * Currently you are adding the custom post types / taxonomies to be public so they
   have their own url slugs.
 * We managed to edit the plugin where these are registered. We set public var to
   false.
 * See this screenshot of our GIT amends of class-core.php :
 * [https://www.dropbox.com/s/zv4pwr53tz04c0b/Screenshot%202018-09-21%2015.21.36.png?dl=0](https://www.dropbox.com/s/zv4pwr53tz04c0b/Screenshot%202018-09-21%2015.21.36.png?dl=0)
 * There are a few other areas where we set the public to false. Perhaps this could
   all be a setting?
 * Thanks and hope that helps.
 *  Plugin Contributor [motopress](https://wordpress.org/support/users/motopress/)
 * (@motopress)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/show-only-with-shortcode/#post-10748874)
 * Hi [@raisonon](https://wordpress.org/support/users/raisonon/),
    Thank you for
   your explanation. We’ve released an updated version of TimeTable plugin where
   we have added Permalink setting to modify slugs of Columns and Events post types.
   Also we have added filters to the registration of both post types so it is possible
   to override its parameters using custom function.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Show only with shortcode’ is closed to new replies.

 * ![](https://ps.w.org/mp-timetable/assets/icon-256x256.png?rev=2665792)
 * [Timetable and Event Schedule by MotoPress](https://wordpress.org/plugins/mp-timetable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mp-timetable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mp-timetable/)
 * [Active Topics](https://wordpress.org/support/plugin/mp-timetable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mp-timetable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mp-timetable/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [motopress](https://wordpress.org/support/users/motopress/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/show-only-with-shortcode/#post-10748874)
 * Status: resolved