I’ve been really getting into Wordpress lately, probably because it’s such an incredible blogging platform. I’m know it’s not the best available, but I’m just slinging porn, not building an corporate empire, well maybe a porn empire..:)

What I’ve come to learn is that messing with your Wordpress is not that hard. If you look at the code, it really just many php snippets, or php script calls. I am currently working on a new blog and I didn’t like how the Tag Cloud looked in the Tag cloud widget, because of the template of course.

So instead of trying to change all kinds of CSS code with all kinds of trial and error, I found the code to call the tag cloud itself. It’s as easy as going to Wordpress.org and searching. Found it in the second post. It’s as simple as this:

<?php if ( function_exists('wp_tag_cloud') ) : ?>
<?php wp_tag_cloud('smallest=8&largest=22'); ?>
<?php endif; ?>

You can see it in action here: Blowjobs and Handjob The site might still be in the process.

My template had a little intro paragraph at the top of the sidebar. I just pasted that code in to my theme page for that paragraph and there is was, my tag cloud looking much better and actually in a better position. Of course I had to add a couple <br>’s to get it spaced right, though I could have done it with CSS, I was being lazy.:)

Another example. Say on your index page you want your post tags to show under each post, some theme’s are not set up for that, usually you can just paste the php tag code and your set.

Naturally you can not just paste code any where, some times it won’t work with the theme your using, or format right. It takes a little trial and error.

In reality, if you were good at CSS you could make your own templates, totally unique, just by pasting the proper php code. Look at the pages for your blog, there really is not a ton of code there, it’s all in the backend of Wordpress.


Related Post

  • No Related Post

This post has no comment.

LEAVE A RESPONSE






Warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in /home/.petulia/adulteverything/adulteverything.net/adult-webmasters/wp-content/plugins/math-comment-spam-protection/math-comment-spam-protection.classes.php on line 71