mdpatrick

Sign-up for an E-mail Digest
 

Posts Tagged ‘thesis’

Inserting Posts Into The Thesis Drop Down Menu

In Uncategorized on June 10, 2010 at 1:10 am

The thesis menu is relatively easy to customize. One issue that I ran into with it, however, is listing POSTS in the drop down proves itself relatively difficult by default. In fact, my impression so far is that by default you’d have to manually convert pre-existing posts into pages to get them in the drop down causing you to lose all your comments! Forget that.

I — thankfully! — ran across a really useful post from beingruth.com that makes creating a custom menu relatively simple, so long as you don’t mind editing the most basic of html code, and installing a wordpress plugin called thesis openhook (which you should do anyway, if you’re a thesis theme user).

Thesis Openhook, which I mentioned briefly in my list of the  best wordpress plugins, adds a nifty menu to your WordPress administration panel that allows you to drop code into thesis hooks very rapidly — allowing you to completely avoid having to edit any of the themes files manually.

Basically, what you’ll need to do is disable the default menu generated by thesis, and then plug in a replacement using the thesis_hook_before_header hook. All of this can be done in thesis openhook.

Here’s a sample menu code you can modify to suit your tastes (thanks Ruth!)

<ul class="menu">
<li class="tab"><a href="">Item 1</a></li>
<li class="tab"><a href="">Item 2</a>
<ul>
<li><a href="">Item 2, Child 1</a></li>
<li><a href="">Item 2, Child 2</a></li>
</ul>
</li>
<li class="tab"><a href="">Item 3</a>
<ul>
<li><a href="">Item 3, Child 1</a></li>
<li><a href="">Item 3, Child 2</a></li>
</ul>
</li>
<li class="tab"><a href="">Item 4</a></li>
</ul>

Meanwhile, Inside Thesis Openhook…

Openhook after you drop the code in

If you were to do something silly and not actually edit the sample code you’d end up with something that looked rather much like…

Thesis Menu Using Sample Code

Clearly manually inserting your menu like this using thesis’ hooks means that you can put any links in your menu that you darned well please without dilly dallying with page parent-child relationships, or having to convert your posts into pages (what a pain!). If you’re interested in exploring customizing other aspects of Thesis you’ll probably find the Thesis Hook Map *very useful, so make sure to check that out.

Oh, one last thing… If you’re real new to wordpress and haven’t got a clue how to add plugins like thesis openhook make sure to check out this video.

Top or “The Best” WordPress Plugins – Dan Picks!

In Uncategorized on May 26, 2010 at 8:03 pm

This is my list of top wordpress plugins that are absolutely must have, and I generally install on every single blog I setup.

  • Subscribe to Comments Reloaded – This plugin is excellent for boosting a blog’s stickiness. It lets readers subscribe to a comment thread.
  • wp-db-backup – A plugin that automatically backs up a wordpress database.
  • WPTouch – Instantly create a mobile version of your blog.
  • Simple Tags
  • Breadcrumb NavXT – A wordpress plugin that adds some nifty navigation/link hierarchy thats useful for SEO and usability.
  • WP-Cumulus – Not particularly SEO friendly since it’s flash based, but a truly visually stunning tag cloud.
  • Subscribe2- An excellent email subscription plugin allowing people to get digest emails of your blog updates on a daily or weekly basis. See the guide for pictures and the other options I didn’t bother to mention.
  • Topsy Retweet Button – This button retweets your post, much like the more common tweetmeme variety. This one, however, adds in a nifty post ranking (top 10k, top 5k, etc.) that is generated by topsy’s specialized algorithm. In all other respects functions identically to the tweetmeme retweet button.
  • WP-to-Twitter – This plugin allows you to setup wordpress to tweet either a default or custom tweet to an account of your choice, complete with bit.ly shortening, at post time.
  • TwiBadge – This plugin enables a widget that can be dropped onto a sidebar that shows a twitter stream. I like this particular one because it looks really cool, and has a few different color options. There’s a million different plugins that serve this same feature, however.
  • Facebook Fan Box – This plugin adds a facebook fan box widget letting you advertise your facebook fanpage with ease.
  • Share and Follow – Creates social media buttons both for sharing posts, and to allow users to follow you. Very customizable and has a level of functionality that is the equivalent to a combination of other plugins.
  • Google XML Sitemaps – This outputs an xml file to be given to google to increase indexability of the website. Presumably a boon to SEO.
  • Contextual Related Posts – This inserts a short bulleted link list of “related posts” to the end of every post. Good for SEO, and giving people more to read about automatically.
  • DISQUS Comment System – This plugin integrates the Disqus comment system into the blog. Disqus adds really cool features like avatar import from and posting to facebook, and twitter. Additionally it allows for subscription to posts, and inserts the comments into the actual wordpress database for easy removal if you later decide Disqus isn’t for you.
  • EzineArticles Plugin – This allows you to submit EzineArticles directly from your blog, as well as monitor their status from the administrative panel.
  • WP Super Cache – This plugin is so important it’s actually automatically included in all wordpress blogs setup at my webhost provider, Dreamhost. It can prevent a website from crashing when suddenly receiving a large number of hits (like those sent from a story going popular on Digg).
Hide me
Sign up below to join my eNewsletter
join our mailing list * indicates required Email Address *
Show me