WordPress.org

Ready to get started?Download WordPress

Forums

shortcode doesn't work (5 posts)

  1. pascali70
    Member
    Posted 4 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.

  2. kwbridge
    Member
    Posted 4 years ago #

    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.

  3. pascali70
    Member
    Posted 4 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.

  4. denzel_chia
    Member
    Posted 4 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!

  5. pascali70
    Member
    Posted 4 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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags