• 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: https://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

    https://www.ads-software.com/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.