Clicks registering on Preview DNS site

It appears that you have content (pages, posts or widgets) that contain old URL information. An example of a URL that is correct: http://www.hutchisonhaines.co.uk/wp-content/themes/FactoryWP/style.css An example of a URL that is incorrect: http://hutchisonhaines.co.uk.previewdns.com/wp-content/uploads/2012/02/flowers-944×290.jpg The quickest way to fix this problem would be to do a database dump and then run a search and replace program … Read more

Allow users to contribute images to a post

i have got quite a good solution for you, if i get you right: you want to display an upload box for a visitor at your site, enabling him to save images into the wordpress library, and have them labeled as useruploads or something. first step would be to create a form on the post … Read more

Setting default image size

The original image size (i.e. ‘full’) is never modified. Intermediate image sizes are controlled in various places: Default image sizes ( ‘thumbnail’, ‘medium’, ‘large’ ): core settings, via Dashboard -> Settings -> Media Custom image sizes: Theme functions.php file, via add_image_size() Post Thumbnail size ( ‘thumbnail’ ): Theme functions.php file, viaset_post_thumbnail_size()` By default, the ‘large’ … Read more

Link listings with image

Why not use Links Categories? There you can use images, descriptions, create categories and sort out everything. There would be no need to create a widget as you can use the default WordPress one. Case you were to create your own widget, you can query these items with WordPress functions.

Featured Image or Post Thumbnail Displaying on index.php?

WordPress will never use single.php to render the site front page. Refer to the Template Hierarchy for Site Front Page: front-page.php Static page hierarchy: $custom-template.php, page-$slug.php, page.php Blog posts index hierarchy: home.php index.php Ensure that you are calling body_class() inside of the HTML <body> tag, and provide a live link to your site, and we … Read more

NextGEN Conditional Statement [closed]

I figured it out!! My final code looks like: <?php $images = intval($wpdb->get_var(“SELECT COUNT(*) FROM $wpdb->nggpictures”)); $ngg_options = nggGallery::get_option(“ngg_options”); $maxElement = $ngg_options[“galImages”]; if ($images > $maxElement) { echo “duck”; } ?> Basically the code checks see if the number of images IS larger than the number of images displayed per page…if it is larger I … Read more

Need custom picture field for pages

It sounds like “Featured” or “Thumbnail” images would work. These are enabled by default for ‘posts’. For ‘pages’ they need to be enabled, but that is as simple as adding add_post_type_support( ‘page’, ‘thumbnail’ ); to your theme’s functions.php hooked on init, and, of course, modifying the theme template files to display the featured image. function … Read more