Editing The HomePage Layout

I am using a theme that I like. I like the basic design (look and feel) and the features. However, I have another homepage (from another theme)  that I want to for this current website.


How do I create a new homepage using that?

I know that I would have to code a custom page and I can make that my home page. However, I am not sure where and how to begin doing that.

(can I just take / copy the homepage code from the other theme after buying it and just use that for the homepage)?

I don’t want to do anything that might mess up the whole site.
smuralisankarAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineDon't talk to me.Commented:
(can I just take / copy the homepage code from the other theme after buying it and just use that for the homepage)?

You could certainly try it (just remember to back up the existing theme index .php and home.php first) and it may or may not work.  It depends on how much of the layout is just normal HTML and CSS and basic WP functions versus how much of it is custom coding and reliant upon custom functions.  You'll also need to make sure you grab the appropriate CSS from styles.css port that in as well.

Depending on your skill level with PHP and understanding of Wordpress architecture, you are always able to reverse engineer stuff and copy/paste it around.  However, you do need to be pretty good with this stuff to be successful.  

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
smuralisankarAuthor Commented:
Well, I am not profecient with PHP or any coding. I have managed to get along with the functions and layouts that the other themes have provided me all these years.

However, now I require custom made homepages.

What is the best solution for this.

For homepage -> customizing it

-> is it as simple as creating a page template and using that?

Do I have to make php changes or even CSS / HTML changes. Where do I make this?

Do I have to make changes to the style.css, index.php files?
Jason C. LevineDon't talk to me.Commented:
>> -> is it as simple as creating a page template and using that?

Not really, but similar.  Custom Page Templates are for "normal" pages with alternate layouts.  The home page is a special thing and you will be editing home.php in the theme files as well as other files.  The problem is that I can't tell you exactly what to do because there is a fair amount of flexibility in working with the home page.  The WordPress function is_home() gets used a lot in various files that can be called as includes by home.php and control the behavior.

For instance, the edits you make to home.php and associated pages will vary depedning on if the home page will serve a wordpress Page or if you are serving up the most recent posts (or both).  There's not a simple: do X, then Y, then Z solution.

>> Do I have to make php changes or even CSS / HTML changes. Where do I make this?

Yes to all three.  You will likely be editing index.php, home.php, single.php and perhaps page templates.  It depends on the theme structure.

>> Do I have to make changes to the style.css, index.php files?

Yes and yes.

>> Well, I am not profecient with PHP or any coding.

Honestly?  Hire someone to do this for you.  It's not an insignificant task and without a solid grounding in WordPress architecture you are more likely to break the theme than accomplish what you want to accomplish.
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

smuralisankarAuthor Commented:
What about creating a page template or customizing a page and then using that as the homepage?

There is an option in wordpress for doing that. I have done that before.
Jason C. LevineDon't talk to me.Commented:
It's still the same overall process as I describe above if you are trying to replicate another theme's page.  You can create a completely custom home.php and serve it up but you'll need to be able to do it from the code side, replicating functionality as necessary by copy/pasting the code.

You're looking for a simple answer to an issue that is not that simple.  Yes, you can create a custom anything for WordPress.  But you need to know about all of the structures to make it work properly.
smuralisankarAuthor Commented:
There are also other options like:

using plugins (including query post plugin)
using widgets

or anything else?
Jason C. LevineDon't talk to me.Commented:
Huh?
smuralisankarAuthor Commented:

The problem is that, this is a pretty small budget project. It is for a sport team fan site and they don't have a lot of money. However, it is an important project.

How much do you think it would cost to get a custom homepage and a few other custom pages/page templates done?
Jason C. LevineDon't talk to me.Commented:
>> How much do you think it would cost to get a custom homepage and a few other custom pages/page templates done?

Probably not a lot if you are willing to do some developer shopping.

Post your needs to jobs.wordpress.net and see what comes back.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.