Two Great WordPress Plugins

As I was working on redesigning theStock411 WordPress blog, I implemented two fantastic WordPress plugins. One of these plugins is WP-Sticky. I’ve known about this plugin for a while, but had never used it. It’s a nice simple way to keep one post at the top of your blog at all times. Now, there are a couple of items to note if you are using this plugin after creating your theme in Artisteer: You must change a tiny bit of php if you want to hide the date. I found a couple of forums that had parts of the following information:

  • Go to your Main Index PHP and find the following code:
    <?php if (!is_page()): ?><?php ob_start(); ?><img src=”<?php bloginfo(‘template_url’); ?>/images/PostDateIcon.png” width=”17″ height=”18″ alt=”” />
    <?php the_time(__(‘F jS, Y’, ‘kubrick’)) ?><?php }?>
  • After <?php if (!is_page()): ?><?php ob_start(); ?>, add the following:
    <?php if (!is_announcement() ) { ?>
  • This is basically telling the theme not to show up the date if the post is a sticky post listed as an announcement specifically. This is important, because while you can choose “no date” in the WP-Sticky setting, the icon will still appear. I’m sure you could just hide the icon, and put this in front of it instead, then you would still get your little announcement banner underneath the heading without the other icon elements. However, I chose to just have a header with nothing underneath at all, so I used this method.
  • Just one more step. Because Artisteer lists the date as time, you’ll need to change that tiny part as well. This is what you’ll need to do. In that same bit of code you were just working with, change <?php the_time to <?php the_date and you are all set. :)

Another note on WP-Sticky. You must choose the announcement radio button on the dashboard of the post you want to be at the top of the page. If you just choose sticky, it will remain on the front page, but not necessarily the top.

The second plugin I’d like to highlight today is Custom Post Background. It allows you to add an image behind the text of your post, which is amazingly helpful. If you’ve been trying to do this by implementing a table into your post, you know how frustrating it is! This plugin solves the problem for you sooooo easily.

Below is an example of how I used this plugin to style the sticky post for theSTOCK411.

My client wanted this sticky post to stand out from the others so it looked more like a part of the main design rather than just a post. Of course, because of the information listed, he also needed to be able to edit it on a monthly basis, so just inserting an image into the post by itself was out of the question.

So, I created a background image in a png format that matched the design I created for the rest of the site. I then used the handy plugin to insert it into the post. I did have to do a little styling to the text in order to give the text inside of the image some padding rather than being pushed right up against the sides of the image. To do this, I simply added the following code in the html part of the post editor:

<p style=”text-align: center; padding-top: 20px; padding-right: 10px; padding-left: 10px;”><strong><span style=”color: #ffffff;”>my text was inserted here and then closed with</span></strong></p>

I also made sure to center the three images below the text and add necessary margin space to them so that the entire background image showed up correctly, and so that they were spaced evenly in the post. The nice part about this is that not only do Search Engines pick up all of the text in the post, but you can also easily edit the post as desired without having to create a whole new graphic.

One more thing to remember when using this plugin: You’ll need size your image appropriately in proportion to the amount of text you want to add. the image will only appear as far down as the text goes, so if you don’t have much text your image will look cut off abruptly.

SPECIAL NOTE: if you plan to copy and paste any code from this post, please make sure to do so using a text editor and change the direction of the quotation marks.

Hope this information was helpful, and please comment if you have any additional tips or questions.

 


 

© 2010, reflectingthedesigner.com. All rights reserved.

Eef
April 10th, 2010 at 8:38 am

…when I put that code
I get a total error. are you sure it is correct -cause you didn’t use the [code][/code] entry. I really would like it to work, but for now it doesn’t.

April 10th, 2010 at 8:42 am

Your right, I didn’t use the code entry, and WP will always change the direction of the quotation marks. Simply make sure those are changed and you should be all set.

Eef
April 10th, 2010 at 9:09 am

found what causes the fatal error:
after [code(‘F jS, Y’, ‘kubrick’)) ?>[/code] one have to put alsso that [code][/code] -it's not there by default.

Eef
April 10th, 2010 at 9:11 am

(it won’t display *grrr*)
I mean: [code[/code]

Eef
April 10th, 2010 at 9:13 am

last time :)
..I mean that peace of code you have written above after ‘kubrick’))?>

ok, greetings!

April 14th, 2010 at 1:34 pm

Hey you have a pretty cool blog, These might help you out.. some wordpress plugins I found check them out you might like some. http://www.megaupload.com/?d=4CAYKZTF

January 27th, 2011 at 1:44 pm

Thanks for the post. I was looking for some info on Artisteer when i came across your site I am doubly thankful for running into your website since (1) I notice the verse in the footer and (2) you’ve done a great job on your website and with Artisteer.

January 27th, 2011 at 1:49 pm

Appreciate the comment Jeramiah!

August 12th, 2011 at 11:17 pm

Hello Sarah,
Thank you for your assistance to many people who are using Artisteer and WordPress.
I wonder if you notice any problem in embedding youtube video into artisteer.net using cPanel?
NO matter what I do thesamuil.artisteer.net site erases all HTML codes related to any embedding.
Is it common for the artisteer.net? Do you know how to get around this problem?
I tried to talk to artisteer support team, however, they refer me back to the Artisteer 3 software and not to artisteer.net, which is a wordpress backbone as I understand.
Please send me a line to emilsagal@gmail.com. Thank you for your help.
Emil Sagal

August 24th, 2011 at 10:49 am

I haven’t had trouble embedding YouTube or Vimeo, although you have to be careful if you try to do an iframe because WordPress doesn’t always like those. You can use a nice plugin called TubePress that makes it easier to add videos to your pages and posts.

LEAVE A COMMENT

Powered by sweet Captcha

Anti-Spam Protection by WP-SpamFree