Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter canwild

    (@canwild)

    Thanks.
    I have upgraded to 2.1 and set all my listings to normal for now to avoid issues with sticky listings.
    I have added the name of the template to each listing so I can see how they are generated.
    My main page works okay and is generated by “businessdirectory-listings”. My categories work fine and are generated by “businessdirectory-categories”.
    My View Listings does not display anything and Manage Listings uses the “businessdirectory-listings” template which is not correct for my site.
    Search results appear to include pages now. Is there a way to suppress this?

    Thread Starter canwild

    (@canwild)

    My main page (generated by [WPBUSDIRMANUI]) uses my “businessdirectory-main-page-categories” template and works fine. It displays the same as ViewListings should on my site. I basically copied the code from the view_listings function in views.php to create my “businessdirectory-main-page-categories” template so I am not sure why View Listings doesn’t work.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    View listings is affected by a bug that I just released as a fix in 2.1.1. Try that version instead.

    Thread Starter canwild

    (@canwild)

    Version 2.1.1 works fine now for View Listings. My “businessdirectory-category” template is a duplicate of my “businessdirectory-listings” template with “get_header();” function added at the top. Both templates use a “get_footer();” function at the end.
    Your documentation on https://businessdirectoryplugin.com/docs/matching-the-design-to-your-theme/ says not to use these functions in the templates but mine don’t work without them.

    Thread Starter canwild

    (@canwild)

    Why are stickies excluded when browsing a category?

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    I will have to update the documentation shortly because some things have changed. We’re still in bug fix mode yet.

    I’m not sure I understand your second question–featured ads should be part of a category if they belong to that category. Are you seeing something different? Can you provide links and which listing seems to be missing? Is it really gone, or just not sorting at the top?

    Thread Starter canwild

    (@canwild)

    Version 2.1.2
    Sorry, it looks like your default “businessdirectory-category” template calls the “wpbusdirman_sticky_loop” function. I added this to my catergory template and my categories now show the featured ads correctly.

    The category paging using “wpbusmandir_sticky_loop” works but is interesting . I have 22 listings, 11 featured and 11 normal. I get 10 featured and 10 normal on page 1, and 1 featured and 1 normal on page 2. Also a message is displayed saying no listings in category if all the listings in the category are featured.

    The paging using “wpbdp_sticky_loop” for View Listings page doesn’t appear to work correctly. I get the first 5 featured ads and 10 normal ads on page 1, the same 5 featured ads and the 11th normal ad are then repeated on each successive page.

    I need a way to render my featured ads using a template instead of just rendering them using “_wpbdp_render_excerpt();”

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    OK, we’re going to look into it–can you resend access to the site again? https://businessdirectoryplugin.com/contact/ And please link to this forum post.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘[Plugin: Business Directory Plugin] Thumbnail image not working’ is closed to new replies.