• hello guys i want to ask you how can i put ads around the theme? (up, left and right of the theme) and i want to put them under the categories (right) can some1 tell me a code to use for this? ?? (css + what should i put in php or how can i write in php to take the images from a folder? i tried something but was not good)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The best way to introduce ads is to put their code into text widgets.

    Thread Starter TheAndrewRO

    (@theandrewro)

    how ? explaim me more please

    Thread Starter TheAndrewRO

    (@theandrewro)

    for example i have a plugin Post Adverts but i can write just text before the post, after or in the post

    anything ‘outside’ of a theme will basically require some html containers (divs) with absolute positioning;
    and possibly some adaptation of the theme’s main container’s padding…

    this first part is pure html and CSS programming, and not specific to WordPress.

    you might additionally want to do some coding to add new widget areas for those ‘outside’ areas (if you want to use ad widgets). https://codex.www.ads-software.com/Widgetizing_Themes

    Thread Starter TheAndrewRO

    (@theandrewro)

    so i add widgets in the content-sigle page and it works great ?? but if i want to add a widget to be on the background but next to the page content ? i mean at the left/right/bottom of the article ?? what file should i edit ?

    try editing header.php to add the new divs; details will depend on your currently used theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Ads around the wp theme’ is closed to new replies.