Jump to content
Sign in to follow this  
Lisa Haran

homepage - is there an easier way to structure

Recommended Posts

Lisa Haran

hi there, Have this pagelines template is place my homepage is online @ http://www.kinlaydublin.ie/ all the styling is HTML code pasted into the content area. Problem is when my client goes to edit the paragraph of welcome text, he deletes my HTML code. I am wondering is there a way of adding module boxes to the default template ONLY so that I can add each script to a different module box. therefore the content area only contains hte welcome text. Facebook script Flickr script youtube

Share this post


Link to post
Share on other sites
Lisa Haran

if I could edit the default php template to add the following, then this would solve my problem, however I cannot locate the default template, looked in platfrom pro, index php, can I it there? <div id="homepage-level2-box1"> <?php the_block('Headline2'); ?> </div> <div id="homepage-level2-box2"> <?php the_block('Headline3'); ?> </div>

Share this post


Link to post
Share on other sites
cmunns

the default template is actually template.postloop.php and contains the main loop for all pages/archives.

Share this post


Link to post
Share on other sites
Lisa Haran

Thanks Adam, Ok so that won't work as I only want to edit homepage which used the default template. so here is another idea. I have this page set up uses boxes http://www.kinlaydublin.ie/boxtest/'>http://www.kinlaydublin.ie/boxtest/ to mimic homepage http://www.kinlaydublin.ie/ as each box has HTML & CSS in it to determine the background and script if any. Can I edit the style of each box individually as they need to be different widths and have different margins? I really need to redevelop the homepage to incorporate using Multiple Editable Content Blocks, where each block can be styled by CSS. http://wpmu.org/create-a-more-flexible-cms-with-wordpress-using-multiple-editable-content-blocks/ Am I fighting a loosing battle?

Share this post


Link to post
Share on other sites
catrina
Can I edit the style of each box individually as they need to be different widths and have different margins?
It's possible with CSS, yes. Each box has a different ID, so their IDs can be used to specify which styles are for which boxes.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×