Forum Replies Created

Viewing 5 posts - 121 through 125 (of 125 total)
  • Author
    Posts
  • in reply to: Double spaced category description #95636
    Edwin
    Participant

    Thank you

    in reply to: Double spaced category description #95626
    Edwin
    Participant

    Thanks. Here is what I intend to insert into the child theme folder:

    1) style.css

    /*
    Theme Name: Adventurous Pro Child Theme
    Template: adventurous-pro
    */

    /* =Child Theme Custom CSS
    ————————————————————– */

    2) functions.php

    <?php
    /**
    * Child Theme functions and definitions
    *
    */

    /**
    * Loading Parent theme stylesheet
    *
    */
    add_action( ‘wp_enqueue_scripts’, ‘catchbox_child_enqueue_styles’ );
    function catchbox_child_enqueue_styles() {
    wp_enqueue_style( ‘catchbox-parent-style’, get_template_directory_uri() . ‘/style.css’ );
    }

    3) archive.php just paste the referenced code in after above steps are implemented

    4) functions.php – simply paste the referenced code at the bottom of the existing functions.php file after steps one and 2 implemented. If there is a php closing tag remove it first.

    5) add referenced code into custom css box.

    If something is not correct please clarify.

    After I implement steps 1 and 2 how do I verify it was correctly done and I should proceed with the other steps?

    in reply to: Double spaced category description #95617
    Edwin
    Participant

    I reviewed this and I have a few questions about the steps.

    1) style.css – I entered the Theme name and Template accordingly, should I just leave everything else the same as the parent theme? Or remove it as it is optional?

    2) Functions.php – the way the instructions are worded in the link you sent seem ambiguous to me. Please note that I have no experience at what we are attempting to do.

    It says that the functions.php file begins with a PHP opening tag and ends with a closing tag. But your sample does not have the closing tag. This throws me off. I don’t know if I add the closing tag and then insert the enque function below the closing tag. But then a bunch more questions come up like does the enque function need a opening and closing tag? Where in the function.php file is it inserted exactly? Above or below? You assume I know these things.

    In Theme editor in my wordpress admin I noticed that functions.php file does not have a PHP closing tag….this does not help explain things.

    I found useful information at https://codex.wordpress.org/Child_Themes

    Their function.php creation instructions make sense but they dont match up with yours.

    For example: this step is not necessary in their instructions

    <?php
    /**
    * Child Theme functions and definitions
    *
    */

    They just say add the enque function. There is no mention or sample code concerning the above on their website. Their samples also include the opening and closing php tags.

    You say in your instructions “that at this point your childs theme works just fine” how am I supposed to know this? I would not know if it was done correctly, if I used your sample it wouldn’t have a php closing tag – is this correct method?

    3) archive.php – if this involves more then just creating a empty archive.php then I need to find instructions for it which I have not searched for yet. Otherwise if I simply paste the code in then it should be pretty easy. The code in the link you sent has opening and closing PHP tags.

    If creation involves additional code other than that contained in the link you sent then I need to know where to put it in the file, same question as I have for the function.php

    4) Functions.php – please clarify how and where to insert the code in the functions.php file I create. Same question as above again – I dont know for certain how to insert correctly, also need clarification about closing php tag.

    5) Custom CSS box – as long as all I do is paste the code in there it should be simple. But does the css box know automatically where to insert the code? I dont know this I have never done it.

    6) If something goes wrong is the fix simply to delete or remove the files I added from the WP content -theme directory?

    If you could clarify -exactly- some of these issues then this should be much easier and done effectively the first time (hopefully).

    in reply to: Double spaced category description #95579
    Edwin
    Participant
    in reply to: Double spaced category description #95575
    Edwin
    Participant

    In general, category descriptions in this theme are very barren. I tried to install various widgets but they don’t seem to function very well. What are my options here? for example why does it need to display “category archives” at the top of the category page? It isn’t necessary and it looks very uninspiring. The description editor is really nonfunctional for the most part. My only option is double spaced text. It also makes SEO very difficult or impossible

Viewing 5 posts - 121 through 125 (of 125 total)