Home Forums Front-end Issues What is code for add a picture?


What is code for add a picture?

  • Dear Members,
    I am trying to prepare my own theme pages in WordPress. I want to add a picture to the left or right edge of a post. I couldn’t find what to write in the codes of my theme page that I created. Thank you in advance for your attention, support and assistance. Please help me.

  • I suppose where you have <img class="img-fluid" src="img/project-01.jpg"> you would add the template code for the image field, as explained in the documentation. The important thing to watch out for is the return format in the field settings; the simplest is probably “Image ID” and then use the template code from the first example under Template Usage.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘What is code for add a picture?’ is closed to new replies.