Translated words not showing child theme

Found my solution here in the following line after hours of researching for an answer. This little line is one thing that is left out by all tutorials and most answers Remember that your filenames have to be fr_FR.po & fr_FR.mo (depending on your language) and not domain-fr_FR.xx like the plugins do. So I just … Read more

Change Twenty Twelve’s comment form in a child theme

You can use filters in custom functions to modify the default output of the comments form via your child themes functions file. Modify the comment form “Leave a reply” text. add_filter( ‘comment_form_defaults’, ‘wpsites_modify_comment_form_title’ ); function wpsites_modify_comment_form_title( $defaults ) { $defaults[‘title_reply’] = __( ‘Leave a Comment’ ); return $defaults; } Remove The Website URL Field From … Read more

Adding function from parent theme to child theme

In your child functions file, try: remove_action(‘admin_init’, ‘kioken_builder_init’); function ben_kioken_builder_init() { if ( defined(‘WPB_VC_VERSION’) ) { //etc } } add_action(‘admin_init’, ‘ben_kioken_builder_init’); You don’t need the if(is_admin()) check because admin_init only fires on admin pages.

WordPress + Child Theme = Am I missing something?

Actually @Pieter Goosen took care of the issue when he corrected the Codex and removed the call to the extra style sheet. So in fact this works the way it should add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ ); function theme_enqueue_styles() { wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ ); } Thanks Pieter.

CSS stopped working after line 150 [closed]

It seems to me that you’ve not declared ‘lora’ in your stylesheet…all I can see is lorabold, lorabold_italic, loraitalic, loraregular. So I imagine that the css is being interpreted as font-family: !important; and although I’m not 100% I’m pretty sure this is what’s causing your problem. Try changing #wr-promo-title h1 {font-family: ‘lora’ !important;} to #wr-promo-title … Read more

Can’t create child themes. “Stylesheet is not readable.”

The template name needs to match exactly the directory name of the parent theme, and you need a functions.php file in the child theme folder. IE: /* Theme Name: Twenty Fifteen Child Template: twentyfifteen */ …or just use this plugin: https://wordpress.org/plugins/child-theme-configurator/ and look at the child theme it creates to learn how to do it.

I want to edit it on my laptop as a child theme and transfer the files to my server. I don’t know how

You’ve got a few hefty questions there so I’ll point you in the right direction. Run wordpress locally. You need MAMP (for mac) or WAMP (for windows). It’ll work just like your live site but the files will be on your computer. More info: https://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP Make a child theme for your site. This will allow … Read more

wp_enqueue wont work on some files?

That isn’t how functions.php works in WordPress. The functions.php in your theme root directory is loaded into WordPress environment by default as long as your theme is activated. It’s used as a plugin to add features and functionality of your theme to WordPress. You should take a look at theme functions and including css & … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)