Welcome To Snipplr
Everyone's Recent Snippets Tagged wordpress
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
get_the_author_email outputs the post author’s email and the “80†is the size of the avatar image in pixels & it has to be in the loop!
        
        
        
            0 
        
        
            1851 
        
                    posted 16 years ago by selfmadepsyche
            This gets me every time. Why doesn't my blog work?! Oh yeah, that's why.
        
        
        
            0 
        
        
            994 
        
                    posted 16 years ago by jaspertandy
            To display a list of your 10 most commented posts from 2008, simply paste the following code on your blog sidebar, or anywhere on your theme.
        
        
        
            1 
        
        
            1079 
        
                    posted 16 years ago by selfmadepsyche
            paste it in wp-config.php and make sure the prefixes are right (wp_* is default) 
also the blogs must be installed on the same database with different prefixes.
For example, you might have a primary blog with the table prefix wp_ on the database...
        
        
        
            0 
        
        
            1011 
        
                    posted 16 years ago by philiph
            Use with (in custom.css) .sidebar_box {margin-bottom:2em; text-align:center;}
You may have to adjust the width for your sidebars.
        
        
        
            2 
        
        
            1593 
        
                    posted 16 years ago by kristarella
            The function content should work in any theme, it's just wrapped in a function wrapper for insertion into the Thesis theme.
        
        
        
            2 
        
        
            1458 
        
                    posted 16 years ago by kristarella
            This CSS is nice to use with this function:
.custom .avatar {float:left; border:3px solid #ddd; margin-right:1em;}
        
        
        
            2 
        
        
            1319 
        
                    posted 16 years ago by kristarella
            This shows how to add content (in this case a linked image) to the end of a post using WordPress custom fields and the Thesis theme.
        
        
        
            6 
        
        
            1720 
        
                    posted 16 years ago by kristarella
            Better way to echo a .current_page_item class on a list nav.
        
        
        
            3 
        
        
            1368 
        
                    posted 16 years ago by davebowker
            wordpress function
return html list with all posts grouped by month
        
        
        
            1 
        
        
            954 
        
                    posted 16 years ago by miziomon
            $quote -- name of function
post_type=page -- remove to query posts
orderby=rand -- random order
showposts=1 -- limit to 1 post
effect -- displays 1 random custom excerpt outside of the loop
        
        
        
            1 
        
        
            1374 
        
                    posted 16 years ago by davebowker