X7ROOT File Manager
Current Path:
/home/okeydcqc/pointecgroup.com/wp-content/themes/oceanwp-child-theme-master
home
/
okeydcqc
/
pointecgroup.com
/
wp-content
/
themes
/
oceanwp-child-theme-master
/
ðŸ“
..
📄
README.md
(595 B)
📄
functions.php
(1.08 KB)
📄
screenshot.png
(55.13 KB)
📄
style.css
(286 B)
Editing: functions.php
<?php /** * OceanWP Child Theme Functions * * When running a child theme (see http://codex.wordpress.org/Theme_Development * and http://codex.wordpress.org/Child_Themes), you can override certain * functions (those wrapped in a function_exists() call) by defining them first * in your child theme's functions.php file. The child theme's functions.php * file is included before the parent theme's file, so the child theme * functions will be used. * * Text Domain: oceanwp * @link http://codex.wordpress.org/Plugin_API * */ /** * Load the parent style.css file * * @link http://codex.wordpress.org/Child_Themes */ function oceanwp_child_enqueue_parent_style() { // Dynamically get version number of the parent stylesheet (lets browsers re-cache your stylesheet when you update the theme). $theme = wp_get_theme( 'OceanWP' ); $version = $theme->get( 'Version' ); // Load the stylesheet. wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'oceanwp-style' ), $version ); } add_action( 'wp_enqueue_scripts', 'oceanwp_child_enqueue_parent_style' );
Upload File
Create Folder