• Resolved jarvis88

    (@jarvis88)


    Hi there!!

    I have a custom page as my home page and my posts are displayed on my blog page..

    But, I want to change the layout of my home page. I dont want the sidebar to display on the home page, so intead of having a 2 column layout on my home page, I want a 1 column, where I could create div’s to display a short paragraph saying what I do, beneath that 3 pics from my portfolio, beneath that 3 columns that has an excerpt from about us, news, and recent posts.

    How would I customize a custom page like this? Does anyone know of posts on this or any plug-ins that might do this?

    Please help!!!

    Thanx!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter jarvis88

    (@jarvis88)

    okey, I found a solution to my own problem! lol!! I found a plug in that does what I’m looking for, so here it is for incase someone has a similar question!

    page columnist

    But this presents another question that still kind of relates to the topic. Is there a way to completely remove the sidebar from certain custom pages??

    Please help!!!

    Thanks!!

    Thread Starter jarvis88

    (@jarvis88)

    sweet!! I fixed my own problem!! lol!! Don’t you just love when that happens!! If any one wants to know how to do this, just reply to this cause I’m to lazy to write it all out knowing that this might not help someone!! lol!!

    drewshen

    (@drewshen)

    hey jarvis88, i think i need to do the same thing for my page, will that plugin cover everything? I want to have my index point to a static page, however i want this static page to look different from my normal pages that users will create with wordpress. does this make sense?

    Thread Starter jarvis88

    (@jarvis88)

    jup! makes sense! Well, to get rid of the sidebar on certain pages I used a different method and not a plug-in. For that plug-in, I havn’t tested it out, but it looks fool proof and lots of good comments. and it looks like it should do what I want with layout.

    I can help with the sidebar, but still have to play with the plug-in and see if it works perfectly.

    I can only help if you using version 2.7. Don’t really know the previous versions so well…

    And what theme are you using? I prefer not to use the default theme…

    drewshen

    (@drewshen)

    thanks! and that would be great if i could remove the sidebar for this page as well. i am using the default theme however, and wordpress 2.7

    Thread Starter jarvis88

    (@jarvis88)

    unfortunately I have to get going… but will check out the default theme tomorrow and what would need to be changed there.. wana leave ur email and then I can email you or just post it here?

    Thread Starter jarvis88

    (@jarvis88)

    P.S.

    Do you know css?? else this might get a bit complicated…

    drewshen

    (@drewshen)

    thank you so much! you can email me at [email protected] and i do know css

    drewshen

    (@drewshen)

    jarvis88, i think i created a solution to removing the sidebar, i just made a new page template and removed the sidebar php reference. I also saw the solution for removing the sidebar for a certain page, within page.php:

    <?php if(is_page('Page Name')) : else : get_sidebar(); endif; ?>

    However, there is still a space where the sidebar should be. is this where the css comes in? How can i make a certain page template show no space for the sidebar, but fill up the entire space? thank you!

    benamram

    (@benamram)

    Any idea how can I make “Leave a Reply/comments” section expose and include username, email address and homepage? I just started my blog: https://www.joeguru.net and this section is totally hidden – viewers must select a specific posting to see the comment box. Please help

    Thread Starter jarvis88

    (@jarvis88)

    @drewshen Well done! Proud of you!! lol!! I suggest the first one, as its easier to do for you and potential clients if they ever needed to have such a page! All you got to do know is change some css…

    In your new page template there should be a main div thats something like <div id="sideleft"></div> thats if you just copied the original page template and just removed the get command for the sidebar! change that id to anything you want, eg pagecenter. Then go into your css, you should find the sideleft id’s there. All you do know is you copy that and all classes that relate to that id and change the id’s to pagecenter. That way you keep the css for that page template.

    Now just change the width of that pagecenter id(or what I would presume would be a margin seeing that your using the default theme) to the total width of the sideleft plus the sidebar width. that should sove your blank space problem…

    @benamram I like what you’ve done, just some advice… Maybe increase the spacing between your paragraphs in your css, its a lil hard to read…

    Secondly, this is kind of a solution to your problem but also not really the exact one your looking for (which I’m not really sure how to do), I feel its good practice to add a “read more” tag to your posts, that way it gives a small introduction to your post, and gives them a reason to click to read the whole post and then leave a comment.

    By doing that you dont bombard your readers with all the information, they can quickly scan through the info and see what they like and want to read, and it keeps your blog clutter free… So in the end you have a happy reader base.

    Please note I am not criticizing, only trying to help out…

    Hope this helps!

    drewshen

    (@drewshen)

    that worked! thanks again for the help. the page.php in the default theme calls that section <div id="content" class="narrowcolumn"> so I had to rename both of those sections in the css.

    Hey jarvis88 or drewshen, once you’ve created the new page template & div how do I call that template so that it’s used when that page is called? I have a forum that I want “full width” without the sidebar. I have successfully make a new template called forum and have removed the sidebar call but now what? How do I tell my site to use the “forum” template over the “Page” template? Sorry if this is a stupid question, still getting used to WP. Thanks!

    Thread Starter jarvis88

    (@jarvis88)

    put this in your forum.php file

    <?php
    /*
    Template Name: Forum
    */
    ?>

    Now go to your admin, and change the template file for that page to Forum.

    P.S.
    You can change Forum to whatever you like.

    Thread Starter jarvis88

    (@jarvis88)

    Oh, sorry, put it right at the top with no spaces before the php start tag.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Custom page layout change??’ is closed to new replies.