WordPress.org

Ready to get started?Download WordPress

Forums

Need Help Modifying an Existing Theme. (4 posts)

  1. cbgfilms2
    Member
    Posted 5 years ago #

    Hi there, I would like to use just a part of this theme on the homepage of my website.

    The part I would like is just the part with the thumbnails and that's it. How? What part of the theme do I need to take? The theme is called Infinity, and can be downloaded here.

    4 or 6 recent posts would be displayed on the homepage using that thumbnail technique, and would get the posts from here.

    Thank you.
    However if this isn't possible, please suggest similar tools.

  2. cbgfilms2
    Member
    Posted 5 years ago #

    Can anyone help??

  3. esmi
    Theme Diva & Forum Moderator
    Posted 5 years ago #

    Unless you're pretty handy with WordPress theme development, HTML and CSS, it isn't possible to just use part of a theme.

  4. t31os
    Member
    Posted 5 years ago #

    You could re-create that look, but you'd need some customised code..

    And a clear picture of how to handle the content in those areas. Simply put i think i'm with esmi, in saying it's not possible, unless of course you're capable with HTML and CSS. Be that the case i don't think you'd have asked to begin with.....

    If you can handle code ok then this a brief run down on what to do...

    Create the HTML for the layout.
    Create a new WP query to pull the posts that have the thumbs.. whether that be from a custom cat or something else (like i said you need an idea of how to handle the conte)...
    Create a loop for the new query stripping what you do and don't need...
    Create code to grab an image for each result, whether by custom field or post attachment..
    Add the code into the page you want it on.. index, cat archive, day archive... etc... etc...

    It's quite possible, and there's a few themes about that come bundled with these kinds of functions, so you may wish to take a look at whats out there. Even if you don't like a theme's look, it may be worth looking at the code if it has a particular feature you like...

    Mix 'n' Match style...

Topic Closed

This topic has been closed to new replies.

About this Topic