• Hi everyone,

    I wanted to ask for some suggestions to create a custom section in my index page that will show two recent projects that I posted.

    so the structure of the index will looks like:

    1. Posts (using the loop and getcontent() etc. Normal articles
    2. Recent Projects

    Recent projects will be just a thumbnail wit a decription. But ofcourse i want wordpress to show the recent projects automatically, so that i can just like writing a normal post add projects via the admin panel.

    My question is how can i distinguish the normal article posts with a project posts and how to deal with the image, is there a function to call the image of a post individually?? Does anyone have a suggestion of the best way to do this?

    Sorry I ask to much . . .

    thnx in advance,

    Calvin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Read up on the use of custom fields. If each post is a new project under the category “Recent Projects” then you can set up a custom field of 1-x number of images (linked or not) and then customize your category_x.php template (where x is the id for that category) to conditionally look for custom fields and display their content.

    There have been plugins to make this easy (c2c_custom) in the past versions but I haven’t tested to see if those work in 2.5x versions.

    HTH

    Thread Starter hycalvinc

    (@hycalvinc)

    Thanks for the tip, I will check it out !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Projects Enteries’ is closed to new replies.