Static page not working

I find the solution of your problem. In this theme, you can’t set page as home or front page, so your setting in Setting >> reading >> Your latest posts check. For blog page you can select template in your Blog page Page Attribute Template option as Blog or Blog template with large image. You … Read more

Finding wordpress file in theme editor using the theme name

I’m not entirely certain I understand what you mean but whenever a Page Template is set WordPress also sets postmeta with a specific key and value. The key is called _wp_page_template and the value holds the template location relative to the theme. So you could do this: $pages_with_templates = new WP_Query( array( ‘post_type’ => ‘page’, … Read more

wp_add_inline_style() not working?

You need to hook wp_add_inline_style to wp_enqueue_scripts. Check the codex example. Something like (not tested): function lethal_post_circle_background(){ global $post; $id = $post->ID; $custombgcolor = get_post_meta( $id, ‘bgcolor’, true ); $custombgimage = get_post_meta( $id, ‘bgimage’, true ); if($custombgcolor | $custombgimage){ $css=”.post-“.$id.’ .post-circle{ background:’; if($custombgcolor) $css .= $custombgcolor . ‘ ‘; if($custombgimage) $css .= ‘url(“‘ . $custombgimage … Read more

none of my css is working in my child theme

It looks like the code you copied from is missing the part where your child theme styles are actually added to WordPress. It’s a little strange they skipped over this, mind you! From the WordPress Codex article on child themes, you just need to modify your style enqueueing function so it includes this: wp_enqueue_style( ‘child-style’, … Read more