How to display Rate module widget by php I'm using the Page Manager (Panel) to customize the node layout, and the Rate module to rate them.

How to print the rating widget of the current node using php ? 

I've tried to use this code but no result.

&lt;?php  print rate_embed($node, 'page_rating', RATE_FULL);  ?&gt;
print rate_embed($node, 'plus1', RATE_FULL);

Here, first parameter($node) is the entity where you want to vote
'plus1' is the type of widget that you want to add
RATE_FULL is the display type of widget . Either it can be full or mini.

Try by passing $node =node_load(10). Where 10 is id of some node that exists in the site

Hope it will help