PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

How to remove line breaks?

s2Member Plugin. A Membership plugin for WordPress®.

How to remove line breaks?

Postby sruefer » April 25th, 2011, 10:53 am

Hi,

I am currently using short codes for adding different level content to single posts, for example to divide a post into a public and a premium section. I noticed that adding short codes into the post (in the HTML editor) appears to create lots of additional line breaks, which creates more white space between the content sections than I would like to show.
Is there a way to avoid the creation of these line breaks?
Thank you, kind regards,
Steffen
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: How to remove line breaks?

Postby Cristián Lávaque » April 25th, 2011, 3:15 pm

Hi Steffen. :)

Do you have the same problem if you use the shortcode in the visual editor?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: How to remove line breaks?

Postby sruefer » April 25th, 2011, 11:02 pm

Hi Cristian,

thank you for your quick reply. It seems to happen only in the HTML editor; which is a problem because I am mainly using the HTML editor instead of the visual editor, as I add manually some HTML code.
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: How to remove line breaks?

Postby Cristián Lávaque » April 26th, 2011, 12:05 am

I see. Well, for now you could switch to the visual editor to enter the shortcodes, I guess.

Does it do this with s2Member's shortcodes only or any shortcode?

Here are others you could try if you don't have more at hand right now: http://en.support.wordpress.com/shortcodes/
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: How to remove line breaks?

Postby sruefer » April 26th, 2011, 12:22 am

Ok I guess I will survive with the visual editor for now. Correct me if I am wrong though, but are those shortcodes that you mentioned in your link not for Wordpress.com only, and not for a self hosted installation of Wordpress?
Steffen Ruefer | Using s2member with Paypal (none Pro) & WP 3.2.1 | http://rufer-design.com/
User avatar
sruefer
Experienced User
Experienced User
 
Posts: 25
Joined: April 25, 2011
Location: Dubai, UAE

Re: How to remove line breaks?

Postby Cristián Lávaque » April 26th, 2011, 1:10 am

sruefer wrote:Correct me if I am wrong though, but are those shortcodes that you mentioned in your link not for Wordpress.com only, and not for a self hosted installation of Wordpress?


Oh, maybe they are, very sorry about that. I just googled WordPress shortcodes and saw that result at WordPress, but missed the .com instead of .org. :roll:
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron