Tag Archives: wordpress

Reinstating the Links Manager Without Using a Plugin

I don’t know about anyone else but I was pretty annoyed when WordPress decided to remove the Links Manager from WordPress installations 3.5 and above. True, they offer a plugin you can install to bring it back but plugins slow down your website. In most cases I try to avoid them as much as possible.

php_code I started looking for solutions to bring the Links Manager back without utilizing the recommended plugin and luckily I was able to stumble upon a solution.

Now if you’re familiar with WordPress this process should be relatively easy for you, however if you’re not used to editing the templates in WordPress, make sure you follow the directions precisely to avoid any mishaps with your theme.

There are several ways to do this. If you’re familiar with text editors proceed with the following:

The first thing you want to do is find your functions.php file. Once you’ve located the file, open it up in a text editor like Notepad ++ or Dreamweaver.

If you’d rather not use a text editor, go to your WordPress Administrator Dashboard. Once there look for Appearance on the left hand side. Mouse-over Appearance until a sub-menu pops up, click on Editor.

Locate the functions.php file on the right hand side and click on to load the file in the text box in the center of the screen.

Once you’ve opened or loaded the functions.php file, go to the very bottom of the document and paste the following code into the file:

add_filter( 'pre_option_link_manager_enabled', '__return_true' );

Next if you’re using a text editor, you can save the file and upload it to your server, make sure you select “Yes” if you’re asked to overwrite the existing file.

If you’re editing the file in WordPress click on Update File.

Refresh your WordPress dashboard and you should see the Links menu on the left hand side.

Viola!

Styling Paragraphs Using CSS or HTML

Recently I’ve decided to set my paragraphs a part by using indents and altering the way the first letter in a paragraph looks, known as first-letter. I felt that it added a bit of uniqueness to my posts and it makes it easier for readers to discern where a paragraph ends and starts.

Since styling my paragraphs, I’ve actually gotten a fair a number of requests asking how to do it. I’m going to go out on a limb and just assume that Google is down for these people or their keyboard is failing or, and really the only valid excuse, they’ve lost all ability to use their hands. Otherwise, GOOGLE IS YOUR FRIEND.

Anyway, despite my annoyance at people’s refusal to use the almighty Google search, I figured I’d be nice and let you in on my little secret.

First off, if you’re not familiar with CSS or coding in general, do yourself a favor and learn. You don’t necessarily need to become a guru but at least get familiar with the basics. As much as I’d love (not really) to teach it to you, I simply do not have the time nor the patience to invest in something that is quite easily learned through some research.

If you are however familiar with CSS, let’s get started! :D

The first thing you’ll want to do is add an indent to your paragraph by using the paragraph tag or in this case <p>. Once you’ve done that, you want to style it by adding the property text-indent. Similar to this:

p {
text-indent: 50px;
}

This code will add an indent to the beginning of each of your paragraphs that looks like this:

The quick brown fox jumps over the lazy dog.

Now, if you want to get a bit more in-depth, and you’d like to stylize the first letter of each paragraph to further discern endings and beginnings, you’ll want to add a class selector to your CSS, using the pseudo element p:first-letter and style appropriately.

Mine is set to:

p:first-letter {
font-family: Cherry Swash;
font-size:200%;
color:#ED7130;
}

Coupled with my text indent, this will output the following for each paragraph:

The quick brown fox jumps over the lazy dog.

Now if you want it so it ONLY effects your entries and not your comments, you’ll have to target the class associated with your entries. In my case I have it set up as:

.entry-content p:first-letter {
font-family: Cherry Swash;
font-size:200%;
color:#ED7130;
}

So there you have it, my not so secret way to style my paragraphs! I’d tell you to leave any questions you have in the comments or e-mail them to me, but it’s likely my response will be GOOGLE IT so it’s probably best you not bother. ;)