Title: 4bzCore
Author: 4bzthemes
Published: <strong>Mai 14, 2015</strong>
Last modified: Medi 14, 2015

---

Search plugins

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

![](https://s.w.org/plugins/geopattern-icon/4bzcore.svg)

# 4bzCore

 Gan [4bzthemes](https://profiles.wordpress.org/4bzthemes/)

[Llwytho i lawr](https://downloads.wordpress.org/plugin/4bzcore.1.0.5.zip)

 * [Details](https://cy.wordpress.org/plugins/4bzcore/#description)
 * [Reviews](https://cy.wordpress.org/plugins/4bzcore/#reviews)
 *  [Installation](https://cy.wordpress.org/plugins/4bzcore/#installation)
 * [Development](https://cy.wordpress.org/plugins/4bzcore/#developers)

 [Cefnogaeth](https://wordpress.org/support/plugin/4bzcore/)

## Disgrifiad

A collection of shortcodes, widgets, a shortcode builder, multiple featured images,
a related posts module, video and audio embed options, and extra fields for the 
user profile form. Includes Recent Posts, Featured Posts, Popular Posts, Related
Posts, Image Text, Progressbars, Flexslider Slideshow, Contact Info, Contact Form,
Flickr Photos, Facebook Comments, Author Bio, and Column shortcodes and widgets.

This plugin provides filters for theme and plugin authors to override or augment
the default shortcodes and widgets’ options, display, and description. 4bzthemes
recommends the 4bzCore plugin for all of their themes.

You can find [docs](http://4bzthemes.com/knowledgebase/), and more detailed information
on [4bzthemes.com](http://4bzthemes.com/plugin/4bzcore).

If you have any questions about 4bzCore, consult the following in this order:

 1. [Docs](http://4bzthemes.com/knowledgebase/
 2. [Support Forum] (https://wordpress.org/support/plugin/4bzcore) on WordPress.org.

### Translators

4bzCore needs translations. If you have created or updated a language pack, you 
can send [gettext PO and MO files](https://codex.wordpress.org/Translating_WordPress)
to [4bzthemes](http://4bzthemes.com/about/) so that it can be bundled into the plugin.

### Report a bug

You can report any bugs through the [Support Forum](https://wordpress.org/support/plugin/4bzcore)
on WordPress.org.

### Credits

## Gosod

The plugin is available for download from the WordPress.org repository. Here are
two ways to install the plugin:

#### Upload a saved zip file

Navigate to Plugins from the admin sidebar, click the “Add New” button.
 Click the“
Upload Plugin” button, click the “Choose File” button, navigate to the location 
where you saved the plugin, click Open, then click the “Install Now” button. Activate
the plugin.

#### Search for the plugin

Navigate to Plugins from the admin sidebar, click the “Add New” button.
 Enter the
plugin’s name in the search box and press enter on your keyboard. The search results
will be displayed below, find the plugin and click the “Install Now” button. Activate
the plugin.

## Cwestiynau Cyffredin

If you have any questions about 4bzCore, consult the following in this order:

 1. [Docs](http://4bzthemes.com/knowledgebase/)
 2. [Support Forum] (https://wordpress.org/support/plugin/4bzcore) on WordPress.org.

  How do I display multiple featured images in a theme that doesn’t natively support
this plugin?

4bzCore provides a function to retrieve the post meta data, which includes the featured
images, video/audio embed, and the related posts ids. Here is the suggested code
to use:

    ```
    global $fourbzcore_plugin;
    if ( isset( $fourbzcore_plugin ) && method_exists( $fourbzcore_plugin, 'get_post_meta' ) ) {
        $your_variable = $fourbzcore_plugin->get_post_meta( $post_id /* optional */ );
    }
    ```

Here is the structure of the array:

    ```
    array( 
        // featured images.
        'media' => array(
            array (
                'url' => string,
                'alt_text' => string,
                'width' => int,
                'height' => int,
            )
        ),
        // video/audio iframe embed code.
        'media_embed' => array (
            'code' => string,
        ),
        // related posts ids.
        'related' => string,
    )
    ```

Note that the default wordpress featured image is not included in this array. You
have to retrieve this through wordpress functions, such as get_the_post_thumbnail.

  How do I display the extra user profile fields in a theme that doesn’t natively
support this plugin?

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,
    )
    ```

  The featured posts shortcode/widget displays all of my posts, why?

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.

## Adolygiadau

There are no reviews for this plugin.

## Contributors & Developers

“4bzCore” is open source software. The following people have contributed to this
plugin.

Cyfranwyr

 *   [ 4bzthemes ](https://profiles.wordpress.org/4bzthemes/)

[Translate “4bzCore” into your language.](https://translate.wordpress.org/projects/wp-plugins/4bzcore)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/4bzcore/), check out
the [SVN repository](https://plugins.svn.wordpress.org/4bzcore/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/4bzcore/) by [RSS](https://plugins.trac.wordpress.org/log/4bzcore/?limit=100&mode=stop_on_copy&format=rss).

## Cofnod Newid

#### 1.0.5

 * Updated: updated all widgets classes to use WP_Widget::__construct().

#### 1.0.3

 * Fixed: save_postdata function.

#### 1.0.2

 * Updated: minor css changes.
 * Fixed: flexslider javascript to target only 4bzcore slideshows in front-end.js
   file.

#### 1.0.1

 * Fixed: register the plugin’s admin script to make it available to theme and plugin
   authors.
 * Updated: changed the enqueue script code to not require jquery-ui-tabs and wp-
   color-picker for the plugin’s admin script.

#### 1.0.0

 * Initial Release

## Meta

 *  Version **1.0.5**
 *  Last updated **11 blynedd yn ôl**
 *  Active installations **10+**
 *  WordPress version ** 3.8 neu uwch **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/4bzcore/)
 * Tags
 * [contact form](https://cy.wordpress.org/plugins/tags/contact-form/)[featured posts](https://cy.wordpress.org/plugins/tags/featured-posts/)
   [popular posts](https://cy.wordpress.org/plugins/tags/popular-posts/)[recent posts](https://cy.wordpress.org/plugins/tags/recent-posts/)
   [related posts](https://cy.wordpress.org/plugins/tags/related-posts/)
 *  [Advanced View](https://cy.wordpress.org/plugins/4bzcore/advanced/)

## Graddau

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/4bzcore/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/4bzcore/reviews/)

## Cyfranwyr

 *   [ 4bzthemes ](https://profiles.wordpress.org/4bzthemes/)

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](https://wordpress.org/support/plugin/4bzcore/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GLMKNUUTRPVT4)