2017 © Pedro Peláez
 

library wp-profile-box

A library to add profile box for WordPress.

image

inc2734/wp-profile-box

A library to add profile box for WordPress.

  • Friday, July 27, 2018
  • by inc2734
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,110 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 34 % Grown

The README.md

WP Profile Box

CI Latest Stable Version License, (*1)

Install

$ composer require inc2734/wp-profile-box

How to use

<?php
new \Inc2734\WP_Profile_Box\Bootstrap();

// shortcode
[wp_profile_box title="(Optional)" user_id="(Optional)"]

The profile box don't have styles. So you need create CSS for this., (*2)

Support social accounts

  • Twitter
  • X
  • Facebook
  • Instagram
  • Pinterest
  • YouTube
  • Linkedin
  • WordPress
  • Tumblr
  • amazon
  • LINE

Filter hooks

inc2734_wp_profile_box_sns_accounts

/**
 * Customize sns accounts
 *
 * @param $accounts array
 * @return array
 */
add_filter(
    'inc2734_wp_profile_box_sns_accounts',
    function( $accounts ) {
        return $accounts;
    }
);

inc2734_wp_profile_box_avatar_size

/**
 * Customizer avatar size
 *
 * @param $size
 * @return $size
 */
add_filter(
    'inc2734_wp_profile_box_avatar_size',
    function( $size ) {
        return $size;
    }
);

The Versions

13/04 2018

1.1.0

1.1.0.0

A library to add profile box for WordPress.

  Sources   Download

GPL-2.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

04/03 2018

1.0.1

1.0.1.0

A library to add profile box for WordPress.

  Sources   Download

GPL-2.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

04/03 2018

1.0.0

1.0.0.0

A library to add profile box for WordPress.

  Sources   Download

GPL-2.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

30/09 2017

0.1.1

0.1.1.0

A library to add profile box for WordPress.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.6

 

The Development Requires

14/09 2017

0.1.0

0.1.0.0

A library to add profile box for WordPress.

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.6

 

The Development Requires