我有一个自定义帖子类型。在每个CPT条目上,我都有一个新闻提要。我希望新闻提要从当前的帖子类型中提取博客帖子。
例如CPT页面是“圣诞节”,因此我需要提要来插入“圣诞节”分类的帖子,依此类推。我可以毫无问题地插入单个类别,我的重点是使它起作用,以便页面知道插入其自己的类别。就是然后,“春天”就会知道要拉它自己的“春天”猫。
我正在建立一个当前使用主题的网站,因此需要将其与短代码配合使用-我非常了解这种事情和学习!谢谢
我正在使用的当前代码:
{
"name": "Trigger_Copy_Transactions",
"properties": {
"annotations": [],
"runtimeState": "Started",
"pipeline": {
"pipelineReference": {
"referenceName": "Copy_Transactions",
"type": "PipelineReference"
},
"parameters": {
"windowStart": "@trigger().outputs.windowStartTime"
}
},
"type": "TumblingWindowTrigger",
"typeProperties": {
"frequency": "Hour",
"interval": 24,
"startTime": "2020-08-24T02:00:00Z",
"delay": "00:00:00",
"maxConcurrency": 50,
"retryPolicy": {
"intervalInSeconds": 30
},
"dependsOn": []
}
}
}