Support » Plugins and Hacks » [Resolved] HTML of like button after clicking like

[Resolved] HTML of like button after clicking like

  • Hi:-)

    After clicking like, when number changes, HTML of like button changes from

    <a title="Recommend this" id="dot-irecommendthis-150" class="dot-irecommendthis" href="#"><span class="dot-irecommendthis-count">29</span> <span class="dot-irecommendthis-suffix"></span></a>


    <a title="You already recommended this" id="dot-irecommendthis-150" class="dot-irecommendthis active" href="#">29</a>

    After page refresh it is back to normal.
    This change affects my custom styling.

    By the way – Great job on developing this plugin!
    I am recommending it with my themes:-)

    With regards:-)


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Harish Chouhan


    Thank you for your kind words.

    BTW, can you please share the link to your site so I can take a look. After refresh when the data is no set, it usually would mean the cookie was not generated and the IP was not saved in the backend.


    I can’t provide link for now, and also I can’t recreate this issue right now, but what you wrote sound possible.

    I saw problem when I was adding below code in loop on post list.

    if( function_exists('dot_irecommendthis') ){

    So every post on post list had its own like button. After click, it returned updated number but without HTML.

    You said you know when unformatted response may occur. Is it possible that this answer would be formatted as other? Number is saved after such click so full HTML response should sound logic 😉

    With regards.

    Plugin Author Harish Chouhan


    Hello, I am not sure I understood your last paragraph.

    If the number is updated then the response is working well. The return call back simply updates the number & title and changes adds “action” class to the link.

    Ooo sorry I had to read wrong your answer previously and I thought you know when it is possible that it would remove formatting HTML. I will send you link by private message and please check if after click button will ‘break’ a bit:-) Can you provide me an e-mail address?:-)

    With regards.

    Plugin Author Harish Chouhan


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] HTML of like button after clicking like’ is closed to new replies.