ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

WordPress Block Patterns Plugin

وضاحت

This plugin contains patterns for you to check out, ranging from a simple text pattern to a more complex pattern containing both images and text.

Create WordPress Block Patterns

Add your block patterns to this plugin

  1. Fork

    https://github.com/Praison/Patterns
    
  2. Clone your new fork locally

    git clone https://github.com/YOUR_USERNAME/Patterns.git
    cd Patterns
    
  3. Connect to original repository https://github.com/Praison/Patterns

    git remote add --track master upstream https://github.com/Praison/Patterns.git
    git fetch upstream
    
  4. Create a new branch for your changes

    git checkout -b YOUR_USERNAME upstream/master
    
  5. Add your block patterns in index.php

    register_block_pattern(
        'praison-gutenberg-block-patterns/TITLE-OF-YOUR-BLOCK-PATTERN',  # Add Hyphens between lowercase words
        array(
            'title'   => __( 'TITLE_OF_YOUR_BLOCK_PATTERN', 'praison-gutenberg-block-patterns' ),
            'content' => "BLOCK_PATTERN_GOES_HERE",
            'categories' => array("CATEGORY"), # eg: columns, text ..etc
        )
    );
    
  6. Add, Commit, Push

    git add .
    git commit -m "Added block pattern TITLE_OF_YOUR_BLOCK"
    git push -u origin YOUR_USERNAME
    
  7. Submit your pull request

تصوير

انسٽاليشن

Steps

  1. Download the zip file
  2. Extract the contents
  3. Upload the folder patterns to your WP plugin folder /wp-content/plugins/ directory
  4. Go to Plugins > Plugins, and activate the plugin

جائزا

واحد: سڀ 1 جائزو پڙهو

تعاون ڪندڙ & ڊولپرز

“WordPress Block Patterns Plugin” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “WordPress Block Patterns Plugin” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

Version 1.0

  • First release