Quantcast
Channel: Topic Tag: plugin | WordPress.org
Viewing all articles
Browse latest Browse all 26892

pavzcap on "automatically duplicate post template changing certain key variables"

$
0
0

Hi All,

I am new to this forum and have just embarked on my wordpress journey.

I was wondering if I could get some help on something I am trying to achieve. I am basically making posts on the FTSE 100 companies, each basic post follows the same generate template for each company, namely:

[su_heading]CompanyName[/su_heading]

[su_button url="http://www.CompanyName.com" target="blank" background="#1f8e2a"]ZDG plc site[/su_button]

[google_news query='"CampanyName"' sort="n"]

Essentially a header for the company, a button linking to their website and a google feed showing the news for the company. Beyond this each post will be tailored.

I was wondering if there is any way that I can automatically generate 100 posts and change the variable 'CompanyName' with a given name from a list, possible via a loop function? I am very new to php and am thinking in terms of VBA which I am far more familiar with. Is anything like this possible? It would save a lot of tedious time rather than copy and pasting manually. Can I build a plugin to do this?

Any help on this issue would be much appreciated. Please ask me any questions if I have not been clear in what I am trying to achieve.

Thank you in advance


Viewing all articles
Browse latest Browse all 26892

Trending Articles