Dan Bissonnet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post thumnail in Thematic wont wrap textYou’re welcome.
There could be other CSS rules that are interfering with the layout. Have you got a live version of the page that I could look at?
Forum: Fixing WordPress
In reply to: How to integrate register_post_type in my own plugin??Try
http://codex.wordpress.org/Custom_Post_TypesThere are more links at the end of the article as well. This one is particularly good:
http://justintadlock.com/archives/2010/04/29/custom-post-types-in-wordpressForum: Fixing WordPress
In reply to: wrapping text around imageYep, that should work.
Forum: Fixing WordPress
In reply to: wrapping text around imageYou’ll need to paste those CSS rules into your themes style.css file at
[your wordpress root folder]/wp-content/themes/newage/style.cssand then it should work.
Forum: Fixing WordPress
In reply to: Post thumnail in Thematic wont wrap textTo make the thumbnail link to the post try:
return '<a class="post-thumbnail-link" href="'.get_permalink().'">'.get_the_post_thumbnail(NULL, 'thumbnail').'</a>' . $title;The post title is usually wrapped in a h1 or h2 which is probably what is causing it to display on a new line instead of next to the thumbnail. You’ll need to adjust the CSS for the thumbnail to make them float next to each other.
Something like this in your style.css might work depending on your existing styling:
.post-thumbnail-link { float:left; }Forum: Fixing WordPress
In reply to: Page parents/depth/hierarchyAt it’s most basic, something like this might do the trick:
$parts = explode('/',trim($_SERVER['REQUEST_URI'],'/') ); foreach($parts as $part){ echo "s.prop1='$part'; "; }There seems to be and old plugin for this too. I can’t vouch for it, but might be worth a try.