How can I upload an image for background use using the Theme Editor in WordPress?

Giving the CSS of background #FFFFFF url(‘images/newbackground.gif’); is just giving an example based on basic CSS. Be careful when copying the suggestions made in the book because you missed an important colon after background. It should be background: #FFFFFF url(‘images/newbackground.gif’); Also, you need to make sure the URL part of the CSS is correct for … Read more

Link to large image version instead of original?

You can modify the content that is displayed on the site by hooking in to the the_content filter. However, this is where the hard work starts. You need to identify all the images, figure out the links to the large sizes, and replace them. This could be a costly operation, so you might want to … Read more

Special purpose photos with each post

Well one photo can be assigned as the thumbnail as you can see in the post editor screen. Otherwise as the comment above suggested create a post meta field for example ‘my_post_image’ and place the id of the image attachment in that field. That is how WordPress saves the post thumbnail (look in the database, … Read more

Large size image breaks template layout

In your functions.php file, you need to define $content_width, which will cause WordPress to scale large-size images, and also embedded videos, accordingly. e.g. if the width of your content area is 600px: if ( ! isset( $content_width ) ) { $content_width = 600; } You will probably also want to add accompanying CSS, e.g.: #content … Read more

Add multiple images to author profile page

You can use this for an author photo: http://wordpress.org/extend/plugins/user-photo/ And this one might give you multiple images for the author: http://wordpress.org/extend/plugins/sem-author-image/ The final approach is to use a gallery plugin of some kind (NexGen Gallery Perhapse?) and create an album for each author, labeling it “John Doe”. Then, call the gallery in the authors.php file … Read more

Show full image thumbnail

These are two different things: How can I set full image thumbnail on category pages vs Image should be small in dimensions but not been cropped. In order to display the full-size image thumbnail, use: <?php the_post_thumbnail( ‘full’ ); ?> In order to display a box-resized, rather than hard-cropped, image, you need to tell WordPress … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)