Child Theme ?

This topic contains 4 replies, has 3 voices, and was last updated by  Paolo 6 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #388740

    Itchytrig
    Free User
    Post count: 7

    Hi,

    I have installed the GeoDirectory Plugin + the Directory Starter and Supreme Directory themes…

    All good, but how do I create an actual child theme for the above? I only want to make some changes to the footer and so have followed normal procedures for creating a child theme, but it is not appearing in the admin Appearance > Themes at all?

    Created a simple style.css that calls / imports the Supreme Directory CSS as normally works with all WordPress sites, but in this case nothing…

    Hope you can help with this?

    Much appreciated !

    #388752

    Itchytrig
    Free User
    Post count: 7

    Hi,

    Oh and I have applied this functions.php too, but still nothing showing up in admin:

    
    
    <?php
    add_action( 'wp_enqueue_scripts', 'parent_theme_enqueue_styles' );
    function parent_theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    }
    ?>

    🙁

    #388758

    Guust
    Moderator
    Post count: 29970

    Supreme is the child theme for Directory Starter, so you cannot create another child theme.
    We suggest this plugin to make code changes: https://wpgeodirectory.com/docs/useful-plugins/#snippets

    Thanks

    #389514

    Itchytrig
    Free User
    Post count: 7

    Hi,

    Great thanks, but to ask your functions.php to use say a different footer.php template, how can this be achieved this way? With a normal child theme we can just add a footer.php and edit from there?

    Hope you can help!

    Thanks again

    #389518

    Paolo
    Site Admin
    Post count: 31206

    hi,

    if you want to replace the template, add it to the child theme and keep a backup for updates.

    Otherwise you filters that allow you to do the same without moving templates around.

    Please see: https://codex.wordpress.org/Plugin_API#Hooks:_Actions_and_Filters

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket