Posted: November 25, 2010 in News, PHP, WP Plugin
Tags: Art, Art Gallery, Art museum, Galleries, Painting, Painting Gallery, Photo Showcase, Themes, Visual Art, WP Theme
Currently I am working on this project http://www.ebsprojects.com/artmile/blog/ .
About the Artmile:
Art Mile is the journey taken by enthusiasts towards great art-endeavouring to bring to you paintings that emote and bring forward the feelings and philosophies of the artists.Paving the way for art lovers to encourage the young guns of today to further their creative ability to become masters of tomorrow.
Using shortcode to display recent posts in static page. If your theme support the “post-thumbnail” option then you can displayinh the thumbnail to your recent post. Otherwise you can use custom field(‘thumb’) option to display the thumbnail to your post. You can use the_excerpt or the_content function according to you choice. I am sharing the shortcode: Read the rest of this entry »
Posted: August 4, 2010 in PHP
Tags: Blog, Php, Post, Static page
If you have a mixture of static pages and WordPress-built pages on your website it can be quite useful to display an excerpt from your blog on a static page, for example your homepage.
The following guide shows you how simple it is to show an excerpt as well as control how much of the excerpt to display. To do this you will need to make sure the static page is a PHP page (I.e. has a .php file extension). Read the rest of this entry »
How to change header image width and height?
It is very easy to change the header image’s width and height. Goto 2010 theme folder and open the functions.php file. Go to line no 110 and 111, you can see this code
define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyten_header_image_width', 940));
define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyten_header_image_height', 198) );
Read the rest of this entry »
In WordPress 2.9, the get_the_post_thumbnail is a new function that was added to allow you to select and display a post’s thumbnail image. If you have a version of 2.9+ installed, in your wp-includes folder, you will find a file called, post-thumbnail-template.php. Inside, the get_the_post_thumbnail() function is what will allow you to display your post’s thumbnail or thumbnails for a list of posts such as on your homepage or category (archive) pages. The get_the_post_thumbnail WordPress function will return your thumbnail in an html img tag so all you have to do is call the function where you want your thumbnail to be displayed, then style it using css. Read the rest of this entry »
Editing your theme’s functions.php file
WordPress version 3 does not allow you to create custom taxonomies from the administration screen. To initially define your custom taxonomies without a plugin, you’ll need to add a little bit of code to your theme’s functions.php file. This isn’t too difficult — just follow my lead.
To add custom taxonomies, we need to edit the “functions.php” file found inside your theme directory. Location of functions.php : [website_root]/wp/wp-content/themes/[your_theme]/functions.php Read the rest of this entry »
This plugin provides an easy to use interface to create and administer custom post types and taxonomies in WordPress. This plugin is created for WordPress 3.0.
Below is a short example video showing Custom Post Type UI in action!
Latest version: Download Custom Post Type UI v0.6 [zip]
- Upload the Custom Post Type UI folder to the plugins directory in your WordPress installation
- Activate the plugin
- Navigate to Settings > Custom Post Type UI
That’s it! Now you can easily start creating custom post types and taxonomies in WordPress