{"id":14533,"date":"2011-08-20T17:32:31","date_gmt":"2011-08-20T17:32:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/contact-us\/"},"modified":"2011-08-21T02:10:38","modified_gmt":"2011-08-21T02:10:38","slug":"contact-us","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/contact-us\/","author":8242606,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6","stable_tag":"1.6","tested":"3.2.1","requires":"2.8.2","requires_php":"","requires_plugins":"","header_name":"Contact Us","header_author":"EON Media Group","header_description":"","assets_banners_color":"","last_updated":"2017-11-28 21:04:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/wordpress.org\/extend\/plugins\/contact\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/contact-us\/","header_author_uri":"http:\/\/eonmediagroup.com","rating":5,"author_block_rating":0,"active_installs":500,"downloads":98510,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1777267","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1777267","resolution":"1","location":"plugin"}},"screenshots":{"1":"The contact us settings page.","2":"The reCaptcha options."}},"plugin_section":[],"plugin_tags":[2360,360,5295,4557,2981],"plugin_category":[39,41,42],"plugin_contributors":[79708],"plugin_business_model":[],"class_list":["post-14533","plugin","type-plugin","status-closed","hentry","plugin_tags-business","plugin_tags-contact","plugin_tags-contact-us","plugin_tags-details","plugin_tags-global","plugin_category-business","plugin_category-communication","plugin_category-contact-forms","plugin_contributors-eonmediagroup","plugin_committers-eonmediagroup"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/contact-us.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/contact-us\/trunk\/screenshot-1.png?rev=1777267","caption":"The contact us settings page."},{"src":"https:\/\/ps.w.org\/contact-us\/trunk\/screenshot-2.png?rev=1777267","caption":"The reCaptcha options."}],"raw_content":"<!--section=description-->\n<p><em>Contact Us<\/em> adds the ability to enter business contact information, business hours, business location, etc and output the details in your posts, pages or templates.<\/p>\n\n<p>Use the shortcode <code>[contact_us type=\"phone\" heading=\"Corporate Phone Number\"]<\/code> to display any of the contact information, or use the function call <code>&lt;?php if (function_exists('contact_us')) { contact_us('phone'); } ?&gt;<\/code>.<\/p>\n\n<p><strong>Shortcode Options:<\/strong><\/p>\n\n<pre><code>* type =&gt; false\n* heading =&gt; ''\n* heading_open_tag =&gt; '&lt;h4&gt;'\n* heading_close_tag =&gt; '&lt;\/h4&gt;'\n* nl2br =&gt; false\n* before =&gt; ''\n* after =&gt; ''\n<\/code><\/pre>\n\n<p>Once you have defined a contact email address, use the shortcode <code>[contact_us type=\"form\"]<\/code> to output the contact form.<\/p>\n\n<p>Thanks to http:\/\/wordpress.org\/extend\/plugins\/profile\/36flavours for \"Contact Details\" plugin<\/p>\n\n<!--section=installation-->\n<p>Here we go:<\/p>\n\n<ol>\n<li>Upload the <code>contact-extended<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Enter you contact information on the options page <code>Settings &gt; Contact Us<\/code>.<\/li>\n<li>Display the information using either the shortcodes or function calls.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>Here we go:<\/p>\n\n<ol>\n<li>Upload the <code>contact-extended<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Enter you contact information on the options page <code>Settings &gt; Contact Us<\/code>.<\/li>\n<li>Display the information using either the shortcodes or function calls.<\/li>\n<\/ol><\/dd>\n<dt>How do I edit my contact information?<\/dt>\n<dd><p>Navigate to the settings page by clicking on <code>Settings<\/code> on the left hand menu, and then the <code>Contact Us<\/code> option.<\/p><\/dd>\n<dt>How do I include the information in my template?<\/dt>\n<dd><p>You can use the following function call to output information in your templates:<\/p>\n\n<pre><code>&lt;?php if (function_exists('contact_us')) { contact_us('fax'); } ?&gt;\n<\/code><\/pre><\/dd>\n<dt>What contact information can I store?<\/dt>\n<dd><p>Current available contact fields are: <code>name<\/code>, <code>phone<\/code>, <code>fax<\/code>, <code>mobile<\/code>, <code>email<\/code>, <code>hours<\/code>, <code>location_address<\/code> and <code>mailing_address<\/code>.<\/p><\/dd>\n<dt>How do you fetch contact information without outputting the value?<\/dt>\n<dd><p>The last parameter passed to <code>contact_us()<\/code> determines whether the value is returned, by setting the value to false.<\/p>\n\n<pre><code>&lt;?php $phone = contact_us('phone', '', '', '', true, '&lt;b&gt;', '&lt;\/b&gt;', false); ?&gt;\n<\/code><\/pre>\n\n<p>The above code will fetch the phone number stored and wrap the response in bold tags.<\/p><\/dd>\n<dt>How can I customize the contact form?<\/dt>\n<dd><p>If you require more customization that cannot be achieved using CSS, you can define your own template file.<\/p>\n\n<p>To do this add the the attribute <code>include<\/code> to the shortcode tag, e.g. <code>[contact type=\"form\" include=\"myfile.php\"]<\/code>.<\/p>\n\n<p>This file should be placed within your theme directory and should include the processing and output of errors.<\/p>\n\n<p>We suggest you use the <code>contact.php<\/code> file used by the plugin as a starting point \/ template.<\/p><\/dd>\n<dt>How do I enable reCaptcha?<\/dt>\n<dd><p>Navigate to the settings page: <code>Settings &gt; Contact Us<\/code> and select to enable the reCaptcha and fill out the appropriate keys.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>Fixed form to validate against W3C<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Fixed readme to reflect rendering<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fixed bugs in the shortcode execution<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Changed to new version number<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added reCaptcha support<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added extra shortcode options<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Added new fields, and converted into a separate plugin<\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>Started new plugin from contact<\/li>\n<\/ul>","raw_excerpt":"Adds the ability to easily enter and display contact information.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14533"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eonmediagroup"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14533"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14533"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14533"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14533"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14533"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}