• Resolved John

    (@dsl225)


    Hello,

    Is it possible to define the Listing View page as homepage (at root folder, without the /business-directory/ in address)?

    If this is possible, I would like to:

    1. disable the default main page that displays categories on top (or keep it as homepage but without the categories listed on top)
    2. use categories only in a sidebar widget

    Is this feasible?

    Thanks.

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi John,

    This isn’t possible exactly as you detail above.

    Our page MUST exist somewhere in your install. However, you can put a second BD shortcode on the front page and it will direct to the other one. We can’t use the root URL of the site–WordPress doesn’t allow for it in their content loop (believe me, we’ve tried) the way we output the page.

    With that said, not all themes work well with the shortcode on the main page either (depends on their content loop usage!). You can try it, but the results may or may not work well.

    You can manually add categories in a sidebar widget, but we’ll eventually have that as part of the main plugin.

    Thread Starter John

    (@dsl225)

    Thanks for your feedback.
    But, sorry, I don’t get it.

    I just want to have listings listed at homepage, at root folder, without the /business-directory/ in address, and NOT having the categories listed above them.

    Can you lease explain how to perform this?
    Maybe simply use the default BD homepage and just somehow remove the code that displays the categories above?

    I know how to get categories at sidebar but first I need to get rid of them above listings.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi John,

    Ah–I misunderstood your question.

    If you just want listings on the page, no menu or categories, you can use the shortcode [businessdirectory-listings] I believe we added a “menu=false” parameter in 4.0 so you can hide the top navigation as well.

    Full documentation on it here: http://businessdirectoryplugin.com/support-forum/faq/valid-bd-shortcodes-2-1/

    Thread Starter John

    (@dsl225)

    Hi there and thanks again.
    But I’m still not sure I fully understand.
    The doc link you provided doesn’t have anything related to that shortcode.

    I don’t well understand the meaning of “no menu” or menu=false.
    I don’t want to hide navigation or menus whatsoever.

    I just want to get the homepage exactly as it is in default BUT:
    1. at my site’s ROOT FOLDER (with no slash sub-folder)
    2. with NO CATEGORIES showing there (because I’ll include them in a sidebar widget)

    Is this something feasible? How?

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi John,

    The [businessdirectory-listings] shortcode is listed in the table of the link I provided. It’s the fourth entry down. Middle column (“New Shortcodes”). The right most column talks about the parameters available (tag, title, category).

    Let’s do this–start with putting that shortcode ( [businessdirectory-listings] ) on your main page for the site. See what comes out, and then we can adjust the parameters from that. OK?

    Thread Starter John

    (@dsl225)

    OK, that’s fine then.
    Will try this and will keep you posted here in a couple of days.

    Thread Starter John

    (@dsl225)

    OK, so I created a page named Listings and used the shortcode in there. Defined this page as homepage.

    The result is quite good, at least I don’t get the categories in there.

    2 subsequent questions though:

    1. How do I chose which listing details will display in that page (as summary of each listing)?

    2. Each listing detail view gets an address with /business-directory/ in front. How may I change this to something else – or even remove this?

    Thanks!

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi John,

    1. How do I chose which listing details will display in that page (as summary of each listing)?

    You can select which fields display in the list view (excerpt) by managing the form fields here: Directory Admin->Manage Form Fields. Aside from that, we don’t have a way to “summarize fields” for list view otherwise.

    2. Each listing detail view gets an address with /business-directory/ in front. How may I change this to something else – or even remove this?

    Short answer: You can’t. That’s part of the directory. We are on a separate page (/business-directory) and the URLs point to the “main directory” always. You can’t change this, unfortunately. The reasons have to do with how WP handles the front page.

    Thread Starter John

    (@dsl225)

    Thanks for this, well noted.

    Once I manage Form Fields, how may I edit the CSS for each one of them?
    Your Classifieds plugin has 2 different settings for this: “Ad Listings page layout” and “Single Ad page layout” but didn’t find something similar in here.

    Also I understand that I can’t remove this /business-directory/ but isn’t really a way at least to edit the slug to something else (ie. /listings/)?

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Your Classifieds plugin has 2 different settings for this: “Ad Listings page layout” and “Single Ad page layout” but didn’t find something similar in here.

    AWPCP and BD are very different. AWPCP was built in 2007 before custom post types, BD was built when CPT’s were new. AWPCP had to use the HTML layout, but BD uses templates in WordPress. The templates can be edited if you’re skilled with PHP and WordPress API. We have more on that here http://businessdirectoryplugin.com/support-forum/faq/customizing-bd-to-fit-your-theme/ And also do more with fields: http://businessdirectoryplugin.com/support-forum/faq/advanced-customization-of-the-list-and-detail-views-of-bd/

    But if that’s not enough, you can go full-bore and customize anything in the plugin if you have the proper skill set: http://businessdirectoryplugin.com/docs/customization-guide/

    We have new directory themes to help style the output more easily but the customization is an option as well.

    The slug of the page can be changed (didn’t understand that was your goal here)–just rename the page “Business Directory” and change the slug to whatever you like.

    Thread Starter John

    (@dsl225)

    Great docs, this is what I needed, thanks.
    I will study this further in detail.

    One more question if you don’t mind:

    – I created a new page as homepage called “Listings” and has the shortcode
    you suggested [businessdirectory-listings] and the slug “listings”. This displays listings as I wanted at homepage (root of my domain) without categories on top.
    – The default BD homepage Business Directory has the slug “business-directory”. If understand correctly what you suggest, I have to keep this page as and I may simply change its name and slug to something like “directory” and this will always be following my domain address as /directory/ before any further slug (ie. listing detail page)

    Is my understanding correct?

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Yes.

    Thread Starter John

    (@dsl225)

    Thanks.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Listing View page as homepage?’ is closed to new replies.