• Resolved jgjh151

    (@jgjh151)


    I’m using this shortcode in a widget but the html is coming out slightly different on a few pages. This is causing the 3 featured listings to be 3 in vertical sidebar column (desired result) but on other pages the featured results are shrinking to fit 2 across then one below in the sidebar column.

    [directorist_all_listing featured_only=”yes” listings_per_page=”3″ header=”no” columns=”1″ view=”grid”]

    Example 1 (All listings page with sidebar, 3 vertical listings in sidebar) –
    <div class=”directorist-archive-grid-view”>

    Example 2 (All categories page, add listing page, etc with sidebar, 3 listings in sidebar shrinking 2 across then 1 below) –
    <div class=”directorist-archive-grid-view directorist-archive-grid–fix“>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jgjh151

    (@jgjh151)

    Even when I set this shortcode to only show 1 listing it is shrunk and now shows paging. As if it it trying to fir more than 1 in the side bar horizontally.

    [directorist_all_listing featured_only=”yes” listings_per_page=”1″ header=”no” columns=”1″ view=”grid”]

    Shortcode params not working, it’s taking the settings from the Grid settings in the config screen. Can’t change these becuase I need the grid on a normal page to have different settings than a sidebar.

    Plugin Support Rafiz Sejim

    (@rafizsejim)

    Greetings,

    You can use the “All Listing” block and select “Featured Only”. Here is a screenshot of the configuration https://i.imgur.com/mnLJ2Ch.png

    You can also select column and the default view without having to change config.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Same featured listings shortcode, different html result’ is closed to new replies.