How to insert banners to wordpress

How to insert banners to WordPress

This tutorial will let you know how to add banners to different parts of WordPress site. most of the site that offer banner provide you with banner code and you should decide where you want to place the banner, so come with us and follow the instructions below to know how.

  • How to add banners to your sidebar

It is common practice to use your sidebar to add banners. There are two ways to do this – if your theme supports widgets in your sidebar, you can add a Text widget with your banner code in it, or you can add the code directly to the sidebar.php file of your theme. Web Hosting

If your theme supports widgets, go to Appearance -> Widgets. Then, drag a Text widgetto the appropriate widget area. In our case that would be “Main Sidebar”. For the purpose of this tutorial, we will place this widget right under the search field. Finally, paste the banner code in it, set a title for the widget (that’s optional, leave it empty if you don’t want to have a title above your banner) and hit theSave button.

This will place the banner you want into the sidebar of your WordPress site.

If your theme does not support widgets you’ll need to add your banner code directly into the sidebar.php. You can edit this file from the Appearance -> Editor part of your WordPress admin page.

  • How to add banners into a single post or page

If you want to add a banner into the body of your post or page, simply open the Text mode of the WordPress editor and paste the banner code in it.

 

This will add the image between the two sample paragraphs of this post. You can use the WordPress WYSIWYG editor in order to preposition or align this banner in order to make it look with the rest of your post or page.

Web Hosting

Related posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.