• Nice theme: I like the option to decide between showing summaries or whole posts on the startpage. Furthermore you chose a wonderful font. It’s not to big, not to small and sans-serif. The proportions are excellent. But could you add an option to show a header picture on every pages and posts, please? At the moment the header picture is shown only on the startpage.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Guido

    (@guido07111975)

    Thanks for your nice review!

    if you want to display the header on every page, you should remove two elements from file header:

    Line 43:

    
    <?php if ( is_front_page() ) {?>
    

    Line 47:

    
    <?php } ?> 
    

    Guido

    Thread Starter robologo

    (@robologo)

    That works well, thanks. But I would have to do this every time after an update. Don’t you think it would be better to add an option to the backend to switch it on or off?

    Theme Author Guido

    (@guido07111975)

    Hi,

    I might add this, when I update my theme(s) again. Meanwhile you could create a child theme and include the adjusted file header.

    This child theme is a zip-file that contains 4 files:

    1) A CSS file called style:

    
    /*
    Theme Name: OneColumn Child Theme
    Version: 1.0
    Description: This is a child theme.
    Author: robologon
    Template: onecolumn
    */
    
    // If you have CSS changes, you could add them here
    

    2) A PHP file called functions:

    
    <?php
    /*
     * Child Theme functions and definitions.
     */
    
    // Get stylesheet from parent theme
    function onecolumn_extra_scrips() { 
    	wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); 
    } 
    add_action( 'wp_enqueue_scripts', 'onecolumn_extra_scrips' ); 
    

    3) Your adjusted header file.

    4) A png screenshot (880px wide x 660px heigh).

    Create a zip-file from these 4 files, name it “child-theme” and install it like a regular theme.

    Guido

    • This reply was modified 6 years, 8 months ago by Guido. Reason: adjusted my response
    Thread Starter robologo

    (@robologo)

    Thanks for this manual. I did it without adding the png screenshot (880px wide x 660px heigh). I used an uncut .jpg file of my wp-backend. Please have a look: https://www.dietmarjanowski.de/wordpress/
    I stay tuned for your next update. It would be nice to inform me when it’s online.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Nice theme, but missing an option’ is closed to new replies.