Docs    Facebook    Customizations

Change text of Facebook post Call-To-Action buttons

By default, the plugin uses the text provided by the Facebook API, but this can be changed by adding the following JavaScript to your site. This can be done manually using a custom JavaScript plugin. For further information see our documentation here.

$('.cff-cta-link a').each(function(){
  if( $(this).text() == 'Book Travel' ) $(this).text('Book Now');

This will change the button text “Book Travel” to be “Book Now”, for example.


Couldn’t find your answer in the docs?

Contact Support

Was this article helpful?