It would be great to have a special class (e.g. “div-shortcode”) added into every div created by this shortcode to make it stand out among other divs.
]]><BR> tags are being added between the shortcode. I have even tried shift return.
See example:
https://www.evernote.com/l/AB2V6ZijIK1FqLA4VoxwzcuOvizY7aENnU4
]]>How would I write content with the shortcodes or how can I prevent this editor to add unwanted tags when my client switches between text editor and visual editor?
What I put into text editor looks like this:
[div id="something"]<h4>Some title here</h4>
... more content....
[end-div]
It produces this in my source code:
<div id="handelsplan-definition"></p>
<h4>Was ist ein Handelsplan?</h4>....
It doesn′t matter if I put the shortcodes and the titles side by side or under each other. In case of titles, it′s </p>, in other cases it′s <br /> which at least doesn′t throw validation errors. Any solution for this?
]]>Can the DIV shortcode have more than one class?
For example: [div class="testimonial last"]
I’ve tried a space and comma between classes but no luck. So I have a feeling I know what the answer is, but thought I’d ask.
This is a great WordPress plug-in that I use all the time. I want the div to appear in the WordPress visual editor so other people working on the site know it’s there. A normal div tag in the text editor doesn’t appear in the visual editor.
]]>So I’ll put
[div id=”d123″]
in my page contents and then some words and pictures. At the bottom I’ll add
[end-div].
When the HTML is generated, I get
<div id=”d123″></div> with no words and pictures in between. The tag is getting automatically closed somehow.
Any idea why?
]]>Is there a way to add more options to this shortcode?
Like this?
[div backgroundcolor=”” backgroundimage=”” backgroundrepeat=”no-repeat” backgroundposition=”left top” backgroundattachment=”scroll” bordersize=”0px” bordercolor=”” borderstyle=”solid” paddingtop=”20px” paddingbottom=”20px” class=”” id=””]
How could that be done? Thanks!!!
]]>Breaks site layout when enabled.
]]>Any one test in 3.6? Would really love to see some examples.
]]>Tried using this to create two columns of text on my page. Not sure if the plugin is supposed to write the div class definitions in the css, but all of my content is showing in one column instead of two.
IN WORDPRESS ADMIN
[div class=”left”]
Wiggins & Williams, LLP
308 North Tioga Street
Ithaca, New York 14850
Phone: (607) 272-0479
Fax: (607) 273-0502
Email: [email protected]
[end-div]
[div class=”right”]
Walter J. Wiggins
[email protected]
S. Francis Williams
[email protected]
Jules J. Ravo (of counsel)
[email protected]
[end-div]
OUTPUT HTML CODE
<div class="left">
<p><strong>Wiggins & Williams, LLP</strong><br />
308 North Tioga Street<br />
Ithaca, New York 14850</p>
<p>Phone: (607) 272-0479<br />
Fax: (607) 273-0502<br />
Email: [email protected]</p>
</div>
<div class="right">
<p>Walter J. Wiggins<br />
[email protected]</p>
<p>S. Francis Williams<br />
[email protected]</p>
<p>Jules J. Ravo (of counsel)<br />
[email protected]</p>
</div>
Any ideas on what I need to do? I figured the plugin would do the heavy lifting and I can just use basic tags.
]]>hi,
using plugin version 2.1
I tried adding the following code to a page on my site – to generate a 2 column layout after the initial H1 title [Our Profile]. But the 2 columns are not being generated – just a single column.
I am using the eleven40 child theme as my base [which has the CSS built in] and the page is set up to be a full width page – but i was hoping to use your plugin to create 2 columns within that page
thanks
Phil
———————————————
Our Profile
[div class=”one-half first]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet pellentesque dui. Vivamus venenatis velit a nisi ornare blandit.
[end-div]
[div class=”one-half”]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam sit amet pellentesque dui. Vivamus venenatis velit a nisi ornare blandit.
[end-div]
]]>Hi,
I’ve been getting a zero attached to the opening div when using arguments.
So when using this:
[div class=”inside”]
my source code looks like this:
<div0 class=”inner”>
Any help would be appreciated.
Thanks
]]>it’s not working…
]]>At first, page displayed as though the plugin wasn’t installed, then when I went to edit the page, previewing the updates displayed a page that appeared to have opened the DIVs but didn’t close them.
]]>