Stefan de la Motte
asked 10 years ago

How can i place an advertising banner on the main page like this:
<iframe src=”” width=”300″ height=”250″ scrolling=”no” border=”0″ marginwidth=”0″ style=”border:none;” frameborder=”0″></iframe>
Not on the sidebar

2 Answers
answered 10 years ago

Please tell me detail about  the position that you want to place an advertising in DW Wallpress theme or a screenshot for further checking.

Stefan de la Motte
replied 10 years ago

Like that:

see the amazon ad.

That was the code:

answered 10 years ago

To resolve this issue, you can do as the following:
– Log in to Dashboard > Media, then add your banner. After finishing, you can copy the the FILE URL on the right hand side.
See the screenshot:
– Open the home.php file in the folder path “wp-content\themes\dw-wallpress”. Find the line 12, add the following code under line 12.

<img src="FILE URL" style="width: 770px; height: 90px" />

Hope this helps !

Powered by DW Question & Answer Pro