Download the PHP package godaddy/wp-contact-widgets without Composer

On this page you can find all versions of the php package godaddy/wp-contact-widgets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-contact-widgets

Contact Widgets

Contributors: godaddy, jonathanbardo, fjarrett, eherman24
Tags: widget, contact, social, [social icons](https://wordpress.org/plugins/tags/social icons/), [social media](https://wordpress.org/plugins/tags/social media/), facebook, twitter, instagram, linkedin, pinterest
Requires at least: 4.4
Tested up to: 5.7
Stable tag: 1.6.2
License: GPL-2.0
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Beautifully display social media and contact information on your website with these simple widgets.

Build Status License PHP >= 5.4 WordPress >= 4.4

Description

Note: This plugin requires PHP 5.4 or higher

Beautifully display social media and contact information on your website with simple, easy-to-use widgets.

Play video on YouTube

Contact Information

Display your contact information including email address, phone number, fax and physical address (including a map).

Social Media Profiles

Display your social media profiles in an attractive, intuitive way.

30 Languages Supported

English - Dansk - Deutsch - Ελληνικά - Español - Español de México - Suomi - Français - हिन्दी - Bahasa Indonesia - Italiano - 日本語 - 한국어 - मराठी - Bahasa Melayu - Norsk bokmål - Nederlands - Polski - Português do Brasil - Português - Русский - Svenska - ไทย - Tagalog - Türkçe - Українська - Tiếng Việt - 简体中文 - 香港中文版 - 繁體中文

Support

If you run into a problem, post your question in the plugin support forum and we would be happy to help. Remember, the more information you can provide up-front, the easier it is for us to verify the problem and the faster we can help!

Contributing

Development of this plugin is done on GitHub. If you believe you have found a bug, or have a killer feature idea, please open a new issue there. Pull requests on existing issues are also welcome!

Screenshots

  1. Contact widget
  2. Social widget
  3. Twenty Sixteen theme showing both widgets
  4. Social widget block settings and icons
  5. Contact widget block settings
  6. Contact widget block rendered

Frequently Asked Questions

How do I add additional fields to the Contact Information widget?

Adding additional fields to the Contact Information widget is as simple as adding a WordPress filter.

Here is an example:

add_filter( 'wpcw_widget_contact_custom_fields', function ( $wpcw_fields, $instance ) {

  $wpcw_fields['cellphone'] = [
    'order'       => 2,
    'label'       => __( 'Cellphone:', 'YOURTEXTDOMAIN' ),
    'type'        => 'text',
    'description' => __( 'A cellphone number that website visitors can call if they have questions.', 'YOURTEXTDOMAIN' ),
  ];

  return $wpcw_fields;

}, 10, 2 );

How do I add additional fields to the Social Media Profiles widget?

The Social Media Profiles widget requires a different set of options but follows the same principle as above.

Here is an example:

add_filter( 'wpcw_widget_social_custom_fields', function ( $wpcw_fields, $instance ) {

  $wpcw_fields['scribd'] = [
    'icon'      => 'scribd', // See font-awesome icon slug
    'label'     => __( 'Scribd', 'YOURTEXTDOMAIN' ),
    'default'   => 'https://www.scribd.com/username',
    'select'    => 'username',
    'sanitizer' => 'esc_url_raw',
    'escaper'   => 'esc_url',
    'social'    => true,
    'target'    => '_blank',
  ];

  return $wpcw_fields;

}, 10, 2 );

If using Font Awesome v5, 'solid' & 'regular' icons require a 'prefix' value when defining the custom icon. If excluded, the default prefix added to icons is 'fab', for the Font Awesome brand icons. If you are adding an icon that is not a brand icon, you will need to add a prefix. For example, if you wanted to add a graduation cap icon you would need to add 'prefix' => 'fas' to the attributes array.

Here is an example of adding a 'fas' (Solid) icon to the social profiles.

add_filter( 'wpcw_widget_social_custom_fields', function ( $wpcw_fields, $instance ) {

  $wpcw_fields['lattes'] = [
    'icon'      => 'graduation-cap', // See font-awesome icon slug
    'prefix'    => 'fas', // See font-awesome icon prefix
    'label'     => __( 'Service Name', 'YOURTEXTDOMAIN' ),
    'default'   => 'https://example.com/username',
    'select'    => 'username',
    'sanitizer' => 'esc_url_raw',
    'escaper'   => 'esc_url',
    'social'    => true,
    'target'    => '_blank',
  ];

  return $wpcw_fields;

}, 10, 2 );

Where are the Font Awesome files served from?

Out of the box the Font Awesome files are bundled in Contact Widgets and served locally. However, we have included a filter to allow Font Awesome files to be loaded from MaxCDN.

To force the plugin to load the files from MaxCDN you can return a true value in the filter wpcw_social_icons_use_cdn.

add_filter( 'wpcw_social_icons_use_cdn', '__return_true' );

Changelog

1.7.0 - February 20th, 2018

1.6.2 - February 20th, 2018

1.6.1 - December 9th, 2018

Props @EvanHerman

1.6.0 - December 6th, 2018

Props @EvanHerman

1.5.2 - June 18, 2018

Props @EvanHerman

1.5.1 - June 14, 2018

Props @EvanHerman

1.5.0 - May 31, 2018

Props @EvanHerman, @fjarrett, @salvoventura, @garrett-eclipse

1.4.1 - February 13, 2017

Props @jonathanbardo, @fjarrett

1.4.0 - January 10, 2017

Props @fjarrett, @jonathanbardo, @EvanHerman

1.3.3 - October 14, 2016

Props @jonathanbardo

1.3.2 - August 16, 2016

Props @jonathanbardo, @fjarrett

1.3.1 - June 3, 2016

Props @jonathanbardo, @fjarrett, @salvoventura

1.3.0 - May 19, 2016

Props @jonathanbardo, @fjarrett

1.2.0 - April 12, 2016

Props @jonathanbardo, @fjarrett

1.1.0 - March 15, 2016

Props @jonathanbardo, @fjarrett

1.0.4 - March 9, 2016

Props @jonathanbardo

1.0.2 - February 24, 2016

Props @jonathanbardo

1.0.1 - February 24, 2016

Props @jonathanbardo

1.0.0 - February 23, 2016

Props @jonathanbardo, @fjarrett


All versions of wp-contact-widgets with dependencies

PHP Build Version
Package Version
Requires codeception/codeception Version *
phpunit/phpunit Version ^5
se/selenium-server-standalone Version ^3.12
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package godaddy/wp-contact-widgets contains the following files

Loading the files please wait ....