Title: Blocktree
Author: liorkesos
Published: <strong>Ionawr 11, 2022</strong>
Last modified: Mai 26, 2022

---

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/blocktree.svg)

# Blocktree

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

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

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

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

## Disgrifiad

Manage Back office with Blocktree

This plugin requires:

### Example

Basic markup:

    ```
    echo \Blocktree\Plugin::$instance->get_markup($widget_name, $settings);
    ```

Set a shortcode used blocktree markup:

    ```
    do_shortcode('[blocktree component-name="my_widget_name" value="123" /]');
    ```

Add simple page & sub page used blocktree markup:

    ```
    add_action('admin_menu', function() {

      add_menu_page(
        $page_title,
        $menu_title,
        $capability,
        $menu_slug, 
        function() use ( $widget_name, $settings ) {
          echo \Blocktree\Plugin::$instance->get_markup($component_name, $settings = [], $handler_key);
        },
        $icon_url,
        $position
      );

      add_submenu_page(
        $parent_slug,
        $page_title,
        $menu_title,
        $capability,
        $menu_slug,
        function() use ( $widget_name, $settings ) {
          echo \Blocktree\Plugin::$instance->get_markup($component_name, $settings = [], $handler_key);
        },
        $position
      );

    });
    ```

Elementor widget-render example:

    ```
    class MyElementorWidget extends Widget_Base {

      protected function render() {

        $widget_name = $this->get_name();
        $settings = $this->get_data();

        if ($settings) {
            $settings = $settings['settings'];
        }

        echo \Blocktree\Plugin::$instance->get_markup($component_name, $settings = [], $handler_key);

      }

    }
    ```

## Gosod

 1. Upload the blocktree plugin to the /wp-content/plugins/ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Add widgets files at /wp-admin/options-general.php?page=blocktree

## Adolygiadau

There are no reviews for this plugin.

## Contributors & Developers

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

Cyfranwyr

 *   [ liorkesos ](https://profiles.wordpress.org/liorkesos/)
 *   [ linnovate ](https://profiles.wordpress.org/linnovate/)

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

### Interested in development?

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

## Meta

 *  Version **1.0.0**
 *  Last updated **4 blynedd yn ôl**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 neu uwch **
 *  Tested up to **6.0.14**
 *  Language
 * [English (US)](https://wordpress.org/plugins/blocktree/)
 *  [Advanced View](https://cy.wordpress.org/plugins/blocktree/advanced/)

## Graddau

No reviews have been submitted yet.

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

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

## Cyfranwyr

 *   [ liorkesos ](https://profiles.wordpress.org/liorkesos/)
 *   [ linnovate ](https://profiles.wordpress.org/linnovate/)

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://linnovate.net/)