શોર્ટકોડ પૂર્વાવલોકન બ્લોક

વર્ણન

Normal WordPress blocks do not show how a shortcode will look on the front end. This block renders the shortcode in the editor so you can check the result without opening the front end.

How to use

  1. Add the Shortcode with Preview block.
  2. Enter a shortcode, for example [gallery].
  3. The preview below the field shows the rendered output.

બ્લોક્સ

આ પ્લગિન 1 બ્લોક આપે છે.

  • Shortcode with Preview Shows a preview of any shortcode in the editor. It renders the shortcode on the editor side so you do not need to view the front end to see the result.

સ્થાપન

  1. Upload the plugin files to /wp-content/plugins/shortcode-with-preview-block, or install it through the Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Edit a post or page and insert the Shortcode with Preview block.

એફએક્યુ (FAQ)

Does this replace the core Shortcode block?

No. Use this block when you want to see the rendered shortcode while editing.

Which WordPress version does this require?

WordPress 6.3 or newer, and PHP 7.2 or newer. It is tested with WordPress 7.1.

સમીક્ષાઓ

જાન્યુઆરી 14, 2021
It makes creating layout for complex pages and e.g. shortcodes for images referenced from DAM much easier!
ઓગસ્ટ 12, 2020 1 reply
Tested with NEXTGEN Gallery shortcodes that insert a pic…if I do "float right", it doesn't wrap text around this block nor does it centre if I float center. It shows a good preview that the regular editor doesn't, but it also means it is embedded within a block with extra controls on it. P.
3 સમીક્ષાઓ વાંચો

ફાળો આપનાર & ડેવલપર્સ

આ ઓપન સોર્સ સોફ્ટવેર છે. નીચેના લોકો એ આ પ્લગિન માટે ફાળો આપ્યો છે.

ફાળો આપનારા

“શોર્ટકોડ પૂર્વાવલોકન બ્લોક” નું 2 ભાષામાં અનુવાદ કરવામાં આવ્યું છે. તેમના યોગદાન માટે અનુવાદકો આપનો આભાર.

“શોર્ટકોડ પૂર્વાવલોકન બ્લોક” ને તમારી ભાષામાં અનુવાદ કરો.

વિકાસમાં રસ ધરાવો છો?

કોડ બ્રાઉઝ કરો, જોવોઅસ્વીએન રેપોઝિટરીમાંથી,અથવા સબ્સ્ક્રાઇબ કરોડેવલપમેન્ટ દ્વારાઆરઅસઅસ.

ચેન્જલૉગ

1.1.0

  • Tested with WordPress 7.1.
  • Register the block from block.json as apiVersion 3 so it loads in the current block editor.
  • Load the editor script with the block editor and server-side render dependencies it uses.
  • Keep sidebar shortcode text as plain text so markup is not saved into the shortcode.

1.0.0

  • Initial release.