Title: 4bzCore
Author: 4bzthemes
Published: <strong>14 می 2015</strong>
Last modified: 14 سپتامبر 2015

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

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

# 4bzCore

 توسط [4bzthemes](https://profiles.wordpress.org/4bzthemes/)

[دانلود](https://downloads.wordpress.org/plugin/4bzcore.1.0.5.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/4bzcore/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/4bzcore/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/4bzcore/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/4bzcore/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/4bzcore/)

## توضیحات

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

## نصب

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.

## سوالات متداول

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.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“4bzCore” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “4bzCore” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/4bzcore)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/4bzcore/)، [مخزن SVN](https://plugins.svn.wordpress.org/4bzcore/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/4bzcore/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/4bzcore/) مشترک شوید.

## گزارش تغییرات

#### 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

## اطلاعات

 *  نگارش **1.0.5**
 *  آخرین به‌روزرسانی **11 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 3.8 یا بالاتر **
 *  آزمایش‌شده تا **4.3.34**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/4bzcore/)
 * برچسب
 * [contact form](https://fa.wordpress.org/plugins/tags/contact-form/)[featured posts](https://fa.wordpress.org/plugins/tags/featured-posts/)
   [popular posts](https://fa.wordpress.org/plugins/tags/popular-posts/)[recent posts](https://fa.wordpress.org/plugins/tags/recent-posts/)
   [related posts](https://fa.wordpress.org/plugins/tags/related-posts/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/4bzcore/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

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

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/4bzcore/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/4bzcore/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GLMKNUUTRPVT4)