WordPress.org

Ready to get started?Download WordPress

Forums

shortcode issue: extra spacing around shortcodes (2 posts)

  1. theresident
    Member
    Posted 2 years ago #

    Hi!

    I am using shortcodes from two plugins, WP Shopping Cart and Paid Downloads, with the theme XO Responsive Creative, in this page to add the "buy now" buttons:

    http://www.fightthefools.com/portfolio/the-diamond/

    I want the buttons to appear next to the text, but both shortcodes cause extra spacing so that the buttons are very far from the text.

    Someone had recommended placing this in the functions.php file, but it didn't help:

    [code moderated - please use the pastebin for any code longer than 10 lines]

    And someone else suggested using [raw] [/raw] around the shortcodes, too, which didn't help either.

    Any help would be greatly appreciated!

  2. theresident
    Member
    Posted 2 years ago #

    As an update - I tried other themes - this seems to be a WordPress issue as its persistent across themes.

    Does anyone have ANY idea why WordPress separates shortcodes so much, and is there any way at all to stop this from happening?

Topic Closed

This topic has been closed to new replies.

About this Topic