Function to get the CTA linked to the current blog.
{% set cta = _CallToAction.getBlogCTA('test') %}
Parameter | Type | Required | Description |
---|
keyword | string | no | Keyword |
{
"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
}
Attribute | Description |
---|
id | Blog ID |
title | Blog title |
Attribute | Description |
---|
text | Button text |
url | Button URL |
backgroundColor | Button background color |
Attribute | Description |
---|
guid | Media GUID |
id | Cloudinary Media ID |
cloudName | Cloudinary Cloud name |
path | Cloudinary Media cloud path |