PTC ShortCodes
Welcome To PTC Shortcodes
Shortcodes are very useful when you want to use html elements that is accessible through text. These codes will convert your inputs into desired outputs.
1. Links
When you are adding a link to your blog post, either you are opening the link on new tab or on the current tab, you are expected to provide something that is useful for the viewers. Such things are the modpacks, game guardian script, battle cats mod or even other useful media files.
If you provided a link that can be open inside the current tab, then use the code below.internal=Your TitleIf you provided a link that can be open outside or external or to another tab, then use the code below.external=Your Title
Example
— I am making a link to a post so I will use an internal link
"internal=Do you want to become Author?"
Then putting a link on that whole code, which is this
https://storehaccounts.blogspot.com/p/become-author.html
The output is shown below.
— I am making an external download link which is for downloading a file. I would write "external=Download Modpack",
then putting a link on the code which is
https://drive.google.com/file/d/1w2AIC52dnt-XlO5s1A2Jc16ussDH3g_B/view?usp=sharing
The output is shown below.
This one is interesting and a kind of common to all of us.. Embedding youtube videos needs you to program with HTML or to use HTML editor and put some HTML tags on it. But with blogger shortcodes, you'll just put the code and boom it will work!
Usage
- It is easy to use!
- First find some youtube video and copy its link. For example: https://www.youtube.com/watch?v=iTE_Z0CEkXI
- Then just put the code "yt" without quotations and highlight that code and put the url.
- Once you view your post, the code "yt" will automatically converted into an embedded iframe containing the youtube video in a fixed aspect ratio.
Output
Nothing Follows.I will make an update regarding this post.
Join the conversation