WordPress.org

Ready to get started?Download WordPress

Forums

Gallery
[resolved] BWS Gallery with single colums layout (8 posts)

  1. MichaelKl
    Member
    Posted 2 years ago #

    Hey,

    is there any possibility to use the single column (standard-)layout within the gallery template?

    http://wordpress.org/extend/plugins/gallery-plugin/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    You can insert gallery shortcode to the content of any 'single post' or 'single page' and after that you can determine displaying template for required page or post. Or you can edit templates for gallery displaying (you need to remove <?php get_sidebar(); ?> string).

    Regards,
    Oksana

  3. MichaelKl
    Member
    Posted 2 years ago #

    that's right. But if you choose the single-page (standard) layout, there is no chance to use the gallery template...

    If I choose the single-page layout with the gallery shortcode, the pictures are shown on the page...and there is noch chance to use a linking-page.

    If I delete <?php get_sidebar(); ?> i get the same problem -> a singe-page with all the pictures from all gallerys and no linking-page.

  4. bestwebsoft
    Member
    Plugin Author

    Posted 2 years ago #

    Hello Michael,

    it is necessary to select Gallery Template for the general page of all galleries and remove the line get_sidebar() if it required. This file is placed in your theme, it is called gallery-template.php. Also there is the template for single gallery – it is in your theme, the file gallery-single-template.php; you should remove the line get_sidebar() if it is required. The template single-page will not display the gallery correctly because this is the custom post type.

    Sincerely

  5. MichaelKl
    Member
    Posted 2 years ago #

    Yes, thats fine.

    How is it possible to use the full width of the site?

    Thank you very much for you effort and help

    Best regards
    Michael

  6. bestwebsoft
    Member
    Plugin Author

    Posted 2 years ago #

    Michael,

    Please in your theme in the files gallery-single-template.php and gallery-template.php find the line <?php get_sidebar(); ?> ; delete this line in both plugins and then the page will be displayed without sidebar.

    Sincerely,
    Tatyana

  7. MichaelKl
    Member
    Posted 2 years ago #

    I already delete it...

    But how can you use the full page?

    i need to change the css code, to use the full page for the gallery.

    Best regards
    Michael

  8. bestwebsoft
    Member
    Plugin Author

    Posted 2 years ago #

    Michael,

    It is necessary to comment get_sidebar(); string in the templates.

    Regards,
    Oksana

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic