Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: get_the_title problem

Discussion in 'Misc WordPress Requests' started by Kidcompassion, Oct 14, 2017.

  1. Kidcompassion

    Guest

    Reply To: get_the_title problem, by Kidcompassion

    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/

    Also, if you’re using ‘get_the_title()’, you’ll want yo echo it out:

    <?php echo get_the_title();?>

    Reply To: get_the_title problem
     
    #1

Share This Page

Web Hosting