• Resolved borganinja

    (@borganinja)


    Anybody here can explain how to use blocksy shortcode. I go through the documentation multiple time but cant understand how and what it means by control instances. I tried but doesnt seem to make any different. Please TQ

Viewing 5 replies - 1 through 5 (of 5 total)
  • Eduard

    (@cteduard)

    Hello @borganinja

    Instances of the shortcode means separating each shortcode entry from the others, using PHP code. It is an advanced developer feature that requires good knowledge of PHP to be able to be implemented on one’s website.

    While we won’t be able to offer support in implementing custom PHP code, if you can drill down your question and ask for more details about the shortcode, we might be able to point you in the right direction!

    Thanks.

    Thread Starter borganinja

    (@borganinja)

    Okay, i’ll try. So if i display 4 column of content block in 1 row using customizer, then i use

    if ($shortcode_args[‘shortcode_instance’] === ‘instance-1’) {
    $query_args[‘offset’] = 5;

    Does that mean for this instance-1, it will display starting from 5th content?

    Eduard

    (@cteduard)

    Hello @borganinja

    Yes, that is correct. It will skip the first 5 articles.

    Thread Starter borganinja

    (@borganinja)

    So that means i have some extra space i can to tuck in other post-type? cuz at the moment the column is not full with 4 content block. Right?

    Eduard

    (@cteduard)

    I’m sorry, but I do not understand what you’re trying to do here. Can you please get back to me with the full detailed report?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blocksy SHortcode’ is closed to new replies.