pascali70
Member
Posted 2 years ago #
Hi,
I'm a newby in wp and just found out that you can use shortcodes in your posts. I tried this but I'm still getting the same problem : I post the shortcode with for example '[gallery]' in the editor under the 'html'-tab. When I'm checking my post I don't see the result off the code, I only see '[gallery]' in clear tekst. What I'm doing wrong ?
Thanks in advance.
Pascal.
Do you have the single quotes around it in the post? You don't need the single quotes and that may be causing the problem.
pascali70
Member
Posted 2 years ago #
no, I don't have the single qoutes arount the post. I just entered [archives] in the html section of my post and you can see the result at blog.bondividiver.be
I also tried it with other shortcodes but no success.
denzel_chia
Member
Posted 2 years ago #
Hi
Don't think there is an [archives] shortcode in WordPress.
But in order for gallery shortcode to work, you must have images attached to that particular post. You need to create a post, upload pictures to WordPress from your post editor, then click on insert gallery, and the gallery shortcode will be created for you.
Hope it helps!
pascali70
Member
Posted 2 years ago #
found the problem. First indeed [archives] doens't exsists. But I installed a plugin that generated shortcodes and the also didn't work .... the problem was a space after and before []. SO problem solved. Thanks for the answers.