0

What’s the correct syntax for using multiple attributes?

I'm using a plugin called Dropzone and it has multiple attribute options: https://wordpress.org/plugins/wp-dropzone/#faq

For example, if I want a different color background, I would include [wp-dropzone background=”#fbfbfb”]. But I also want to remove the links attribute [wp-dropzone remove-links=”true”].

I can’t just put remove-links=”true” next to the color attribute or in the brackets: writing out both attributes fully gives me two dropzone boxes with the single attribute.

How would I write it out to get multiple attributes into a single "dropzone"?

1 Answer 1

2

Several attributes in the wordpress exploding by space. Your shortcode will be:

[wp-dropzone background="#fbfbfb" remove-links="true"]
Sign up to request clarification or add additional context in comments.

3 Comments

that removed the plugin and just displayed the text
not sure, that you're using right the shortcode. where do you placed it?
This answer should be correct. There must be something else wrong.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.