Markup Confusion clarification need. – Please fix the forum


Writing the question again.

How do I realise

button class="uk-button" data-uk-toggle="{target:'#my-id'}".../button div id="my-id" ... /div

button class="uk-button" data-uk-toggle="{target:'#my-id'}">...... 'attribute-value' ) );

echo '';

beans_close_markup_e( 'markup_id', 'html_tag' );

the docs doesn't really clarify how to use uikit Javascripts together https://www.getbeans.io/documentation/markup-and-attributes/


Hello Dee,

I don't understand your question.

Can you please wrap your code in three back ticks?

```

your code

```


I used what would work. if the forum is updated orswitch tosomething else possibly the spam would stop and posts appear correctly?


I used what would work.

We can argue about what would work but that won't help you.

Three backticks on a line, your code underneath, three backticks on a line below your code should be all you need.

if the forum is updated orswitch tosomething else possibly the spam would stop and posts appear correctly?

I am not sure what you would want the forum updated to.

Akismet is actually dealing with most of the spam now. A few posts are getting through and have to be manually marked as spam.


// BEANS MARKUP.
beans_open_markup_e( 'my_custom_button_id', 'button', array(
    'class'          => 'uk-button',
    'data-uk-toggle' => "{target:'#my-id'}",
) );

    beans_output_e( 'my_custom_button_label', 'Click in this button' );

beans_close_markup_e( 'my_custom_button_id', 'button' );
// THE OUTPUT
<button class="uk-button" data-uk-toggle="{target:'#my-id'}">Click in this button</button>

Are you trying to do this?


Basically im trying to say the forum only allow desktop posts to appear correctly. Anything else it acts up and doesn't show up correctly.

Write a reply

Login or register to write a reply, it's free!