=== Message to Author ===
Contributors: pathusutariya,codelab7
Tags: messages, author, feedback to author, inquiry to seller, message to author
Donate link: paypal.me/pathusutariya
Requires at least: 4.7
Tested up to: 6.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses

Message to Author allows users to message to the author of the post, products, page or any custom posts. Which can be useful to give feedback about particular post to an author of the post, directly from the post. We can use it for Job posting, product inquiry, news/post feedback etc.

== Description ==

**Message to Author** is a WordPress plugin that allows users to message author of the post/CPT/page directly.

This can be helpful to set up catalogs to ask for inquiry, and specially when handling multiple blog/magazine with multiple author. User can send messages to  author regarding any obligations of content.

**Features**:

- All message's log into admin panel, Author will only see messages for them.
- Option to send message only for registered users or visitor or both
- Can be used as an internal messaging system

The Plugin offers 2 layouts:  *Message box, Pop up* and 3 Styles for your websites


You can help contribute your code here: https://github.com/pathusutariya/message-to-author

**USER INSTRUCTION**

1. You can put a Message-box anywhere in content with shortcode `[message2author]` Or in php file with `<?php echo do_shortcode("[message2author]"); >`. 
2. You can pass few preset to have various layouts like `[message2author title="{Title of form}" button_label="{label text of button}"  layout="{messagebox|popup}" style="{theme|style1|style2}"]`
3. Or you can simply elect the option **Show after post?** and it will inject after every Post's content
4. Author can also show on their Dashboard. Use this shortcode: `[allmessage2author]` Or in php file with `<?php echo do_shortcode("[allmessage2author]"); ?>`

== Installation ==
From your WordPress dashboard:

- Visit \Plugins > Add New\
- Search for \Message to Author\
- Activate Message to author from your Plugins page.

From WordPress.org

- Download Message to Author.
- Upload the `\message-to-author\ ` directory to your `/wp-content/plugins/ ` directory, using your favorite method (ftp, sftp, scp, etc...)
- Activate message-to-author from your Plugins page.

== Screenshots ==

1. Message Box with preset 
2. Admin settings
3. Popup with theme default styling
4. Messages in admin panel

== Changelog ==

1.0.0
the plugin is created with very basic functionality-

1.0.1
Error Solving and make it error free

2.0.0
Remove front-end message display by shortcode

2.1.0
Adding Google Captcha form

2.2.0
Change into description

3.0.1
Change into Standard plugin flow

4.0.0
- Complete new version of plugin.
- Bootstraping future updates.

4.0.2
- Resolved. White screen while sending message
- Testing with WordPress 5.6