When I change some content in function of template-tags file in inc folder then its not working and show same as loke before

Just happened to be dealing with a situation somewhat similar to this one (I think). In short, if – and only if! – the parent theme is well-written, with functions enclosed by if ( ! function_exists(‘function_name’) ) conditionals, then all you will need to do is place your replacement function in your child functions.php. In … Read more

why child theme style sheet in wordpress editor is blank?

Make sure the styles.css in the child theme folder has the proper tags (opening and closing). Child themes, when first created, usually have a blank styles.css file, with just the open/close ‘styles’ tag. Although probably not the answer, perhaps extra spacing is before the opening tag? (Shouldn’t make a difference if there is…)

Alpha-store-child does not save changes

Did you enable the child-theme? When using child-themes you should enable the child instead of its parent. However when I make changes in browser, they disappear when the website reloads. Are you using the inspector of your browser? When making changes in there, you should also apply these in your css file via FTP ( … Read more

Calling Category name without the link

What you are looking for is get_the_category(). Retrieve a list of the categories, and then run a loop and only output their names: $categories = get_the_category(); if ( ! empty( $categories ) ) { foreach( $categories as $category ){ echo esc_html( $category->name ); } } This function returns an array of WP_Term objects. You can … Read more

how to fix loading scripts in child theme?

You are using a child theme here, it means that you should use get_stylesheet_directory_uri() to get the child theme’s directory. So, in your case, get_stylesheet_directory_uri() will return: localhost:8888/wp-content/themes/x-child/ and get_template_directory_uri() will return: localhost:8888/wp-content/themes/x/ Use this to build your paths. Also, pay attention that you need to include a forward slash before your style/script’s name, since … Read more