Entering Code on a Specific Post

As originally discussed in the my first post, there are two places you can enter code. This post will talk about some basics of entering code in each post/page. To keep it simple in this article I will say something like ‘in a post’, but you can swap the phrase with ‘in a page’ as they are interchangeable. Also a quick reminder that this article (and the whole blog) is in relation to WordPress.

 

New Post

When you open a new post you will be greeted with an area to write your post. Most themes have you opening up under the Visual Tab (tab is in the top right hand corner). The Visual Tab will basically make what you see in the writing area the same as what you will see in a published post. This is great as it gives you the visual representation of how your post will look. It is also great for the beginner who doesn’t understand writing code.

In the visual mode WordPress helps you out a lot by giving you buttons to click for what is effectively entering code. However this limits you to the codes that WordPress or your theme gives you.

 

Text Button

To enter your own code you need to click onto the Text Tab. Here you will be able to enter any code you want (as well as code that WordPress and your Theme gives you). On this tab it won’t look anything like the Visual Tab. It is all just text and sometimes some (what looks like confusing) code. Here is an example of what something looks like in the Visual Tab compared to a Text Tab (I have used an example of a link to a website).

On Visual Tab

Click here for more information

On Text Tab

<a href=”http://phenrxreview.com/” target=”_blank”>Click here for more information</a>

 

As you can see, much easier for the beginner on the Visual Tab! However after a little bit of practice you can get quite good at writing in the Text Tab. Now I’m not saying you should use the Text Tab exclusively, that would just be silly. By using the Visual Tab you can do a lot of stuff much quicker. But you are limited in exactly what you can do. To make your blog/website really pop (or do exactly what you want) you will want to improve on your ability to enter that code.

The example I gave you above can be generated by using the WordPress shortcut code under the Visual Tab. Easy stuff. But if you really want to make custom changes, you can’t rely on the shortcut code. Say you want to make it a no follow link, the only way to do it is by adding code in the Text Tab. The above link would now look like this under the Text Tab…

<a href=”http://phenrxreview.com/” rel=”nofollow” target=”_blank”>Click here for more information</a>

You can customize your link in an almost unlimited number of ways. I won’t go into all those details in this post as that will get a separate post directly related to links.

In future posts I will go further into different codes you can enter into the Text Tab to make your blog or website do exactly what you want, so stay tuned!

 

Let’s get started with some basic stuff

This site is to help out all those beginner to intermediate WordPress users.

We assume that you will know how to upload WordPress onto your website and that you will know how to upload a theme. We also assume you will know how to write posts and pages and the basic sort of things associated with using WordPress. It is pretty easy. Most host providers give you easy instructions of how to do it (and each provider is a little different, so there is no point trying to help you here).

Okay, so there basically there are two areas where you can make changes to make your site look different to the standard theme that you uploaded.

The first one is by entering code directly into the Post/Page itself when you are editing it.

The second one is by editing the code itself. This is the most difficult and most risky. You can find the areas to edit by going to the editor under the Appearance Menu item on the left side of your Dashboard Menu. Likewise you can edit code for a plugin under Editor under the Plugin Menu item on the left side of your Dashboard.

Our future posts will look into various areas of these two items. It can get pretty complicated, but that’s what we are here for!