• Resolved John

    (@dsl225)


    Hello,

    Thanks for this great plugin!
    I first installed it 2 years ago for a dance school yearly show 2022 and now I need to create the galleries for a new show 2024 but don’t well understand how to proceed.

    Let’s say that initial page is named “Show 2022” and it hosts a group of 5 image galleries that are chapters of the same show.
    Now I want to add a new page named “Show 2024” that will also host 5 new galleries inside.

    How should I proceed with this idea?
    Is there a way for having more than 1 group of galleries somehow?

    Currently the page hosting all 5 galleries from 2022 is using this shortcode:
    [sunshine_galleries]
    – maybe I should simply add all 10 galleries normally and then use a selective shortcode for each year that includes only the galleries of that year? Does this sort of shortcode exist?

    I only found this shortcode but it displays a single gallery based on its ID:
    [sunshine_gallery id=”ID” show_main_menu=”true/false”]
    Is there a way to have a similar shortcode that displays more than 1 gallery in a page, based on its ID?
    Thanks.

Viewing 15 replies - 1 through 15 (of 25 total)
  • This should just be a case of creating “Parent Pages” from your gallery.

    • Create a “Main Page” – Dance 2024
    • Create your sub group pages and on each page of the sub groups, select “Dance 2024″ as the Parent Page, found on the right of the page under Page Attributes”.

    Then when the main “Dance 2024” page is selected, the client will see each sub page listed and they simply select that page.

    Thread Starter John

    (@dsl225)

    Thanks for this. In this case the main page would rather be “Dance Galleries” and then 2 sub-pages like “Show 2022” and “Show 2024”.

    OK, but I still don’t understand how each one of those pages can have different groups of galeries, as Sunshine’s settings, under Settings>Pages & URLs is asking to provide a “Main Galleries Page” (set as “Sunshine Main Page”). Which one would that be?

    Yes to what you’ve said Dance Galleries” and “Show 2022 and Show 2024”. Then simply select Show 2024 as the parent gallery for any if its sub pages. Unless I’m missing something you’ve indicated, this should work.

    That said, I have had problems adding existing pages to a new parent page although I’ve not tried it recently. When I tried to add a new “Primary Parent” page, the existing page would not show when I selected it to show as a sub directory of the new parent. So in your case, I’d just not bother with a directory of “Dance Galleries” first. I’d have the primary gallery as Show 2022 and Show 2024. If you try to add a new primary gallery (Dance Galleries) and add Show 2022 to it and it doesn’t show anything, just change the parent gallery of Show 2022 back to nothing and it would just show on your main galleries page of your website as Show 2022 and Show 2024.

    Disregard my last comment regarding adding a new primary “Parent Gallery” . I just tried it with 4 galleries I currently have online and it added them fin so you should be able to add “Dance Galleries” and then add Show 21022 and Show 2024 to that new “Parent Page”

    Thread Starter John

    (@dsl225)

    Oops, sorry. This time I’m completely lost…

    I’ll have 2 GROUPS of galeries: “Show 2022” and “Show 2024” (and later another one and so on…).
    I need to have a generic page that groups all those galleries as sub-pages and this would be something like “All Shows Image Galleries” and would be set as the main Sunshine page.

    So, I don’t really understand what you state here above, sorry.

    Thread Starter John

    (@dsl225)

    OK I see now your last comment and it’s more clear, thanks.

    But I still don’t understand this sentence from your initial comment;
    “Then when the main “Dance 2024” page is selected, the client will see each sub page listed and they simply select that page.”
    – by “will see” do you mean that I need to add links to the sub-pages, right?
    They are not automatically listed at main page.

    But now I realize that my problem remains the same:
    – how to have different galleries in each sub-page?
    If I use the same shortcode [sunshine_galleries] I’ll get all of them in every page…

    Just create “Dance Galleries” Page. Edit Show 2022 page and change Page Attribute to parent page “Dance Galleries. Your existing 5 sub pages will then need to be edited as well by adding their parent page as “Show 2022”

    Then you can create a new page for Show 2024 and have its parent page as “Dance Galleries” Then when you create the 5 sub categories, their parent page will be “Show 2024”

    So then when someone goes to your main gallery page, they’ll just see a thumbnail for “Dance Galleries” They select that and will then see two further options of “Show 2022” and “Show 2024”. If they select “Show 2022” they’ll see the 5 folders you have under that year. If they Select “Show 2024” they’ll see your 5 new folders for this year.

    Hope that makes sense ??

    Thread Starter John

    (@dsl225)

    Sorry, no I really don’t get it. Totally confused.

    I don’t have 5 sub-pages. I currently have a single page “Show 2022” that includes 5 galleries and want to do the same for 2024. What are sub-categories?

    I too am perhaps a little confused with how you’ve set things up compared to how I have it for my site.

    Reading how you’ve written the last post, I think I have it. Your website menu has a page called “Show 2022” and that’s where you’ve placed the shortcode [sunshine_galleries].

    If this is the case, you need to create a new page and call it “Dance Galleries” and add the shortcode [sunshine_galleries] to that page. Make sure the page is also added to your menu.

    Then, from your “Sunshine” menu in the dashboard, create a new gallery and call it “Show 2022”. What this should then do is if you view the page “Dance Galleries” you’ll see 6 galleries on that page. The existing 5 galleries you had AND the new one you’ve just created called “Show 2022”

    You’ll then need to edit the 5 galleries you already had. From the dashboard, select “All Galleries” from the Sunshine menu. You will then see the 6 galleries listed. Place a tick in the check box to the left of each of the 5 older galleries (Not Show 2022). Above the gallery thumbnails, change the dropdown from “Bulk Actions” to “Edit” and select “Apply” You’ll see a new little window which will have to the right a “Parent” dropdown. Change that to “Show 2024” which should show when you select that dropdown option. Then Click “Update”

    That should then add those 5 existing galleries to your new “Parent Gallery” of “Show 2022” If you go to your newly created page called “Dance Galleries”, hopefully you’ll just see a thumbnail called “Show 2022”

    If that’s all good, Create a new Gallery called “Show 2024”. Once that gallery is created, If you again look at your page “Dance Galleries, you will hopefully now see “Show 2022 and Show 2024” If you select Show 2022, the 5 galleries from that year should be in there. Show 2024 will still be empty.

    Then you just create new galleries for this year. When you create each gallery, be sure to change the page attribute “Parent Page” to “Show 2024″ This will then add your new 2024 galleries to the Parent Gallery” of Show 2024.

    Thread Starter John

    (@dsl225)

    Sorry again but the more we get into this the more I’m getting confused…

    Let’s try again with different formulation of the question in order to simplify and forget my initial post:

    I want to have different pages with different groups of galleries.
    PAGE A should host Galleries #1, 2, 3, 4, 5.
    PAGE B should host Galleries #6,7,8.
    PAGE C should host Galleries #9, 10, 11, 12.

    How to accomplish this and with which shortcode?
    Given that the shortcode [sunshine_galleries] lists all existing galleries (#1-12) and also only one single page can be defined as the “Sunshine Main Page”.

    Can you just add the Gallery shortcode and highlight the gallery ID?

    [sunshine_gallery id=”ID”] – This ID can be found on the gallery once it’s created from the “All Galleries” menu. Hover your mouse over the specific folder and it can be seen at the bottom of the page in the address line (I’m using Google Chrome) Will show your web address along with post=*****. the *** will be your ID number.

    You’d then just add the galleries to the page

    [sunshine_gallery id=”1″][sunshine_gallery id=”2″][sunshine_gallery id=”3″][sunshine_gallery id=”4″][sunshine_gallery id=”5″] ect.

    Not the neatest so unless someone has any other ideas….

    Thread Starter John

    (@dsl225)

    OK, thanks, that looks much better now.
    Are you sure we can just add one shortcode after the other that way?

    And if this works that way, which page to define as “Sunshine Main Page”?

    Yes, I tried it and it worked fine. Perhaps just place them on consecutive lines.

    One other thing you can do is still create a parent gallery of Show 2022 and Show 2024 and place your 5 galleries under those as I’d previously suggested. On the pages you want to create, you can then place the shortcode of the parent gallery into that page.

    • Create your page “Show 2022”
    • Create a Parent Gallery of “Show 2022”
    • Add the galleries you wish to the “Parent Gallery”
    • Get the Gallery ID for the “Parent Gallery” and place shortcode [sunshine_gallery id=”*****″] into your Page.

    The above would then just show the page of Show 2022 on its own page with the galleries you want to place on it. You’ll see your page and when you open it you’ll see thumbnails for Gallery 1, Gallery 2, Gallery 3 ect.

    Thread Starter John

    (@dsl225)

    Many thanks for testing, great!
    But I still don’t understand the structure you suggest with pages and galleries…

    Can you please give me the structure of the pages by using the example I posted previously?

    I want to have different pages with different groups of galleries.
    PAGE A should host Galleries #1, 2, 3, 4, 5.
    PAGE B should host Galleries #6,7,8.
    PAGE C should host Galleries #9, 10, 11, 12.

    How to accomplish this and with which shortcode?
    Given that the shortcode [sunshine_galleries] lists all existing galleries (#1-12) and also only one single page can be defined as the “Sunshine Main Page”.

    Again:
    – which page will become the “Sunshine Main Page” and how will I manage the other pages please?

    I really don’t understand what is a “parent gallery”!
    I see only parent pages.

    @wpsunshine Does the plugin author have a suggestion please?

    Can I look at your actual webpage with what your customer already views?

    • This reply was modified 4 months, 2 weeks ago by maneyact. Reason: Removed Email
Viewing 15 replies - 1 through 15 (of 25 total)
  • You must be logged in to reply to this topic.