Diretory Cross Over

This topic contains 5 replies, has 2 voices, and was last updated by  Guust 4 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #518653

    Justin Hanson
    Expired Member
    Post count: 22

    Hello,

    I previously posted about an issue I was having with multiple directories having elements that are crossing over and that I wish to have separated. Reposting with more specific info in response to your comments, as it closed because I was unavailable for a while.

    1. https://viplocalasset.com/events/
    On this page, I would like to remove the other options from the dropdown list, or the list entirely. When they go to this page I only want members to see the training and events calendar.

    2. https://viplocalasset.com/vip-business/
    – On this page, I am getting crossover from the events calendar. I do not wish to be able to see the calendar.
    – Also, same problem with point #1 above, as I want the members to only see the business directory. How do I limit the drop-down list or remove it completely?

    3. https://viplocalasset.com/places/
    – Again, how do I remove the calendar from this page and restrict or remove the drop-down?
    – I would like to display the map here, but I only want the places info to appear on the map, how can this be done?

    I do not see the private message button. I believe can send admin login info separately in a reply.

    Thank you,

    Justin

    #518665

    Guust
    Moderator
    Post count: 29970

    1. Only logged in members can access https://viplocalasset.com/events but you can hide anything you like with CSS using the “logged-in” class.
    Some membership plugins can also hide that completely.

    2. You can create a different GD Archive page for each CPT.
    VIP Business Service > Settings > General tab > Show Advance > Template Page Settings > Archive page
    Create a new template [without the calendar] and connect it there.

    3. Create a different GD Archive page for each CPT.
    Adding an “Archive” map will automatically restrict the listings to the CPT, in this case Places.

    4. You can only add private information to a reply, not the first post in a new topic.

    Thanks

    4.

    #521795

    Justin Hanson
    Expired Member
    Post count: 22

    Thank you for this. I think I got most of that figured out and am working on all the adjustments.

    I see the restriction created by adding an archive map. In an effort to keep it clean, is there a way to remove other CPTs from the drop-down list in the search bar for each CPT archive page I setup? Or at least lock it on the option for that CPT?

    #521821

    Guust
    Moderator
    Post count: 29970

    Or at least lock it on the option for that CPT?

    That is how it should work if you are on the correct CPT pages.

    is there a way to remove other CPTs from the drop-down list in the search bar for each CPT archive page I setup?

    Try this CSS:

    .post-type-archive .gd-search-field-cpt {display: none;}

    Thanks

    #521960

    Justin Hanson
    Expired Member
    Post count: 22

    Ok. Where should I put that CSS? I’m less skilled with code. I do have a place for CSS in my theme, but in the past, it hasn’t been completely effective? Should I try it there anyway?

    Also, I created a page for my places based on the instructions above. I was able to set it all up and to remove the calendar. I also added on the map, but something weird happened. The map showed up the first time I loaded the page (frontend) then every subsequent attempt it is not showing up, even though the shortcode is there and doesn’t look broken or otherwise incorrect.

    Thank you,

    Justin

    #522079

    Guust
    Moderator
    Post count: 29970

    Where should I put that CSS?

    Appearance > Customize > Additional CSS

    The page https://viplocalasset.com/places/ shows a map for me every time …
    Similar for
    https://viplocalasset.com/places/category/police/
    https://viplocalasset.com/places/category/police/canada/alberta/calgary/
    etc which are using the same template.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket