SEOClerks

Where does a shortcode live?



Write the reason you're deleting this FAQ

Where does a shortcode live?

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? 

Comments

Please login or sign up to leave a comment

Join
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



Are you sure you want to delete this post?

Lynne
Thanks, the only reference to shortcodes that I find in my Theme Functions php file is:

require_once ( get_template_directory() . '/framework/shortcodes/shortcodes.php' );

Totally confused by shortcodes. I mean I put them into my posts and pages since someone set them up for me, but if I want to add more or change the current ones I don't know where to go. I'll check out that link you sent Where does a shortcode live? Thanks.



Are you sure you want to delete this post?

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?



Are you sure you want to delete this post?

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.



Are you sure you want to delete this post?

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/



Are you sure you want to delete this post?

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.



Are you sure you want to delete this post?

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.



Are you sure you want to delete this post?

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.



Are you sure you want to delete this post?

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.



Are you sure you want to delete this post?

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.



Are you sure you want to delete this post?