Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Forum: Reviews
    In reply to: [WP Splash Page] Great !
    Thread Starter Pru123abc

    (@pru123abc)

    Forgot to say I am using version 4.1 of wordpress (newest version to date) and the plugin works a treat.

    Thread Starter Pru123abc

    (@pru123abc)

    Help ? Anyone ?

    Thread Starter Pru123abc

    (@pru123abc)

    Sorry ! I indeed forgot to leave a link to my website.
    Here it is:
    https://www.prunellechamaret.com

    Hope someone can help with my menu box dimensions.

    Thanks !
    Pru

    I am now using Easy Google Fonts plugin and it is working nicely for me. It’s easy to use. I heard they have a forum and good customer service in case you need help.
    Might be worth checking it out ?

    Same problem here :/

    Thread Starter Pru123abc

    (@pru123abc)

    Thank you Ahockley, removing the semicolons allowed for my child theme to appear in my wp-admin themes menu. ??
    I have activated it but my website doesn’t look quite right. It seems there was a problem with importing my parent’s style.css sheet.

    Here is what is displayed on my website:

    “Warning: include_once(): Failed opening ‘/home/myusername/Prunellechamaret.com/wp-content/themes/matchbook2-child/includes/stop-ie6/stopie6.php’ for inclusion (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/myusername/Prunellechamaret.com/wp-content/themes/matchbook2/functions.php on line 32

    and

    Warning: include_once(/home/myusername/Prunellechamaret.com/wp-content/themes/matchbook2-child/includes/stop-ie6/stopie6.php): failed to open stream: No such file or directory in /home/myusername/Prunellechamaret.com/wp-content/themes/matchbook2/functions.php on line 32

    Any idea why this message is appearing on my website ? And why the layout doesn’t look right ?
    Thank you for your hep !

    Thread Starter Pru123abc

    (@pru123abc)

    Hello ahockley ??

    Thanks a lot for your answer.
    I decided to start from scratch once again.

    1/I activated my matchbook2 theme in wp-admin. (Although I installed matchbook2 via wp-admin, it still appears in filezilla.)
    2/In filezilla, I went to :
    myusername–>prunellechamaraet.com–>wp-content–>themes
    I creatted a new directory: “matchbook2-child”
    3/Inside that new file I created two files which I edited with my windows notepad.
    style.css and functions.php
    The codes I used are:

    style.css

    /*
    Theme Name:   matchbook2 child;
    Theme URI:    https://wordpress:8888/;
    Description:  This is a child theme;
    Author:       Pru;
    Author URI:   https://prunellechamaret.com;
    Template:     matchbook2;
    Version:      1.0.0;
    */

    functions.php

    <?php
    add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
    function enqueue_child_theme_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
        wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style')  );
    }

    But wordpress still says that “The parent theme is missing. Please install the “matchbook2;” parent theme.”

    Am I doing something wrong ?
    Thanks for your help ??
    Pru

    Thread Starter Pru123abc

    (@pru123abc)

    Hello Fevered ??
    Thank you very much for your answer.

    I tried to follow your explanation as for the dog picture (my second “issue”.
    So I managed to prevent the picture from being opened in another tab, now if someone right click on the picture it will redirect them to the home page of https://www.prunellechamaret.com/#/sample-page

    I tried removing the height and width of the picture as well as adding .content-middle img {max-width: 100%;}
    The picture is bigger now and hum now there is a lateral scroll bar on the bottom of the text box. I wanted the picture to fill the entire space in the text box, from side to side, in width.
    My new code looks like that now:
    <a href=""><img src="https://www.prunellechamaret.com/wp-content/uploads/2014/10/P1050193-Copie-2-Copie-1024x590.jpg" alt="P1050193 - Copie (2) - Copie" class="alignnone size-large wp-image-23 .content-middle img {max-width: 100%;}" /></a>

    I am sure it looks weird.

    ————————–
    But, first and foremost I think I need help with creating a child theme with Filezilla. I tried creating one, the right way, with a style.cc file and a functions.php file. But wordpress is saying:
    matchbook2 child; The parent theme is missing. Please install the “matchbook2;” parent theme.

    So I reinstalled the parent theme via wordpress and not via filezilla, but I still get the same message. “The parent theme is missing. Please install the “matchbook2;” parent theme. “

    Do you think my theme equipped to allow child themes ? Or is my problem that I am using windows notepad to edit style.css files ?

    This is what I wrote this in my child theme’s style.css:

    /*
     Theme Name:   matchbook2 child;
     Theme URI:    https://wordpress:8888/;
     Description:  This is a child theme;
     Author:       Pru;
     Author URI:   https://prunellechamaret.com;
     Template:     matchbook2;
     Version:      1.0.0;
    */

    and this in my child theme’s functions.php

    <?php
    
    add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX);
    function enqueue_child_theme_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
        wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style')  );
    }

    Thanks again for your help !
    Pru

Viewing 8 replies - 1 through 8 (of 8 total)