WordPress.org

Support

Support » How-To and Troubleshooting » Shortcode Return Problem

Shortcode Return Problem

  • Hey guys,

    What’s up?

    I have a little problem with a shortcode I made. When it returns the informations it returns it twice… Better explain with an example:
    http://richardlong.be/contact

    Below the header picture you will see this:

    info@richardlong.bewww.richardlong.be+32 2 652 54 31125 rue des Combattants – 1310 La HulpeMardi matin sur rendez-vous – après-midi 14h00 – 18h30Mercredi – Jeudi – Vendredi – Samedi 10h00 – 18h30Dimanche 10h30 – 13h00 & 14H30 – 17h301er Vendredi du mois ouvert jusqu’à 20h00

    And on the right side you will see the same informations with my icons…

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Thanks for helping me ! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here is the code

    http://pastebin.com/5UrcuzYL

    [ Please don’t bump, that’s not permitted here. ]

    Sorry I didn’t explain what was my real problem… At the start of the loop when displaying on my page it returns my variables… I don’t know why and I just want to display the variables next to my icons.

    The strange think is when I put plain text like replacing this
    get_option_tree( 'tel', '', true, false, -1 );

    by plain text like +33 6 499 883 or HELLO it works… (it does not return +33 6 499 883 or HELLO twice) but only next to my icons.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode Return Problem’ is closed to new replies.
Skip to toolbar