• Resolved smerliao

    (@smerliao)


    Hi, I use inside the wp bakery this line
    events_list category_id=”344″ scope=”all” order=”DESC” limit=”10″]

    I want to put an ad lets say in half of the list, so I want to break the eventlist in half.
    I make the line
    events_list category_id=”344″ scope=”all” order=”DESC” limit=”5″]

    I want the block of code after the add to start with the 6th post so it continues the list of events.
    Is there an argument that supports that??
    I want the line to be somehow like that
    events_list category_id=”344″ scope=”all” order=”DESC” limit=”5″ start=”6″].

    Or maybe you suggest another way of implementing that?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter smerliao

    (@smerliao)

    also, in the second part there is the pagination argument like this.
    [events_list category_id=”344″ scope=”all” order=”DESC” limit=”5″ pagination=”1″

    I would like it to work in the next pages , in the correct order.
    thanks

    Hello,

    I’m not sure if I get it right, But you could try checking the “offset” attribute. You can check it more here: https://wp-events-plugin.com/documentation/event-search-attributes/

    Thread Starter smerliao

    (@smerliao)

    Hi,
    Yes I have seen the offset argument and I shall try it.
    What I want is this…
    I have many same pages, categories such as music, art, food, social, etc.
    Inside the page, with the use of wp bakery builder, I have a raw html block where I include the event listing.
    I have with limit 10 and pagination for older events.
    What I want, is to break that listing and after the 5th let’s say event, a horizontal banner should appear.
    What I thought was, to have 3 blocks of html.
    1st, code event listing with the first 5
    2nd,the code for the banner
    3rd, code event listing starting from 6 to 10th event. And in the end of this block the pagination, so it would go to page 2,and have 11th to 15,banner, and then 16th and 20th and pagination, and so on.
    Is that clearer now?
    Maybe the approach I thought isn’t correct and you could suggest a better one.
    Many thanks,
    Stefanos

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can also try to look into using ‘page’ search attributes?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘eventlisting starting post?’ is closed to new replies.