WordPress.org

Ready to get started?Download WordPress

Forums

Fluxipress
[resolved] Child theme of Fluxipress not working (5 posts)

  1. adsleeblythe
    Member
    Posted 9 months ago #

    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

  2. Michael Kloepzig
    Member
    Theme Author

    Posted 9 months ago #

    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?

  3. adsleeblythe
    Member
    Posted 9 months ago #

    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; ?>
  4. Michael Kloepzig
    Member
    Theme Author

    Posted 9 months ago #

    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.

  5. adsleeblythe
    Member
    Posted 9 months ago #

    Thanks so much Michael! It worked!

Reply

You must log in to post.

About this Theme

About this Topic