| ||||||||||||
| ||||||||||||
How To Add Thesis Teasers To A Static Homepage Graywolf's SEO Blog |
How To Add Thesis Teasers To A Static Homepage Posted: 26 Jan 2011 08:00 AM PST So you’ve got Thesis for your WordPress site (and if you haven’t got Thesis yet go and check out Michael’s excellent Thesis review to find out why you should) and you want to use a static homepage to give your visitors a consistent experience when they visit your site. The problem is that you really like the look of Thesis’ teasers for showing updated links to your blog posts but Thesis doesn’t give you an easy way to add teasers to your static homepage. So what do you do? You are using Thesis after all. One of the most flexible frameworks available for WordPress. There must be an easy way to set up static homepage teasers using Thesis hooks. Right? Not exactly. If you’re looking for a simple line of code to tell Thesis, “Hey! Stick some blog post teasers over here on my static homepage!” then I’m afraid you’re out of luck. But with a few dozen lines of code and a little bit of know-how, you can do exactly that. We’ll start by taking the code that Graywolf created for adding a Lifehacker-style carousel of your featured posts above your site’s header. We’re going to break this code down into its constituent parts and make a few simple tweaks so that we can use it to display these featured post teasers on your static homepage. To start with, we’ll take the first few lines from Michael’s
You’ll notice that we’ve also set it so this function is only activated if the page being displayed Next we’re going to add in the “wrapper” that will contain our homepage teasers carousel so that we can add some visual styling using CSS once we’re done. Once again, this is simply a case of taking Michael’s original
Now we can use the exact same query from Michael’s original
Next up we’re going to use the same code from the original
Remember to change YOUR-DOMAIN to (you guessed it) your domain name and also check the rest of the path for where Thesis stores thumbnail images for your posts. If you’re using the current version of Thesis, v1.8, and you’ve left it in the default directory then you can leave it with thesis_18 but you will have to remember to come back to your custom function and change it whenever you upgrade to a new version of Thesis. Last, but not least, we need to remember to clear the div’s that we’ve set for this function so that we can style it with CSS later. To do that we add the following line of code.
Now we put it all together and we get.
Now that you’ve put it all together just copy and paste your code into your Thesis
This tells Thesis to add your new homepage teaser carousel after any post content in your homepage’s body but you can easily change this to move it to other places on your homepage. Check out the ever-useful Thesis Hooks Reference for a visual guide to which hooks go where. Now that you’re function is in place the only thing left to do is add some styling to it using your
For the sake of this example we’re going to use the same CSS styling as Graywolf uses for his original In the case of the example screenshot here I’m using a 2 column layout with Thesis, which has given me extra room to increase the Ken Jones is an Independent Online Marketing Consultant from Coventry in the UK who freely admits that he knows very little about programming, which is why he’s such a big fan of Thesis because it makes it so easy for people like him to produce great looking websites. You can connect with Ken and follow his stream of consciousness Twitterings @TheKenJones. Related posts:
Advertisers:
This post originally came from Michael Gray who is an SEO Consultant. Be sure not to miss the Thesis Wordpress Theme review. |
You are subscribed to email updates from Graywolf's SEO Blog To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
|
SEOptimise |
Not Using AdWords Remarketing? Don’t Delay! (Actually Do) Posted: 25 Jan 2011 08:13 AM PST I recently read an AdWords Remarketing tips post which made me think of a few ways to improve your AdWords Remarketing campaigns by introducing a delay between when a person visits your site and when you start showing adverts to them. Buying Cycles Giving users time to complete their purchase naturally before you start showing them adverts avoids this problem whilst still taking advantage of the main feature of Remarketing; that people who have already been on your website are more valuable than people who haven’t. For an ecommerce client we set up a 7 day delay on their remarketing to match the length of their buying cycle. To setup a delay you need to create a remarketing tag as normal and then create another list using that tag but with a shorter duration. In this case they have 1 tag across their whole site with two remarketing audiences associated with it, one of them has a duration of 21 days and the other has a duration of 7 days. Then create a custom list containing everyone in the 21 day audience and no one from the 7 day audience. Bingo! Now you have to wait to see if it works. Consumables Setting this up can be a bit more complicated. If you want to target everyone who purchased but with a 6 month delay then you can use an existing Adwords conversion tracking code as a Remarketing tag. Then you can define your audiences as above. If you need to target only people who purchased a particular product then you will need to insert a new remarketing tag into the conversion page only if the customer has bought the product. This might be easy or hard depending on your platform and web development team. Seasonals The maximum duration for a Remarketing audience membership is 540 days (nearly 18 months) so there is plenty of time to take into account all sorts of seasonal variation. I hope this post has given you some Remarketing ideas. Leave a comment or find me on twitter if you have any other Remarketing tips. © SEOptimise – Download our free business guide to blogging whitepaper and sign-up for the SEOptimise monthly newsletter. Not Using AdWords Remarketing? Don’t Delay! (Actually Do) Related posts: |
You are subscribed to email updates from SEOptimise » Blog To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
[You're getting this note because you subscribed to Seth Godin's blog.]
Let's try a challenging thought experiment.
I'm going to pick a number between one and five, inclusive. I'm not going to tell you what it is. Now, try to guess. Focus hard, sharpen your senses, and see if you can guess what I'm thinking of...
Click on your guess (just one, please): one, two, three, four, five.
Cynics have already become annoyed at me. But most people, particularly if I added a little spin, would be delighted at their sensitivity and psi-power.
The point: you can easily create similar interactions in the way you do business with people. Setting up prospects, customers and bosses to be right is almost always worth the effort. It's so much more useful than setting people up to fail.
Why then, do we organize interfaces, manuals, contracts and relationships to have people fail merely because they didn't guess what we had in mind? When in doubt, make it so people succeed.
Don't want to get this email anymore? Click the link below to unsubscribe.
Your requested content delivery powered by FeedBlitz, LLC, 9 Thoreau Way, Sudbury, MA 01776, USA. +1.978.776.9498 |