A
A
autost2014-07-07 17:25:09
PHP
autost, 2014-07-07 17:25:09

How to add multiple photos in wordpress comments?

Good evening. There was a question about users uploading photos in comments. The problem is that nothing suited me out of the ready-made solutions, there are plugins for downloading, but only one image. How to implement the desired functionality? You can use a separate button, you can, for example, like here, through a visual editor

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Borisovich, 2014-07-08
@Alexufo

In the press, comments are edited through hooks. In the same place, you can also use a standard press loader if necessary. But there are difficulties with the fact that a lot of code is not for the frontend, but for the admin panel on the network.
First you need to figure out how comments are displayed in general.
codex.wordpress.org/Function_Reference/comment_form
Then figure out how to upload photos. All this is possible, but if you put the question like that and I don’t know if you can do it yourself.
Or immediately use this
https://github.com/rinatkhaziev/wp-frontend-uploader

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question