WordPress.org

Ready to get started?Download WordPress

Forums

Lobster
[resolved] Adding content below the widget on the front page (5 posts)

  1. bibigeon
    Member
    Posted 8 months ago #

    Hello,

    First of all let me congratulate you for the great work you've done with this theme, it's insanely great !!

    I would like to add below the widget on the front page more content but you would like it to be added straight into the source instead of creating a page... I can't find the place where im supposed to add the code.
    Would you be kind enough to give me a little clue ? :)

    Thanks a lot !

    Bastien

  2. bibigeon
    Member
    Posted 8 months ago #

    I kind of found a way to get around it by editing the file theme-options.php.
    It's not really what I wanted to do in the first place coz I suppose this file is not meant to be edited to add content other than the widget but down the line it works and I can get everything I need from that page.

    I still want to know how to edit the frontpage without going through theme-options.php though...it's way to messy as it currently is.

    I'm trying to do this because i want to get a single frontpage website, I reckon boostrap fits really nicely single page websites !

  3. ruphel
    Member
    Theme Author

    Posted 8 months ago #

    Hi Bibigeon

    You can keep all the changes to your theme-options.php if you use a child theme and by creating a 'inc' folder and copy the theme-options.php into it :) That way you can save your custom code.

    What I think what would be best for you is to create your own front-page.php template file.

    <?php
    /*
    Template Name: Your Front Page
    */
    
    get_header();
    
    //Your Custom Bootstrap Markup Here
    
    get_footer();

    You can copy templates that already exist, you can also add the WP loop to display posts. This way will give you by far the most freedom.

    http://codex.wordpress.org/Page_Templates

    Or you could add a dynamic side-bar and register a widget-area!

    Let me know if you want to register a new widget area.

    Hope this helps

  4. bibigeon
    Member
    Posted 8 months ago #

    Thanks for the quick answer ruphel !
    I don't think I need a new widget area, it works fine the way it is.

    I have created my own front-page.php and it's perfect, all the advantages of both WP and your theme with the freedom of coding what I want ! It's just as good as it could get !

  5. ruphel
    Member
    Theme Author

    Posted 8 months ago #

    :) Great to hear Bibigeon, best of luck!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.