• Resolved SRD75

    (@srd75)


    On our home page we have the shortcode:

    [adverts_categories show=”all” columns=”3″ sub_count=”21″]

    but the home page displays ads in 2 columns.

    Help appreciated.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,

    i am looking at the page you linked to and the [adverts_categories] shortcode at the bottom is displaying 3 columns so it seems to be working ok?

    If you would like also the [adverts_list] shortcode to show 3 columns then you need to add columns="3" param to this shortcode as well.

    I suppose that in the wp-admin / Pages panel you have a page that is being used as a homepage, so you need to edit it and make the changes to the shortcode there.

    Thread Starter SRD75

    (@srd75)

    Sorry, I was looking at the wrong shortcode.

    I’ve updated the adverts list to [adverts_list columns=”3″] but it remains at two columns.

    I’ve cleared the LiteSpeed cache, and the issue remains.

    Plugin Author Greg Winiarski

    (@gwin)

    It looks like the quote character is formatted incorrectly and the plugin cannot understand what value is being passed.

    If you are using the blocks editor remove the [adverts_list] shortcode from the page and type the [adverts_list] shortcode (with columns param) from the keyboard.

    If you are using classic editor, switch to the Text tab in the editor, remove the [adverts_list] shortcode and type it again from the keyboard.

    Thread Starter SRD75

    (@srd75)

    Retyping it in the Text tab solved it, as you predicted, thank you.

    I couldn’t see any difference in the quotes or parameters before removing the old shortcode. I did see the old version was wrapped in paragraph tags.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t display ads in 3 columns’ is closed to new replies.