have attached an image with what I am trying to accomplish. Basically what I need is on our single orders page there is a form for the customer to fill out that adds a note to the custom post type "notes" . So they can ask questions to the company if they are logged in. If a manger or admin is logged in it shows a different form that also publishes to the post type notes. Each form takes the title from the current page which is also the order number and adds it to a custom meta box called user_number. That way the note can be attached to that particular order.
So I need a custom query that does two different things. The first is it only shows notes on the current page where the user_number matches the current page title.
Then in two different sections there will be an additional query that shows either the notes from the customer or the notes from the manager.
Extra $[url removed, login to view] if I can get this done in the next couple of hours. We need this completed TODAY :)
Đã trao cho:
Hi, i will do it and obviously within couple of hours. But dont understand one thing, why you are saving post title rather than post id with the 'notes' post type ? Is you site live now ?