A
A
Alexander Balashov2017-02-12 13:46:09
PHP
Alexander Balashov, 2017-02-12 13:46:09

How to make many posts on dle/wordpress?

In general, the situation is like this. There are many folders with pictures. The folder name contains a keyword that should be in the title, inside, respectively, the picture. It is necessary to somehow make sure that the key is parsed into the title, and pictures into the content. It needs to be done on wp or dle. I'm just asking for advice on how to do this. An example of such a site: metinvest.biz
ps Or you can give advice on how to make a site like this. There is a list of keys, you need to parse the pictures and send them to the article

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vsbeats, 2017-02-12
@vsbeats

Well, write a console script that will go through the folders and create all these posts based on the folder structure.
On wp it's easy. You just need to be able to use the basic functions of php to work with the file system. And then the WP functions to help you. Here is a very good WP site, I advise - https://wp-kama.ru/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question