PDA

View Full Version : 20 like buttons on each page - how to write code so that likes are counted seperately



dragnsp1
11-06-2016, 04:58 PM
Hi,

Can someone please tell me how to write the code that I'm inserting so that the buttons on each page register likes separately instead of in unison?

Thanks

dragnsp1
11-06-2016, 05:03 PM
I understand that I should use a unique identifier for each like button using identifier parameter. But I have no idea how to write the code. Can you please give me an example?

support
11-07-2016, 06:41 AM
Hi,

For example, use the following code for the first like button: {likebtn style="drop" identifier="com_k2.item_1" popup_disabled="true"}.

For the second like button use: {likebtn style="drop" identifier="com_k2.item_2" popup_disabled="true"}.