I have problems with loading javascripts

You seem to be loading both file/folder names into the queue. get_template_directory_uri() . ‘http://fitclaw.com/wp-content/themes/Coming%20Soon/js/jquery.js should only be: get_template_directory_uri() . ‘/js/jquery.js’ And so-on and so-forth. because get_template_directory_uri returns, or should be returning this string for you: ‘http://fitclaw.com/wp-content/themes/Coming%20Soon/’ And you should always try to use those relative paths versus hard-coding them.

Shotcode argument issues

You need to pass $atts as parameter to the function. Also you don’t need to use extract() function and better you avoid this extract function as much as you can. So your whole code block will be- function some_function_bbb( $atts ) { $atts = shortcode_atts( array( ‘hexabexa’ => 0 ), $atts ); ob_start(); ?> <div … Read more

REQUIRED: get_bloginfo(‘template_url’) was found in the file search.php. Use get_template_directory_uri() instead

Is the image in a child theme? If so, use get_stylesheet_directory_uri() instead as it will grab the child theme URL. get_template_directory_uri() grabs the parent theme. Depending on your PHP version adding a semicolon also might make a difference, and typically image src uses double quotes rather than single. <img src=”https://wordpress.stackexchange.com/questions/286570/<?php echo get_stylesheet_directory_uri(); ?>/img/no_results_found.png” />

execute function after one completed

If you look at the source wp-includes/post.php, then you’ll see that wp_transition_post_status(), which contains transition_post_status, at both occurrences, in wp_insert_post() and wp_publish_post(), is called before the save_post hook. In short, the order is just different than you want it to be.

::before on open/close function [closed]

Your shortcode return text. Wrap return into some HTML, like <div class=”status_text”></div> and style this block. add_shortcode( ‘linestatus’, ‘line_status_handler’ ); function line_status_handler( $atts ) { extract( shortcode_atts( array( ‘open_time’ => ’09:00:00′, ‘closed_time’ => ’17:00:00′, ‘open_text’ => ‘our lines are open’, ‘closed_text’ => ‘our lines are closed’, ), $atts ) ); if ( time() >= strtotime( … Read more

How to add_filter html template to middle of content

You should use add_filter() instead of apply_filters(). apply_filters() is used to apply the filter that’s been registered with add_filter(). Please check the following code for the solution – function bbtre_amazon_content_filter( $content ) { if ( ! is_single() ) { return $content; // Return early if not single post } // Paragraphs array without the closing … Read more