Moesia child theme & Widget customization
-
Hi,
First thanx a lot for this great theme!I’m trying overriding the Services widget / block for the homepage.
I created my child theme (working so far) and copied the widget template to my child theme respecting original structure : “/widgets/fp-services.php”But I’m not sure how to implement the rest : new widget, template path overrride…
I found vladff comments in this thread, but information there arn’t enough detailed for my ignorance level…
Also here is my child-theme files :
style.css/* Theme Name: Moesia 4 Androne Template: moesia Author: Concept-43 Version: 0.1 Updated: 2014-12-02 10:52:55 */ @charset "UTF-8";
functions.php
<?php // Exit if accessed directly if ( !defined('ABSPATH')) exit; // BEGIN ENQUEUE PARENT ACTION if (!function_exists('chld_thm_cfg_parent_css')): function chld_thm_cfg_parent_css() { wp_enqueue_style('chld_thm_cfg_parent', get_template_directory_uri() . '/style.css'); } endif; add_action('wp_enqueue_scripts', 'chld_thm_cfg_parent_css'); // END ENQUEUE PARENT ACTION
I also tried adding the following to my functions.php without success :
if ( function_exists('siteorigin_panels_activate') ) { require get_stylesheet_directory() . "/widgets/fp-services.php";
Thank you in advance for your help!
PS : This is a re-post of my misplaced thread which I asked for deletion.
- The topic ‘Moesia child theme & Widget customization’ is closed to new replies.