Include below code inside ‘href’ attribute of ‘a’ tag:
<?php the_permalink(); ?>
Eg:
<a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a>
<a href=”<?php the_permalink(); ?>”><?php the_post_thumbnail(); ?></a>
Include below code inside ‘href’ attribute of ‘a’ tag:
<?php the_permalink(); ?>
Eg:
<a href=”<?php the_permalink(); ?>”><?php the_title(); ?></a>
<a href=”<?php the_permalink(); ?>”><?php the_post_thumbnail(); ?></a>