Full width widget on the home page

Community Forums Forums Design Tips and Tricks Full width widget on the home page

This topic is: not resolved

This topic contains 6 replies, has 4 voices, and was last updated by  John 1 year, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4222

    Hi I would like to add a full size widget to my home page just under the bottem 3 widgets as i need to put in plcae quite a large table any ideas how i can do this?

    my site is http://www.nicheadvice.co.uk

     

    Also any ideas how i can have a constent widget at the bottem of my other pages very similer to the site below where they have put there terms and conditions

    http://www.charcol.co.uk/mortgagecalculator/borrow-amount-mortgage-calculator/

    #4334

    Posh John
    Participant
    Post count: 42

    You would first need to register a new sidebar area in your functions.php file – something like this:

    EDIT: Sorry i am having real issues posting code here without the format getting all screwed-up :-(

    Then you will need to add that area to wherever you want it. To achieve this you will either need to add something to your home.php if you have one (and you want it on your homepage) or use some conditional logic in your function.php file.
    When i add several areas to my homepage i usually do it in 3 stages…adding the actions, creating helper functions to test if the sidebars are active, and the actual functions to output the content, so:

    EDIT: Sorry i am having real issues posting code here without the format getting all screwed-up :-(

    You don’t always need to use a helper function, but that’s the way i do it. You may want to take a look at NickTheGeek’s website for some great tutorials on this kind of stuff…


    Thus the heavens and the earth were completed in all their vast array. Genesis 2

    • This reply was modified 1 year, 7 months ago by  Posh John.
    • This reply was modified 1 year, 7 months ago by  Posh John.
    • This reply was modified 1 year, 7 months ago by  Posh John.
    • This reply was modified 1 year, 7 months ago by  Posh John.
    #4340

    Posh John
    Participant
    Post count: 42

    Removed badly formatted code…


    Thus the heavens and the earth were completed in all their vast array. Genesis 2

    • This reply was modified 1 year, 7 months ago by  Posh John.
    • This reply was modified 1 year, 7 months ago by  Posh John.
    #4355

    anitac
    Participant
    Post count: 7041

    Here – add this – http://www.briangardner.com/welcome-text-widget/ but you will need to Visual Hook Guide to place it down by the footer for your theme – http://genesistutorials.com/visual-hook-guide/.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #4933

    This looks like a mission to do. I thought it might be a simple copy and past job. Thanks for your help but i may have to leave it..

    #4934

    anitac
    Participant
    Post count: 7041

    It is a copy paste. Just read his instructions. He tells you exactly where to copy and paste the code.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #4975

    John
    Participant
    Post count: 155

    Posh John,

    The way to paste code here that works for me is to switch to the HTML tab, paste in your code, make sure there are no empty lines, select the code, click the “code” button in the toolbar, and you’re good to go. That should add an opening and closing “code” tag on either end of your code, which you can see in the HTML editor but not in the Visual editor.

    I’ve found that I can switch back and forth from Visual to HTML and the code stays like it should.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.