WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Display listings on php widget (2 posts)

  1. spikespiegel
    Member
    Posted 9 months ago #

    I have a plugin that allows me insert php in text widget and what I need to do is to display the plugin listings page in a widget.

    I tried to use the businessdirectory-listings.tpl.php file code, but I got an error, I presume it is because I didn't load some class, or something.

    In shortly, I only want to display the listings in a page.

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

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 9 months ago #

    Hi spikespiegel,

    To make this work, you'd have to understand the context of what the code is doing on the template above. It may require some additional development to encapsulate a single function call inside the plugin that does all of that for you and then your widget calls this function. I don't have a suggestion on how to do that off hand. I will need to check with my developer, but in the meantime, I would suggest digging into the plugin code and poking around to find the answer there.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.