problem in query_vars parameters

As best as I can understand, you are looking to echo out the value of a query variable. The WordPress function for getting a query variable is get_query_var(). So in your videolar.php template you would add: echo get_query_var(‘tur’);

Adding Parameters to get_comment

My point is: show posts last commenter name and comment date d F H:i together. Any suggestions? I think what you want is: $defaults = array( ‘post_id’ => $post->ID, ‘number’ => ‘1’, ‘orderby’ => ‘comment_date_gmt ‘, // default value; not really necessary ‘order’ => ‘DESC’, ‘status’ => ‘approved’, ); You shouldn’t need to run get_comments() … Read more

How to pass parameter that ends up being part of a class name with wordpress shortcode

The second argument of any WP shortcode is the content found inside the shortcode block. Additionally, Not sure how you are trying to use forward slash on a shortcode name, slashes are not allowed as a part of shortcode name. Try it like – function colored_box_shortcode( $atts, $content ) { extract( shortcode_atts( array( ‘color’ => … Read more