• Resolved ivan2704

    (@ivan2704)


    I just wondered how to display like button in tag archive loop. I hacked script a little bit so I see like button in category archive loop, but I don’t see it in tag archive page. Anyone? thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ivan2704

    (@ivan2704)

    fixed it myself. I forgot to change template:P

    Do you mind sharing how you hacked it? Does it involve the “if is_archive()” line 235? Thanks.

    Thread Starter ivan2704

    (@ivan2704)

    Yes, I removed !is_archive() form line 235 and I think that I changed the tag templete so it doesn’t show excerpt, but now it shows full content immediately because the plugin puts the like button on the end of the content (which is pulled via the_content function) and not on the end of the excerpt (that is served via the_excerpt funcion).
    Or maybe you could put the like button on the end of the excerpt if you put this in plugin file (this was not tested)
    add_filter('the_excerpt', 'wp_fb_like');
    I hope you understand what I tried to say ??

    Solved it myself after some tinkering. Just removing the !is_archive and !is_search seems to have done it. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress Facebook Like Plugin] displaying like button on tag archive page’ is closed to new replies.