Community Discussion

Where does a shortcode live?

October 14, 2017
Lynne Author Level 1

Write the reason you're deleting this FAQ

I know this probably sounds like a strange question, but I had someone add shortcodes to my Wordpress website and now I want to have a look at the code to see if that is the reason that my website won't show the green padlock. I am really struggling with this. Where would I go to find my shortcode? 
10

Comments 10

October 15, 2017
overcast
Existing shortcodes can be found from the WordPress codex. For example [youtube] or [twitter] are existing shortcodes. You can also create your own shortcode inside the wordpress. And add some custom action for the same. Like say buy now button with the affiliate link. That can be easily added to your CMS. So this is possible when you are properly adding the shortcode inside the functions.php file. That's how you can add them.

Here's the page where you can learn more about it.

https://codex.wordpress.org/Shortcode

Enter a reason for deleting this comment

DarthHazard
That file allows you to use the shortcodes, like the ones that were mentioned in the comment above, on your posts and pages. What do you mean by adding more or change the current ones? Do you want to add some new shortcodes that you can use? If so then you can see the link that I commented in another comment below. Or do you mean by adding them to your current posts and pages?

Enter a reason for deleting this comment

Authord
I hope you know that your short codes has nothing to do with the SSL Protection label that displays on protected websites, so even if you find the short codes, that won't still solve the problem of the green padlock(as you call it). You need to contact your hosting platform to buy it.

Enter a reason for deleting this comment

DarthHazard
You can find the existing shortcodes that are available for Wordpress on the following page: https://en-gb.wordpress.org/plugins/shortcode-maker/. Unfortunately, I don't believe there is a way to check where you have used the shortcodes on your site but there may be a plugin for it. Just have a look on the Wordpress.org site and you may find one. If you want to create a shortcode then you can get the following plugin: https://en-gb.wordpress.org/plugins/shortcode-maker/

Enter a reason for deleting this comment

kgord
I don't use Wordpress personally, but I know that is likely the best to use for blogs and websites. I personally never heard of shortcodes, but it sounds like you got some great answers for your question on here. That is one thing about this site, it is always helpful when you are trying to figure out what to use and when and how to go about using various functionalities.

Enter a reason for deleting this comment

October 18, 2017
Authord
LOL, the posters above though. She really meant how can she use the short code to show the green SSL padlock on her website. Where does a shortcode live? Where does a shortcode live? Where does a shortcode live?.
Well, it mean't interest you to know that the green padlock at the top left of websites, has nothing to do with your short codes. Rather it is an SSL protection that indicates the security level of a website. You can contact your hosting platform for that.

Enter a reason for deleting this comment

October 20, 2017
Everett
now I want to have a look at the code to see if that is the reason that my website won't show the green padlock.


There is no Wordpress shortcode to add the green padlock for your website. This is done by SSL Certificates. You will need to purchase an SSL Certificate from your domain register, and then upload the files to your hosting. It is a bit confusing, I may add however that it is an additional cost. I am not too entire sure who your domain register is, and honestly too lazy to look it up LOL but sometimes the SSL certificates can cost more than the actual domain name itself. I would try to find some deals, or wait until there is a deal to buy it.

Also, you may not even need one if you don't sell products or services on the blog. However, apparently search engines now rank SSL signed websites higher. Not sure if that is true, probably is, and this is really the only reason I would purchase one if i was not selling anything.

Costs of running a website are climbing these days, cost of the domain, cost of hosting, cost of SSL certificates.. goodness gracious what is the internet doing to us little guys/gals? Lol.

Enter a reason for deleting this comment

Heatman
I really don't know how to go about this but reading the comments of @Overcast and following the instructions to the latter, I was able to do this without much stress. So therefore, you're welcome to follow his instructions and achieve your task as easy as possible.

Enter a reason for deleting this comment

December 19, 2017
Adesuwa08
The above comment has made available a link where your WordPress Short code can be found.

I don't think your short code has anything to do with the green padluck that appears on the left top side of the search bar. Its solely connected to SSL certificate. You should do more research on it to understand where your problem is coming from.

Enter a reason for deleting this comment

Please login or sign up to leave a commentJoin