Support » Theme: Fluxipress » Child theme of Fluxipress not working

  • Resolved Adam Blythe

    (@adsleeblythe)


    Hi,

    Please can somebody advise me how to get my child theme of Fluxipress to work!

    I have created child themes before and have followed the WordPress codex exactly. I have also read numerous threads related to Fluxipress saying that there are typos in the back-end!

    This is a great theme! However, this issue is annoying!

    Thanks

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

    (@michael-kloepzig)

    The typos occur in relation to the translation functions, this should not affect child themes. It will be fixed soon.

    Can you zip your child theme and upload it somewhere?

    Thread Starter Adam Blythe

    (@adsleeblythe)

    Oh OK, I am really stumped then!

    Certainly. Please download my theme.

    I would just like to add, my child style.css only contains:

    /*
    Theme Name: Fluxipress Child
    Template: fluxipress
    */
    @import url("../fluxipress/style.css");
    
    #header { text-align: center; }

    And I have modified my child header.php to use a conditional tag (is_front_page) in h1:

    <?php if(is_front_page() || is_home() ) : ?>
                                            <h1 id="blog-title">
                                    <?php else : ?>
                                            <strong id="blog-title">
                                    <?php endif; ?>
    
                                    <a href="<?php echo home_url(); ?>" title="<?php echo str_replace('"', '\'', $blogTitle); ?>">
    
                                            <img src="http://www.adamleeblythe.co.uk/wp-content/themes/fluxipress-child/images/alb-logo.png" alt="<?php echo $blogTitle ?>" />
    
                                            <?php echo $blogTitle ?><br />
                                            <span><?php echo $blogDescription ?> </span>   
    
                                    </a>
    
                                    <?php if(is_front_page() || is_home() ) : ?></h1>
                                    <?php else : ?></strong><?php endif; ?>
    Theme Author Michael Kloepzig

    (@michael-kloepzig)

    Ok, gotcha. Changing the way the style.css is implemented did the trick:

    <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_stylesheet_uri(); ?>" />

    This has to be done in your child theme’s header.php, and i will change it in mine, too.

    Thread Starter Adam Blythe

    (@adsleeblythe)

    Thanks so much Michael! It worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child theme of Fluxipress not working’ is closed to new replies.