_CallToAction.getBlogCTA( keyword)

Function to get the CTA linked to the current blog.

{% set cta = _CallToAction.getBlogCTA('test') %}

Parameters

ParameterTypeRequiredDescription
keywordstringnoKeyword

Example Response

{
   "id":"3",
   "guid":"d3facf37-7e21-4567-9e72-0ffc18e5f455",
   "title":"Test to cta",
   "description":"Test to cta Test to cta",
   "blog":{
      "id":"1",
      "title":"Wedding Groups"
   },
   "button":{
      "text":"",
      "url":"",
      "backgroundColor":null
   },
   "media":{
      "guid":null,
      "id":null,
      "cloudName":null,
      "path":null
   },
   "backgroundColor":null
}

Response Description

AttributeDescription
idCTA id
guidCTA GUID
titleCTA title
descriptionCTA description
blogBlog details
buttonButton Details
mediaMedia Details
backgroundColorBackground color

Blog Details

AttributeDescription
idBlog ID
titleBlog title

Button Details

AttributeDescription
textButton text
urlButton URL
backgroundColorButton background color

Media Details

AttributeDescription
guidMedia GUID
idCloudinary Media ID
cloudNameCloudinary Cloud name
pathCloudinary Media cloud path