• Resolved bibigeon

    (@bibigeon)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bibigeon

    (@bibigeon)

    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 !

    Theme Author ruphel

    (@ruphel)

    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.

    https://codex.www.ads-software.com/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

    Thread Starter bibigeon

    (@bibigeon)

    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 !

    Theme Author ruphel

    (@ruphel)

    ?? Great to hear Bibigeon, best of luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding content below the widget on the front page’ is closed to new replies.