how to insert ads in wordpress posts

by MrLuck
9 replies
  • WEB DESIGN
  • |
hello ,
i need to know how to insert ads in wordpress posts

i mean put link under post title contains title words

, put it in the end of post too

and insert banner ads too

sorry for bad english

thanks in advance .
#ads #insert #posts #wordpress
  • {{ DiscussionBoard.errors[7126837].message }}
  • Profile picture of the author MrLuck
    thanks , but i don't need plugins i need to add ads code in style manually
    {{ DiscussionBoard.errors[7129211].message }}
  • Profile picture of the author ellaqueen
    If you prefer to add your text ads and banners ads manually, copy the bits of code below to a text file (like notepad) so you can edit them.
    Then copy/paste the final code to wherever you want in your posts.

    Text Ad:
    <a href="yourlink" target="_blank">YOUR TEXT HERE</a>

    yourlink= It's the link to the page you're promoting. Paste the whole URL.

    Banner ad:
    <p align="center">
    <a href="yourlink" target="_blank"><img src="banner-image-url" border="0" height="60" width="468"></a>
    </p>

    banner-image-url= It's the link to the banner image (you have to previously upload it to your site, or it has to be hosted somewhere else) Paste the whole URL.

    Edit the values of Height and Width to fit the actual size of your banner.
    {{ DiscussionBoard.errors[7129864].message }}
    • Profile picture of the author MrLuck
      Originally Posted by ellaqueen View Post

      If you prefer to add your text ads and banners ads manually, copy the bits of code below to a text file (like notepad) so you can edit them.
      Then copy/paste the final code to wherever you want in your posts.

      Text Ad:
      <a href="yourlink" target="_blank">YOUR TEXT HERE</a>

      yourlink= It's the link to the page you're promoting. Paste the whole URL.

      Banner ad:
      <p align="center">
      <a href="yourlink" target="_blank"><img src="banner-image-url" border="0" height="60" width="468"></a>
      </p>

      banner-image-url= It's the link to the banner image (you have to previously upload it to your site, or it has to be hosted somewhere else) Paste the whole URL.

      Edit the values of Height and Width to fit the actual size of your banner.
      where is the place i'll put this codes sir and thanks for help
      {{ DiscussionBoard.errors[7130374].message }}
      • Profile picture of the author ronc0011
        Originally Posted by MrLuck View Post

        where is the place i'll put this codes sir and thanks for help

        In the "New Post" window at the top right of the window where you enter your post there are two tabs "Visual" and "HTML" clicking on "HTML allows the editor to accept html /css code.
        {{ DiscussionBoard.errors[7131464].message }}
    • Profile picture of the author phpindia
      Originally Posted by ellaqueen View Post

      If you prefer to add your text ads and banners ads manually, copy the bits of code below to a text file (like notepad) so you can edit them.
      Then copy/paste the final code to wherever you want in your posts.

      Text Ad:
      <a href="yourlink" target="_blank">YOUR TEXT HERE</a>

      yourlink= It's the link to the page you're promoting. Paste the whole URL.

      Banner ad:
      <p align="center">
      <a href="yourlink" target="_blank"><img src="banner-image-url" border="0" height="60" width="468"></a>
      </p>

      banner-image-url= It's the link to the banner image (you have to previously upload it to your site, or it has to be hosted somewhere else) Paste the whole URL.

      Edit the values of Height and Width to fit the actual size of your banner.

      Thank you very much for this useful information. I was really finding that how to insert ads in wordpress post.
      {{ DiscussionBoard.errors[7133050].message }}
  • Profile picture of the author OmiTaylor
    You really should use a plugin. Whenever a theme or core files get updated, you'd have to make your changes if you put the code right in your template.
    You can make a copy of single.php, page.php and index.php and pop them into a child theme and edit there. Do a search for child theme.
    You can use a theme framework that has widgetized content areas, like Thesis.
    You can use extra fields to include the code in your template or post.
    You can paste the code right into the post under many circumstances.
    There are many ways you can accomplish your goal.
    {{ DiscussionBoard.errors[7132335].message }}
  • Profile picture of the author salelink
    its very simple open on post.php file and insert you ads
    {{ DiscussionBoard.errors[7132961].message }}
  • Profile picture of the author Rotwic
    You can place them in the start of the single.php file and at the ending of it to post the ads under the title and after the article.
    {{ DiscussionBoard.errors[7133046].message }}

Trending Topics