Fetching Video From YouTube Automatically [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 8 years ago. Improve this question I am using WordPress, and a theme called DeTube. Is kind of a YouTube clone, and I use this website to … Read more

Datetime on time tag wordpress puts it outside the tag

I want to use a time tag with the datetime attribute in it… I tried this in functions.php: <time class=”time” datetime=’. the_date(‘d-m-Y’) . ‘>%3$s ‘.get_the_time( $d, $post ).'</time>’ But instead of putting it in the time tag, it outputs the date in the content itself, which is very weird… How can this be solved? Answer … Read more

Tags outside the loop

I want to display the tags of the posts in my main page. I used: global $post; the_tags(); But it’s only showing up for my FIRST page. Answer Use: get_the_tags(); With the Post $idparameter so it works outside the loop Source: get_the_tags AttributionSource : Link , Question Author : user3492770 , Answer Author : Pieter … Read more

How to have H1 for site title only on Homepage?

I´m using the Leaf Theme and in the header the following code can be found: <?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) { ?> <a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”> <img src=”<?php header_image(); ?>” width=”<?php echo get_custom_header()->width; ?>” … Read more

How can I add meta tags in the WordPress header?

I want add WordPress post tags in meta property=”article:tag”. Something like this: This site is optimized with the Yoast WordPress SEO plugin v1.4.25 meta name=”robots” content=”noodp,noydir” meta name=”robots” content=”noodp,noydir” meta name=”description” content=”Download last music” meta property=”og:type” content=”article” meta property=”og:title” content=”download new music” meta property=”article:tag” content=”test2″ meta property=”article:tag” content=”test3″ meta property=”article:tag” content=”test4″ meta property=”article:section” content=”download” meta … Read more