{"id":38619,"date":"2015-09-04T15:04:11","date_gmt":"2015-09-04T15:04:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-company-info\/"},"modified":"2018-03-27T22:45:44","modified_gmt":"2018-03-27T22:45:44","slug":"wp-company-info","status":"closed","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/wp-company-info\/","author":13323524,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.9.0","stable_tag":"1.9.0","tested":"4.9.29","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"WP Company Info","header_author":"Brianna Deleasa","header_description":"","assets_banners_color":"","last_updated":"2018-03-27 22:45:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=9AJYKL3BHB6RS&lc=US&item_name=WP%20Company%20Info%20Wordpress%20Plugin&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wp-company-info","header_author_uri":"http:\/\/briannadeleasa.com","rating":0,"author_block_rating":0,"active_installs":40,"downloads":4291,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.1.0","1.1.1","1.2.0","1.3.0","1.3.1","1.4.0","1.5.0","1.6.1","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.8.0","1.8.1","1.8.2","1.8.3","1.8.5","1.8.6","1.8.7","1.9.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1092,11974,5642,68121,13088],"plugin_category":[],"plugin_contributors":[82437],"plugin_business_model":[],"class_list":["post-38619","plugin","type-plugin","status-closed","hentry","plugin_tags-contact-info","plugin_tags-contact-information","plugin_tags-social-links","plugin_tags-social-network-links","plugin_tags-social-network-widget","plugin_contributors-bdeleasa","plugin_committers-bdeleasa"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-company-info.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows you to specify various company information such as a logo, favicon, and various contact information.  There are various shortcodes and template tags available for outputting the information.  See the FAQ for the available shortcodes and template tags.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>wp-company-info<\/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>Input the branding information by going to Settings &gt; Branding.<\/li>\n<li>Input your contact information by going to Settings &gt; Contact Information.<\/li>\n<li>Input your social network links by going to Settings &gt; Social Network Links.<\/li>\n<li>See the FAQ for instructions on outputting all of the branding, contact information and social networks.<\/li>\n<li>That's it! :)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the <code>wp-company-info<\/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>Input the branding information by going to Settings &gt; Branding.<\/li>\n<li>Input your contact information by going to Settings &gt; Contact Information.<\/li>\n<li>Input your social network links by going to Settings &gt; Social Network Links.<\/li>\n<li>See the FAQ for instructions on outputting all of the branding, contact information and social networks.<\/li>\n<li>That's it! :)<\/li>\n<\/ol><\/dd>\n<dt>How do I embed the logo I uploaded?<\/dt>\n<dd><p>Using the <code>[logo]<\/code> shortcode will output the image uploaded via the Branding settings page.  There is one <code>size<\/code> parameter available for this shortcode:<\/p>\n\n<pre><code>[logo size=\"thumbnail\"]\n<\/code><\/pre>\n\n<p>The size parameter refers to a registered Wordpress image size.  The default size is \"medium\".<\/p><\/dd>\n<dt>How do I embed the contact information?<\/dt>\n<dd><p>This plugin provides various shortcodes for outputting the contact information. The default shortcodes available are as follows:<\/p>\n\n<ul>\n<li>Address: [address] OR [address field=\"address-1|address-2|city|state|zip\"]<\/li>\n<li>Phone Number: [phone]<\/li>\n<li>Fax Number: [fax]<\/li>\n<li>Email address: [email]<\/li>\n<li>Social Links: [social-networks class=\"class-name-here\" icons=\"true|false\" size=\"lg|2x|3x|4x|5x\" square=\"true|false\" styles=\"true|false\"]<\/li>\n<\/ul>\n\n<p>You may also specify additional contact information as well.  A shortcode will be created for each of the additional fields you add via the options page.  To output that additional field, use the ID you specified as a shortcode.  For example, if the ID you specified is <code>cell-phone<\/code>, the shortcode created would be <code>[cell-phone]<\/code>.<\/p><\/dd>\n<dt>Are there any template tags available?<\/dt>\n<dd><p>Yes, there are!  Here are a list of the available template tags:<\/p>\n\n<p><strong><code>wpci_get_option( $key )<\/code><\/strong><\/p>\n\n<p>Returns the value for the specific key\/field.<\/p>\n\n<p><strong><code>wpci_has_option( $key )<\/code><\/strong><\/p>\n\n<p>Checks whether the value for the specific key\/field exists.<\/p>\n\n<p><strong><code>wpci_the_option( $key )<\/code><\/strong><\/p>\n\n<p>Outputs the value for the specific key\/field.<\/p>\n\n<p><strong><code>wpci_get_logo( $size = 'full', $icon = NULL, $atts = NULL, $src = false )<\/code><\/strong><\/p>\n\n<p>Outputs the logo.  The first 3 parameters are the same parameters as the wp_get_attachment_image function. The last parameter controls whether an <code>&lt;img&gt;<\/code> tag is returned, or if the actual image URL is returned.<\/p>\n\n<ul>\n<li>$size = Image size. Either a string keyword (thumbnail, medium, large or full) or a 2-item array representing width and height in pixels, e.g. array(32,32).<\/li>\n<li>$icon = Use a media icon to represent the attachment.  Default is false.<\/li>\n<li>$atts = Query string or array of attributes.<\/li>\n<li>$src = Whether to return the full <code>&lt;img&gt;<\/code> tag or just the URL to the image.<\/li>\n<\/ul>\n\n<p><strong><code>wpci_the_logo( $size = 'full', $atts = NULL )<\/code><\/strong><\/p>\n\n<p>Outputs the logo as an <code>&lt;img&gt;<\/code> tag.   Parameters are as follows:<\/p>\n\n<ul>\n<li>$size = Image size. Either a string keyword (thumbnail, medium, large or full) or a 2-item array representing width and height in pixels, e.g. array(32,32).<\/li>\n<li>$atts = Query string or array of attributes.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>= 1.9.0<\/p>\n\n<ul>\n<li>Replacing the old CMB address class with an updated one that includes support for international addresses.<\/li>\n<li>Making the address field international by supporting countries.<\/li>\n<li>Adding support for the new country field in the address shortcode.<\/li>\n<\/ul>\n\n<h4>1.8.9<\/h4>\n\n<ul>\n<li>Updating CMB2 to the latest version.<\/li>\n<\/ul>\n\n<h4>1.8.7<\/h4>\n\n<ul>\n<li>Fixing an issue with the social links outputting all links even if the URL wasn't filled in.<\/li>\n<\/ul>\n\n<h4>1.8.6<\/h4>\n\n<ul>\n<li>Fixing the placement of commas in the address shortcode to remove extra commas.<\/li>\n<\/ul>\n\n<h4>1.8.5<\/h4>\n\n<ul>\n<li>Only including the address field if another plugin didn't already register a CMB2 address field.<\/li>\n<\/ul>\n\n<h4>1.8.4<\/h4>\n\n<ul>\n<li>Adding support for adding classes to the phone number link.<\/li>\n<\/ul>\n\n<h4>1.8.3<\/h4>\n\n<ul>\n<li>Adding the $output variable to fix an 'undefined variable' PHP notice.<\/li>\n<\/ul>\n\n<h4>1.8.2<\/h4>\n\n<ul>\n<li>Adding a new pencil icon as an option.<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Adding nofollow to the social links output.<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Adding support for links in custom contact shortcodes.<\/li>\n<\/ul>\n\n<h4>1.7.7<\/h4>\n\n<ul>\n<li>Fixing issue with the email link not being outputted properly when the schema tags are active.<\/li>\n<\/ul>\n\n<h4>1.7.6<\/h4>\n\n<ul>\n<li>Adding schema tags around the email address if schema tags are enabled.<\/li>\n<\/ul>\n\n<h4>1.7.5<\/h4>\n\n<ul>\n<li>Adding a schema tag around the site name if the schema tags are being used.<\/li>\n<li>Fixing an issue with the address field getting broken because of renamed functions.<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>Updating address function prefixes again.<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>Updating the function prefixes for the address field functions.<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>Renaming the shortcode date function.<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Updating the changelogs.<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Adding a new class for creating generic shortcodes.<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Making sure a comma appears after the address line 1 in the unformatted shortcode output.<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Adding two new shortcodes: one for outputting the site name and another for outputting the site description.<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Adding a widget that outputs the custom logo uploaded by the user.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Changing the customizer control from an image control to a media control so it saves the attachment ID instead of a URL.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixing an issue with the address shortcode when not using any formatting.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Adding Instagram to the list of social network options.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Removing the wpautop reordering function because it interferes with the Gravity Forms shortcode output.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Modifying the schema tags for the address so it uses a span tag instead of a div tag.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Adding support for showing addresses not formatted (on one line).<\/li>\n<li>Adding a function that moves wpautop priority higher so shortcodes used within page\/post content are formatted with paragraphs and line breaks.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Adding a missing constant that was causing some PHP warnings and an issue with the social network links widget.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial version of the official Wordpress plugin.<\/li>\n<\/ul>","raw_excerpt":"Allows you to input information specific to the company\/website such as a logo image, address, phone number and social network links.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/38619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=38619"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bdeleasa"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=38619"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=38619"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=38619"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=38619"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=38619"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=38619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}