Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Div Shortcode

Beskrivning

Allows you to create a div by using the shortcodes [div] and [end-div]. To add an id of ”foo” and class of ”bar”, use [div id=”foo” class=”bar”].

Support Forum

Recensioner

28 januari 2018
As simple as ingeniously! No rubbish, just a div with desired class and id around certain part of content.
Läs alla 7 betyg

Bidragsgivare och utvecklare

”Div Shortcode” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Div Shortcode” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

2.2.1

  • Fix issue with attributes not being displayed

2.2

  • Attributes can now be filtered using the shortcode_atts_div-shortcode filter
  • Refactored the code according to WordPress coding standards

2.1

  • People are still having issues with the new version and we aren’t able to replicate to fix them. I’m reverting back to the original code in 1.0. Sorry for all the updates.

2.0.1

  • Some people have reported issues with the shortcode no longer working. This (hopefully) fixes it.

2.0

  • Completely rebuilt by Dean Hall using pseudo-shortcodes. Content is actually stored as html, so if you disable the plugin the div’s still work.

1.0

  • Release of plugin