Title: Error when using custom post types
Last modified: April 4, 2024

---

# Error when using custom post types

 *  Resolved [trbnrb](https://wordpress.org/support/users/trbnrb/)
 * (@trbnrb)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/error-when-using-custom-post-types/)
 * Hey there, we encountered an issue while using the plugin. We have one page where
   the main directory is displayed and it’s working great. But we also have some
   custom post types where the shortcode gets used with the directory id which we
   got from the metadata of the post.
 * The shortcode gets displayed correctly on the frontend.
   Now on to the problem.
   We can’t navigate from the selected directory to one of the children or open 
   a file. But if you manually add the dir query to the url you can click on the
   home button.
 * Using WPDocs 2.1.0, WOffice Theme 5.4.4, Elementor 3.20.3 and JetEngine 3.4.2
   for Custom Post Types.

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

 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/error-when-using-custom-post-types/#post-17551945)
 * I think you brought a new use-se with the custom post types. Would it be easy
   for you if you can record a video or reach me through the slack or using the 
   help tab on the settings page?
 *  Thread Starter [trbnrb](https://wordpress.org/support/users/trbnrb/)
 * (@trbnrb)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/error-when-using-custom-post-types/#post-17552012)
 * A public video is not possible because of the data. How can I reach you on slack?
   
   Edit: Just found the slack. Messaged
    -  This reply was modified 2 years, 1 month ago by [trbnrb](https://wordpress.org/support/users/trbnrb/).
 *  Plugin Author [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * (@fahadmahmood)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/error-when-using-custom-post-types/#post-17552089)
 * I got your msg there.

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

The topic ‘Error when using custom post types’ is closed to new replies.

 * ![](https://ps.w.org/wp-docs/assets/icon-256x256.gif?rev=2286794)
 * [WP Docs](https://wordpress.org/plugins/wp-docs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-docs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-docs/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-docs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-docs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-docs/reviews/)

## Tags

 * [JetEngine](https://wordpress.org/support/topic-tag/jetengine/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 3 replies
 * 2 participants
 * Last reply from: [Fahad Mahmood](https://wordpress.org/support/users/fahadmahmood/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/error-when-using-custom-post-types/#post-17552089)
 * Status: resolved