Skip to content

Instantly share code, notes, and snippets.

@Steeru
Created April 18, 2018 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Steeru/56d60a5a0616a7f4f59ff1c066ec9c71 to your computer and use it in GitHub Desktop.
Save Steeru/56d60a5a0616a7f4f59ff1c066ec9c71 to your computer and use it in GitHub Desktop.
<?php
/**
*Recommended way to include parent theme styles.
*(Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
*/
add_action( 'wp_enqueue_scripts', 'travel_log_child_style' );
function travel_log_child_style() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',get_stylesheet_directory_uri() . '/style.css',array('parent-style'));
}
/**
*Code to change the text "pax" of travelk info section.
*
*/
function wp_travel_customize_travel_info_section (){
return __( '%d Your text', 'wp-travel' );
}
add_filter ('wp_travel_template_group_size_text','wp_travel_customize_travel_info_section');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment