How can I post exact same post but with a few things changed? (with some sort of Automation)

I wanna duplicate some of my posts but want to change a few variables. For example, I would just like to make some varia

I wanna duplicate some of my posts but want to change a few variables. For example, I would just like to make some variable in my posts that will be changed every time I give inputs. These can be links or one word changes in post title or somewhere in post. How can I do it? (see an example below where XXXX and Y are variables)

Post Title: Hello this is a sample Post with XXXX - Read now!

Body of my post:

Hey this is my post welcome, this is post with XXXX. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dui mi, facilisis quis consequat id, blandit et enim. Nulla viverra tellus elementum ligula vulputate, vel venenatis nisi facilisis. Vivamus in mi eu ipsum molestie bibendum a sed purus. Read more here Y(link).

I wanna duplicate some of my posts but want to change a few variables. For example, I would just like to make some variable in my posts that will be changed every time I give inputs. These can be links or one word changes in post title or somewhere in post. How can I do it? (see an example below where XXXX and Y are variables)

Post Title: Hello this is a sample Post with XXXX - Read now!

Body of my post:

Hey this is my post welcome, this is post with XXXX. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras dui mi, facilisis quis consequat id, blandit et enim. Nulla viverra tellus elementum ligula vulputate, vel venenatis nisi facilisis. Vivamus in mi eu ipsum molestie bibendum a sed purus. Read more here Y(link).

Share Improve this question asked Jun 23, 2019 at 20:44 Suhaib KamranSuhaib Kamran 1
Add a comment  | 

1 Answer 1

Reset to default 2

I would do this using advanced custom fields to setup a field set with X and Y, then build a custom post template where the non-dynamic text is hard coded and us the_field(field_id) function to run a query and pull through your dynamic fields.

I'm not sure what your technical abilities are but that would be how I would do it.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745375953a4624999.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信