WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Changing the formatting or featured/sticky listings? (4 posts)

  1. canwild
    Member
    Posted 2 years ago #

    Ho do I change the formatting of featured/sticky listings to match my theme? I can change the formatting of regular listings using "/single/businessdirectory-listings.tpl.php" and "/single/businessdirectory-categories.tpl.php" but the featured/sticky listings still display using the default formatting.

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

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 2 years ago #

    Have you tried modifying the wpbusdirman.css or using Firebug to find the elements for the Featured Listing CSS? That's probably the quickest way to find it.

  3. canwild
    Member
    Posted 2 years ago #

    Thanks for the suggestion. I need to make more significant changes then are possible through CSS. I have been able to make fairly complex changes to the regular listings but the sticky listings are displayed using "wpbusdirman_single_listing_details();" and I am looking for a way to insert the post title, tags, excerpt, content etc. individually into my HTML so I can format the sticky listings in the same manner as the regular listings.

  4. businessdirectoryplugin
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, I think you're hitting the same issue we just discovered yesterday which is that we don't have a good public API to expose "is_sticky()" so you can control the formatting based on that flag. That's what is needed.

    Right now, you can do it via private metadata which isn't the greatest idea. We're working on improving that as quickly as possible now that we've found it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.