开发者 | 4bzthemes |
---|---|
更新时间 | 2015年9月14日 21:12 |
捐献地址: | 去捐款 |
PHP版本: | 3.8 及以上 |
WordPress版本: | 4.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
If you have any questions about 4bzCore, consult the following in this order:
4bzCore provides a function to retrieve the user meta data, which includes the user avatar, title, address, phone number, social share links, and skills. Here is the suggested code to use: global $fourbzcore_plugin; if ( isset( $fourbzcore_plugin ) && method_exists( $fourbzcore_plugin, 'get_user_meta' ) ) { $your_variable = $fourbzcore_plugin->get_user_meta( $user_id / optional / ); } Here is the structure of the array: array( // Title 'title' => string, // Contact info 'contact_address' => string, 'contact_phone' => string, 'contact_facebook' => string, 'contact_twitter' => string, 'contact_google' => string, 'contact_linkedin' => string, 'contact_instagram' => string, 'contact_tumblr' => string, 'contact_pinterest' => string, // Skills 'items' => array, // Avatar 'avatar' => string, 'avatar_width' => int, 'avatar_height' => int, 'avatar_alt' => string, )
This shortcode/widget displays sticky posts, and if there are no sticky posts to display, it defaults to display recent posts. So, if there is no limit set and there are no sticky posts, then this shortcode/widget will display all posts. This is not a bug, but the default behaviour.