WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Moving templates to /single (2 posts)

  1. canwild
    Member
    Posted 1 year ago #

    BD version 2.0.5

    When I move "wpbusdirman-categories.php" to "/single/businessdirectory-categories.tpl.php" in my theme directory it doesn't display the featured/sticky listings for the category. I have to add "wpbusdirman_sticky_loop();" to the top of the moved template file for it to work correctly.

    Moving "wpbusdirman-listings.php" to "/single/businessdirectory-listings.tpl.php" works correctly and shows the featured/sticky listings.

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

  2. canwild
    Member
    Posted 1 year ago #

    I was copying the templates from the plugin's "/posttemplate" directory and renaming them instead of copying the templates from the "/templates" directory. Moving these templates to my theme's "/single" directory works fine.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.