How to show only featured images from posts in 1 page?

by Ayaz
5 replies
  • WEB DESIGN
  • |
Hi,

I am creating a site where I want to use only the featured images from particular category's all posts on single page.

I tried few tricks but only able to get the post content could not get the featured images attached to those posts.

Would be really appreciated if some body guide me how to do that.

Thanks & Regards,

Ayaz
#featured #images #page #posts #show
  • Profile picture of the author webpeon
    All depends on how you are saving the images...

    if you are using a File system to store the images and a database to store the url's for that image it would be as simple as using a select - where statement

    eg

    SELECT Images FROM AllImages WHERE featured = true
    Signature
    Web 2 Mobile
    The Future of The Web
    {{ DiscussionBoard.errors[5738469].message }}
  • Profile picture of the author Hafeez
    Upload your images to "Library" and open your post for edit.
    In editor place the cursor where you want to insert the image then click on "Insert Image" button. Library will open and now you select the image you want to insert and click the 'show' link on right side of image.

    When image window is open then look for a link "use as featured image" or insert image button.

    Image will be inserted to your post. you can also select the image alignment to center, left or right.

    Save/update your post and preview in browser. Image should display within the post.
    {{ DiscussionBoard.errors[5738578].message }}
  • Profile picture of the author Istvan Horvath
    Everybody is wrong... and posting in this way it just creates frustration and garbage.
    Here are some guidelines for the future:

    @Ayaz: next time describe properly and in details what kind of CMS are you using (if any). E.g. if you use Joomla, tell us the version, the template, how you make those "featured" things etc.

    @webpeon: if you don't know those details - do NOT answer with guesses. Ask back for clarification.
    (I noticed in another thread you stating not being familiar with a certain CMS, yet posting advice. Don't do it!)

    @Hafeez: You should read carefully the OP before replying. Your answer has nothing to do with the question.
    Signature

    {{ DiscussionBoard.errors[5739303].message }}
    • Profile picture of the author Ayaz
      Thanks Istvan for clarification.

      I am using wordpress 3.0.1 and I am using Genesis child theme.

      I am creating posts and attach featured images to those.

      I know how to insert featured images with the same way as hafeez describes, but I actually looking for to show all those featured images on 1 single page e.g.

      I am creating posts with featured images of my sponsors in sponsors category and I want to show all those images within sponsors category on single page called "client".

      I hope this will clarify.

      Thanks & Regards,

      Ayaz
      {{ DiscussionBoard.errors[5740075].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by Ayaz View Post

        I am creating posts with featured images of my sponsors in sponsors category and I want to show all those images within sponsors category on single page called "client".
        Wrong approach.

        If WordPress - it's time to learn the tool you are using!
        Displaying posts on a Page is always a PITA in WordPress and - most of the time - there is no need for it.

        Displaying posts from a certain category is done, automatically, through the "category archives" - i.e. clicking on a cat name > results in displaying the posts from that cat.

        Learning about the Template Hierarchy you will know what you need... most likely a custom Category Template. Using the various template tags you can then display whatever you want on that category archive.
        Signature

        {{ DiscussionBoard.errors[5742069].message }}

Trending Topics