• Hi

    In the notes of your plugin you give an example of a short code:
    [kebo_tweets title=”” count=”5″ style=”list” theme=”light” offset=”false” avatar=”off” conversations=”false” media=”false”]

    In the list of available options for the shortcode, you say that the offset can have values of: 1 – 50.

    For me the offset attribute can only be either true or false or I get the following error:
    array_slice expects parameter 1 to be array, object given in ....pluins/kebo-twitter-feed/inc/shortcode

    I am not actually sure what the offset actually does?
    Is the offset to skip some tweets? Does an offset of 1 mean that the feed will skip the first Tweet?

    Regards

    John

Viewing 1 replies (of 1 total)
  • Hi John,

    you guess right. That’s what the offset is supposed to do, but the error is thrown because $tweets is an object and not an array, where the single tweets are stored in.

    Maybe Peter can fix this issue with the next update.

    Cheers,
    Roman

Viewing 1 replies (of 1 total)
  • The topic ‘Question regarding the use of the attribute ‘offset’’ is closed to new replies.