Support » Plugin: Fancier Author Box by ThematoSoup » Plugin code – div not closed. What's up with that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I tried it with having the tag’s code be normal:

    <div id="author-profile-bio-below" class="ts-fab-tab" style="display: block;"> </div>

    It stopped the plug in from working right. !?

    Plugin Author Slobodan Manic

    (@slobodanmanic)

    Investigating this, thank you for reporting it.

    Plugin Author Slobodan Manic

    (@slobodanmanic)

    Doug,

    I searched through all the plugin’s code and the string ‘author-profile’ doesn’t appear anywhere. Is there a chance you or someone else has edited the plugin?

    The div’s proper ID is ‘ts-fab-bio-below’

    Yes, please forgive me.

    I implemented an additional use of the author box (extra instance elsewhere), tweaked to control function and appearance.

    Somehow the version I copied (from somewhere?) had the flaw, apart from me changing the ID.

    I am retracing my steps now to find where I copied it from.

    Will reply when I can find more details.

    OK, I checked and found the following:

    On my added instance, these two div statements both work:

    <div class="ts-fab-tab" id="ts-fab-bio-below">

    <div id="author-profile-bio-below" class="ts-fab-tab" style="display: block;">

    …because the class gets most or all of the needed CSS treatment.

    Somehow (I have no idea how) I got the latter written as

    <div id="author-profile-bio-below" class="ts-fab-tab" style="display: block;" </div>

    …which was interpreted as synonymous with

    <div id="author-profile-bio-below" class="ts-fab-tab" style="display: block;">

    Again, please forgive me. I failed to notice I was looking at a flaw in my added instance, and thought I was seeing it in the original code.

    I still cannot find were I copied it from. Anyhow, problem solved. So sorry to have troubled you needlessly.

    Plugin Author Slobodan Manic

    (@slobodanmanic)

    Hey, no worries at all, we all make mistakes.

    Honestly, I’m happy to have people like you use our plugin. Not afraid of tweaking it and “poking the box”. Anytime you need help, feel free to ask.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin code – div not closed. What's up with that?’ is closed to new replies.