Skip to:
Content
Pages
Categories
Search
Top
Bottom

Stickies ban doesn’t work in shortcode

  • @neon67

    Participant

    Hi. I use a shortcode from bbP shortcodes like [bbp-display-topic-index show=’6′ forum =’2692,2696,2697,2698,2700,2702′ show_stickies=’false’] Question about Stickies – the display does not depend on this records – false or true. I even tried to write no – it doesn’t help either, the topics are always shown at the top.
    BBpress 2.6.11
    How is this solved?

Viewing 9 replies - 1 through 9 (of 9 total)
  • @robin-w

    Moderator

    I think you are using the style pack plugin shortcodes, in which case it is bsp not bbp.

    Also the above is using the wrong apostrophies, it may be because you pasted without using the code button

    This should work

    [bsp-display-topic-index show="6" forum ="2692,2696,2697,2698,2700,2702" show_stickies="false"]

    If not come back

    @neon67

    Participant

    Thanks for your feedback!
    I use the bbP shortcodes 2.8 plugin only, don’t have the style pack plugin. The bbp-display-topic-index shortcode works great with both double or single quotes—everything! except for sticker management. In the web code, the line that I want to disable is written as .bbp-topics ul.super-sticky, .bbp-topics-front ul.super-sticky – this is all standard, I didn’t change anything.

    Maybe the problem is the shortcode is used twice on the page? I plan to allow stickers in one block, but prohibit them in the second – other forums and stickers are not appropriate there.

    @robin-w

    Moderator

    I’ve just taken a look, and yes I cannot get it to do what it should.

    I’ll have a further look

    @neon67

    Participant

    Thank you. I’ll be waiting.

    @robin-w

    Moderator

    so are you saying that ‘stickies’ are always showing for you, they are never showing for me!

    @neon67

    Participant

    Еverything according to the recipes bbP shortcodes 2.8 – works. Stickies are always shown if they are marked by the admin.
    There were several layers in my CSS code – I need to figure it out. I just wanted to make sure that everyone’s bbP shortcodes 2.8 is working properly.

    @robin-w

    Moderator

    ok, so before the shortcode block, add a custom html block saying

    <div class="my-block-name">

    then your block with the shortcode you dont want the sticky to show in

    then another custom html block with

    </div>

    then use

    .my-block-name sticky {
    display : none ;
    }

    @neon67

    Participant

    Great idea, close everything in css.
    I first tried your option – so far it’s not working. This can’t happen? I added it’s important! No result. I looked in the code – it’s super-sticky. No again. I set the class-dot and it worked. This is what works for me:
    .hiddensticky .super-sticky {
    display: none;
    }
    An entry about sticks in the shortcode is not needed.

    Thank you very much for your help.😍

    @robin-w

    Moderator

    no problem, glad you are fixed !

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar