പേജ് ബിൽഡർ സാൻഡ്‌വിച്ചിൽ ഇഷ്‌ടാനുസൃത ഷോർട്ട്‌കോഡുകൾ എങ്ങനെ ചേർക്കാം

എഴുതിയത്

ഇൻ

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

ഈ ഉദാഹരണത്തിനായി, മുകളിലുള്ള കോഡ് ലോറം ഇപ്സം (Lorem Ipsum) പ്ലേസ്‌ഹോൾഡർ വാചകത്തിന്റെ ഒരു ഖണ്ഡിക മുഴുവൻ ചേർക്കാൻ നിങ്ങളെ സഹായിക്കുമെന്ന് കരുതുക.

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-ൽ, നിങ്ങളുടെ ഉള്ളടക്ക ഭാഗത്ത് ടൈപ്പ് ചെയ്തുകൊണ്ടോ അല്ലെങ്കിൽ കോപ്പി-പേസ്റ്റ് ചെയ്തുകൊണ്ടോ നേരിട്ട് പേജിലേക്ക് ഷോർട്ട്‌കോഡുകൾ ചേർക്കാൻ കഴിയും.

Shortcodes Ultimate-ൽ നിന്നുള്ള ഒരു ഷോർട്ട്‌കോഡ് ഉപയോഗിച്ച് Page Builder Sandwich ഡെമോ പേജിൽ ഒരു കണ്ടന്റ് ബോക്സ് ചേർത്തുകൊണ്ട് ഞങ്ങൾ താഴെ ഇത് ചെയ്തിട്ടുണ്ട്:

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

ഷോർട്ട്‌കോഡ് മാപ്പിംഗിനെക്കുറിച്ചുള്ള ഞങ്ങളുടെ മുൻ ലേഖനങ്ങളിലൊന്നിൽ നിന്നുള്ള നിർവ്വചനം ഇപ്രകാരമാണ്:

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: