• Resolved mikabajic

    (@mikabajic)


    Hi,
    My name is Milos. I am new to WP. Recently I installed your plugin and I love it. The only small issue that I have is that double space gets created right after the “target content” in titles Режија and Продукција.

    Link: http://www.serbiantreasury.com/?video=gde-cveta-limun-zut

    Could you tell me what might be the problem?

    This is a code from my site:

    [expand title=”Сценарио” rel=”fiction”]Милован Витезовић и Здравко Шотра [/expand] [expand title=”Режија” rel=”fiction”]Здравко Шотра [/expand]
    [expand title=”Продукција” rel=”fiction”]Кошутњак филм 2006[/expand]
    [expand title=”Глумци” rel=”fiction”]Драган Николић – наратор
    Зоран Цвијановић – регент Александар Карађорђевић
    Петар Краљ – Никола Пашић – председник владе
    Драгослав Илић – краљ Петар Карађорђевић
    Миодраг Радовановић – војвода Путник
    Хана Јовчић – каплар Флора Сандес
    Милица Милша – сестра Маргарита
    Миленко Заблаћански – Џон Рид – амерички новинар
    Драгомир Цумић – војник из Лике
    Иван Босиљчић – Пантелија – рањеник
    Горан Даничић – новинар[/expand]

    Thanks in advance,
    Milos

    http://wordpress.org/plugins/jquery-collapse-o-matic/

Viewing 1 replies (of 1 total)
  • Plugin Author Baden

    (@baden03)

    This spacing issue has been addressed many times in this forum.

    In short you have a few choices:

    1. either set the default tag to div in the plugin options page or use the tag="div" attribute
    2. wrap all your expand elements in a div:
      <div>[expand title="Сценарио" rel="fiction"]Милован Витезовић и Здравко Шотра [/expand]
      [expand title="Режија" rel="fiction"]Здравко Шотра[/expand]
      [expand title="Продукција" rel="fiction"]Кошутњак филм 2006[/expand]</div>
    3. as a final fix, and the reason why this issue exists, is to change the Execution Priority of wpautop by adding the following line to function.php:
      add_filter( 'the_content', 'wpautop',20 );

    Please let us know if you get it worked out and what worked for you.

Viewing 1 replies (of 1 total)

The topic ‘Rel Attribute question/issue’ is closed to new replies.