A
A
Alexey Chernov2016-05-10 15:33:32
CMS
Alexey Chernov, 2016-05-10 15:33:32

How to display comments like this?

There is a website that lists records of specialists and services.
There is also a comment form, it is one and is located on the page of the general output of reviews.
Specialists are attached to the services through the "record object" field in the admin panel, and displayed on the internal pages of the services.
In the form of reviews, the following fields are: Name, Review itself, and select with a choice of specialists.
It is necessary that when adding a review, it is displayed on the pages of the selected specialist and the services to which it is attached.
How to do it?
Please give a detailed answer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jacksparrow, 2016-05-10
@jacksparrow

Register on the site to search for freelancers.
Compose those assignments.
Offer to perform the task to specialists or wait for their responses.
Agree on payment and terms.
Within the agreed timeframe, you carefully evaluate the work of a specialist and, screwing up your eyes, pay him a fee.

R
Ruslan, 2016-05-10
@rOOse

Hook to insert a comment, like

add_filter( 'wp_insert_comment', 'example_insert_comment' )
function example_insert_comment($comment_id) {
  //code
}

and there specify $comment_post_ID equal to the value from the select, etc.
something like this)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question