ಪೇಜ್ ಬಿಲ್ಡರ್ ಸ್ಯಾಂಡ್‌ವಿಚ್‌ನಲ್ಲಿ ಕಸ್ಟಮ್ ಶಾರ್ಟ್‌ಕೋಡ್‌ಗಳನ್ನು ಸೇರಿಸುವುದು ಹೇಗೆ

ಬರೆದವರು

ನಲ್ಲಿ

From the word itself, the word shortcode means exactly that: A short code; a shortcut code.

ಡೆವಲಪರ್‌ಗಳು ಸಾಮಾನ್ಯವಾಗಿ ಮಾಡುವಂತೆ ಕೋಡ್‌ನ ದೊಡ್ಡ ತುಣುಕುಗಳನ್ನು ಸೇರಿಸದೆಯೇ, ನಿಮ್ಮ ವೆಬ್‌ಸೈಟ್‌ಗೆ ವಿಷಯಗಳನ್ನು (ಉದಾಹರಣೆಗೆ ವಿಜೆಟ್‌ಗಳು) ಸೇರಿಸಲು ಶಾರ್ಟ್‌ಕೋಡ್‌ಗಳು ನಿಮಗೆ ಅನುಮತಿಸುತ್ತವೆ.

ಉದಾಹರಣೆಗೆ, ಉದ್ದದ ದೃಷ್ಟಿಯಿಂದ, ಸಾಮಾನ್ಯ ಕೋಡ್‌ನ ತುಣುಕು ಬಹುಶಃ ಈ ರೀತಿ ಕಾಣಿಸಬಹುದು:

<html>Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Etiam id aliquam turpis. Vivamus quis arcu tincidunt, finibus urna eget, placerat risus.

Aliquam arcu massa, finibus et lacinia sed, scelerisque nec augue. Quisque eu viverra sapien, vel consequat lorem. Integer vel erat tortor.

Phasellus condimentum magna eget congue venenatis. Suspendisse blandit vehicula consectetur.

Nullam sodales eleifend massa, in bibendum purus fermentum id.

Morbi et turpis feugiat, malesuada ipsum sit amet, interdum nulla. In non ante nec nisl mattis gravida sit amet id lectus.

</html>​

ಈ ಉದಾಹರಣೆಗಾಗಿ, ಮೇಲಿನ ಕೋಡ್‌ನ ತುಣುಕು ಲೊರೆಮ್ ಇಪ್ಸಮ್ ಪ್ಲೇಸ್‌ಹೋಲ್ಡರ್ ಪಠ್ಯದ ಸಂಪೂರ್ಣ ಪ್ಯಾರಾಗ್ರಾಫ್ ಅನ್ನು ಸೇರಿಸಲು ನಿಮಗೆ ಅನುಮತಿಸುತ್ತದೆ ಎಂದು ಭಾವಿಸೋಣ.

Now, a shortcode with the same exact function as the code above will look something like this, in contrast:

[lorem ipsum dolor estat]Lorem Ipsum[/lorem]​

You can see how they’re miles different from each other in terms of length.

ಈಗ ಕೋಡ್‌ನ ಎರಡೂ ತುಣುಕುಗಳನ್ನು ಊಹಿಸಿಕೊಳ್ಳಿ – ಮೂಲ, ದೀರ್ಘವಾದ ತುಣುಕು, ಮತ್ತು ಕೇವಲ “lorem” ಪದವನ್ನು ಒಳಗೊಂಡಿರುವ ಶಾರ್ಟ್‌ಕೋಡ್, ಎರಡೂ ಒಂದೇ ಕೆಲಸವನ್ನು ಮಾಡುತ್ತವೆ: ಲೊರೆಮ್ ಇಪ್ಸಮ್ ಪಠ್ಯವನ್ನು ಸೇರಿಸುವುದು.

This is what shortcodes do. They make adding widgets, functions, and a bunch of other cool stuff easier for both ordinary WordPress users and developers alike.

Where can I find shortcodes?

ನೀವು ನೆಚ್ಚಿನ ಪ್ಲಗಿನ್ ಅಥವಾ ವಿಜೆಟ್ ಹೊಂದಿದ್ದರೆ, ನೀವು ಬಳಸಲು ಅವುಗಳು ಶಾರ್ಟ್‌ಕೋಡ್ ಲಭ್ಯವಿರುವ ಸಾಧ್ಯತೆಯಿದೆ.

Shortcodes Ultimate, for example, will let you choose from hundreds of shortcodes that you can use on Page Builder Sandwich (or anywhere, actually) by simply grabbing the shortcode of your choice from Shortcode Ultimate’s repository or documentation page.

Adding Custom Shortcodes on PBS

Page Builder Sandwich ನಲ್ಲಿ, ನಿಮ್ಮ ವಿಷಯದ ಪ್ರದೇಶದ ಮೇಲೆ ಟೈಪ್ ಮಾಡುವ ಮೂಲಕ ಅಥವಾ ಕಾಪಿ-ಪೇಸ್ಟ್ ಮಾಡುವ ಮೂಲಕ ನೀವು ನೇರವಾಗಿ ನಿಮ್ಮ ಪುಟಕ್ಕೆ ಶಾರ್ಟ್‌ಕೋಡ್‌ಗಳನ್ನು ಸೇರಿಸಬಹುದು.

Page Builder Sandwich ಡೆಮೊ ಪುಟದಲ್ಲಿ ಕಂಟೆಂಟ್ ಬಾಕ್ಸ್ ಅನ್ನು ಸೇರಿಸಲು, Shortcodes Ultimate ನ ಶಾರ್ಟ್‌ಕೋಡ್‌ನೊಂದಿಗೆ ನಾವು ಇದನ್ನು ಕೆಳಗೆ ಮಾಡಿದ್ದೇವೆ:

Another thing you’ll find handy when using Page Builder Sandwich is our Shortcode Mapping feature.

Shortcode Mapping ಕುರಿತಾದ ನಮ್ಮ ಹಿಂದಿನ ಲೇಖನಗಳಲ್ಲಿ ಒಂದರಿಂದ, ವ್ಯಾಖ್ಯಾನವು ಈ ಕೆಳಗಿನಂತಿದೆ:

Shortcode mapping is like letting Page Builder Sandwich memorize all the shortcodes available on your site: their names, descriptions, their attributes, and what each of these attributes do.

ಇದರರ್ಥ ನೀವು ಇನ್ನು ಮುಂದೆ ಆಯಾ ಡಾಕ್ಯುಮೆಂಟೇಶನ್‌ಗಳು ಅಥವಾ ರೆಪೊಸಿಟರಿಗಳಲ್ಲಿ ನಿಮ್ಮ ಶಾರ್ಟ್‌ಕೋಡ್‌ಗಳನ್ನು ಹಸ್ತಚಾಲಿತವಾಗಿ ಹುಡುಕಬೇಕಾಗಿಲ್ಲ.

ನಿಮ್ಮ ವರ್ಡ್‌ಪ್ರೆಸ್ ಸೈಟ್‌ನಲ್ಲಿ ಶಾರ್ಟ್‌ಕೋಡ್ ಒಳಗೊಂಡಿರುವ ಪ್ಲಗಿನ್ ಅನ್ನು ನೀವು ಇನ್‌ಸ್ಟಾಲ್ ಮಾಡಿರುವವರೆಗೆ, Page Builder Sandwich ನಲ್ಲಿ ನೀವು ಬಳಸಲು ಅದು ಸುಲಭವಾಗಿ ಲಭ್ಯವಿರುತ್ತದೆ.

So for example, if I wanted to add a WooCommerce shortcode on my page, all I have to do is make sure that it’s installed on my WordPress site, like so:

And then, to actually add the shortcode, I’ll just go to my page, and drag and drop the Shortcode Element:

Because we already have WooCommerce installed on our WordPress site, you can see that all of the shortcodes that are available on the WooCommerce plugin are already available on Page Builder Sandwich. This is what Shortcode Mapping is.

You can also see on the upper left corner that the ACF (Advanced Custom Fields) and MailChimp shortcodes are available– because we have those instlled on our WordPress site, too.

ಆದ್ದರಿಂದ ನೀವು ಕಸ್ಟಮ್ ಶಾರ್ಟ್‌ಕೋಡ್‌ಗಳನ್ನು ಅಥವಾ ನೀವು ಸ್ವಂತವಾಗಿ ರಚಿಸಿದ ಶಾರ್ಟ್‌ಕೋಡ್‌ಗಳನ್ನು ಸೇರಿಸಲು ಬಯಸಿದರೆ, ನಿಮ್ಮ ವರ್ಡ್‌ಪ್ರೆಸ್ ಸೈಟ್‌ನಲ್ಲಿ ಅವುಗಳನ್ನು ಇನ್‌ಸ್ಟಾಲ್ ಮಾಡಿರುವವರೆಗೆ ನೀವು ಸೇರಿಸಬಹುದು.

Here are some other helpful plugins that you can use to create your own custom shortcodes: