WordPress.org

Forums

Business Directory Plugin
[resolved] Create Additional Template with Shortcode (2 posts)

  1. odonnetp
    Member
    Posted 1 year ago #

    I'm interested to make an additional template for business directory plugin and then use a shortcode for it on page in WordPress backend.

    I'm interested to have one page be a simple list view of listings and then have another page with a map version. But, these would be at different URLS, so like /listings and /listings-with-map.

    Any insight on how to add my own shortcode and template to the code to make this happen?

    https://wordpress.org/plugins/business-directory-plugin/

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    Hi odonnetp,

    Something like what you describe would require some significant customization to the plugin to handle right now. I can't provide specifics as you'd need to view the source code and understand how the existing URLs were handled to make such changes. It's not a quick or easy thing to explain. You should use one of the existing shortcodes as a basis for making the modifications (like [business-directory] or similar)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Business Directory Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic