• Resolved jeffreyrb

    (@jeffreyrb)


    Is there a method to show the listings only as a raster / grid layout on a specific shortcode? Because when I change it to list on another page it also changes it on the homepage where I want to to stay in a raster / grid layout.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Merv Barrett

    (@mervb1)

    You will need to create a custom template to achieve this and add the following class.

    For instance here is the default loop template.

    On the first line of the template you can see the post_class function

    <?php post_class(‘epl-listing-post epl-property-blog epl-clearfix’); ?>

    insert the following class to force grid mode.

    epl-listing-grid-view-forced

    eg
    <?php post_class('epl-listing-post epl-property-blog epl-listing-grid-view-forced epl-clearfix'); ?>

    That will now force grid mode on your template. Note the grid/list view will no longer work with that template, which is exactly what you are trying to do.

    For faster support by email see here for additional requests.

    Thread Starter jeffreyrb

    (@jeffreyrb)

    oke thanks.

    I couldn’t find a class that forces the list view- is there one already within or how could I disable the grid view?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Listing or raster layout shortcode’ is closed to new replies.