How To Place An Ad Banner In Wordpress

Table of contents:

How To Place An Ad Banner In Wordpress
How To Place An Ad Banner In Wordpress

Video: How To Place An Ad Banner In Wordpress

Video: How To Place An Ad Banner In Wordpress
Video: WordPress Tutorial | How To Add A Banner Ad To Your Sidebar 2024, December
Anonim

WordPress is the most popular blogging platform for websites. Despite the intuitive controls, some placement problems are still present. The most striking of these is the placement of advertising banners.

How to place an ad banner in Wordpress
How to place an ad banner in Wordpress

The simplest way of placement, which is available to any user, is widgets. You can find them in the admin panel on the left. Select "Appearance" and then go to the "Widgets" menu. Depending on the theme you have installed on your blog, there will be several placements available to you. Typically, this is one or two sidebars (sidebar) and footer (footer or bottom).

In the list on the left, left-click on the "HTML text" item and drag it to the cell you need. A menu will open in which you can specify the necessary settings and your banner code. Be sure to write the title, otherwise the widget may not display correctly. It is best to indicate "Advertising", "Project sponsors" or "Friends". Although your imagination is not limited in this.

Site code

In addition to the standard widgets, you can also place a banner through the site code. This is a more complex method that requires you to understand the structure of web projects, as well as knowledge of html, css and php. Select "Appearance", and open the "Editor" menu. By default, you will see the code of the site's main page.

Decide exactly where you want to place your banner. If it's a sidebar, then select sidebar.php, if the bottom is footer.php, if the top is header.php. These files are only available in standard themes. If you downloaded a design from the Internet or used paid counterparts, the file names may differ. You can find more details in the documentation that comes with the topic.

If nothing works for you or you are not ready to spend a lot of time, then you can order a similar service. It will cost in the region of 1-2 dollars, but you will not have to mess around for a long time. You can find performers on various freelance projects or forums for webmasters. Just create an order or a theme. A part-time job like this will quickly attract more people.

Banner code

As a rule, advertisers provide files that are ready for placement, but there are exceptions. If you do not know the code of your banner, then write it yourself. Two simple tags will help you with this: img and a href.

Write first. For example,. In all tags, you need to remove the period at the beginning.

The same principle must be followed when placing animated banners. Flash will require more serious code, which is difficult to write on your own, so it must be required from the advertiser.

Recommended: