Have several button types
-
Hi all,
The plugin is great, and thanks again for the hard work. However, i need a specific things I can’t do, I think I guess why.
My Need :
I need to have several favorites buttons type. After having a look to the documentation and the plugin code, I saw important things to keep are the button classes and the different attributes like “postid”.
Issue :
I want to remove all tags and text and fill it as I need. I thought I could using php and replace function over the get_favorite_button function, but after severals tests, I found out that button where generated by javascript.
Work Around
Currently, I found a work around using a js script which use empty() jquery function 1 seconds after the page loads (1 sec in order to let the plugin javascript generates buttons)
I may miss something, else, if anybody has a better solution, I am interested in ??
Thanks.
- The topic ‘Have several button types’ is closed to new replies.