Title: get_the_title problem
Last modified: October 14, 2017

---

# get_the_title problem

 *  [autox420](https://wordpress.org/support/users/autox420/)
 * (@autox420)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/the-right-php-code-very-simple/)
 * Hello!
 * Im just looking for little help to make the right code.
    It should be very simple
   for you who know more php.
 * What i want.
 * `echo "<a target='_blank' href='https://www.wbesite.kom". get_the_title() ."'
   >" IMAGE HERE "</a>";`
 * I have tryed to play with it but cant get it working.
    Can someone help?

Viewing 1 replies (of 1 total)

 *  [Kidcompassion](https://wordpress.org/support/users/kidcompassion/)
 * (@kidcompassion)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/the-right-php-code-very-simple/#post-9588201)
 * I think you are looking for either an HTML image tag:
 * `<img arc ="path-to-your-image"/>`
 * Or WP’s the_post_thumbnail function, which will return a post’s featured image.
 * [https://developer.wordpress.org/reference/functions/the_post_thumbnail/](https://developer.wordpress.org/reference/functions/the_post_thumbnail/)
 * Also, if you’re using ‘get_the_title()’, you’ll want yo echo it out:
 * `<?php echo get_the_title();?>`

Viewing 1 replies (of 1 total)

The topic ‘get_the_title problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Kidcompassion](https://wordpress.org/support/users/kidcompassion/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/the-right-php-code-very-simple/#post-9588201)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
