You have to put your advertisement block just before <?php the_content(); ?>
in a separate div-layer and add some css to it. E.g.
single.php
<div class="entry entry-content">
<div class="advertisement">
<p>Your advertisement</p>
</div>
<?php the_content(); ?>
</div>
CSS
div.advertisement {
float: left;
width: 150px;
padding: 0px 10px 10px 0px;
}
Related Posts:
- Stop WordPress Wrapping Images In A “P” Tag
- How to get ‘post_content’ without stripping tags?
- Get content from one page and show it on another page
- Removing any and all inline styles from the_content()
- How to disable content pagination?
- Modify ‘Read more’ link adding a new class
- Divide Post content into separate divs for every 500 characters (or any other character counts)
- Post content being duplicated by the_content();
- How can I extract the URL of a link from a post?
- Content editor creating blank paragraphs in spaces and creating   in the_excerpt
- How to add custom content (text/image) at start of content (IN content ie the same line)
- Testing for post title in ‘if/else’ statement returns no content
- Display the Content of a Post with qTip2
- How to show video from specific category on sidebar?
- custom post type grid with content in lightbox [closed]
- Uppercase first sentence in every post
- Why content_arr[‘extended’] removes paragraph tags?
- Modify Image Source With The_Content Filter?
- How to add pagination in between post and comments?
- Adding the_date inside tags around the_content
- Show the content that is after the excerpt using child theme
- get query() without post content?
- How to show full post?
- Filter only the text in the_content
- How to check if single.php has already called the_post_thumbnail function
- How to disable the_excerpt from one post
- Add div before the first paragraph the_content [closed]
- the_content() Not Grabbing All Content
- Adding if statement into the_content()
- why my urdu text is not aligned properly when written in wordpress blog post?
- How do I display main query posts in random order using add_filter
- How to exclude native lazy loading from first image in post content?
- How to limit wordpress the_excerpt() dynamically
- how can i take wordpress post as embed?
- if CPT content is empty then
- Find post tags words in post content and link them to tag URLs
- Add review box by function at top or bottom of content
- Add Image Before Posts Entry Title
- Showing content from WordPress ruins page CSS using WP_Query, without, content does not show
- Assign custom class to post content images
- the_content() not displaying the full post
- Stripping tag from elements in post
- How add class the_content();?
- Use category base slug in posts’ permalink
- Customizing HTML Editor Quicktags button to open a dialog for choosing insert options
- Sends out email to admin
- strip only specific tags (like ), but keep other tags (like )
- post_name empty after wp_insert_post
- Pagination not working on Custom Page Template
- How can I specify a category post on my home page
- How to search only by post title and category?
- Is there a way to change the color of a row in Post Administration based on the type of post?
- Phantom 302 status code when sending a POST requests on pages
- How to change what the post creation page looks like?
- Permalink Settings: optional settings doesn’t apply to editor
- Limit number of posts a user can make per minute?
- How can I remove “”
- Display posts from #6 to #20 on archive page
- Setting up navigation links for posts (first, prev, next, last)
- How can i sort the categories by ID
- Add ajax load more function using WP API
- Add blogs to “Blogs i Follow” sidebar [closed]
- Exclude category from
- Display tag image in post using Taxonomy Images plugin index.php
- Blog page not working
- Words must be included and restricted words in new posts
- How to add a column to edit posts area in admin panel?
- How to disable WordPress blog folder
- Automatically add date to the auto generation of post slug
- Customizing Comments on Posts
- Disable sticky option for specific categories
- Make post_content and other custom fields required
- Random posts from a pool of posts
- Crazy Question – Updating Post ID
- Prevent Title Edit In post.php
- relating business and products with custom taxonomy?
- Send POST request to WordPress to make a new post
- Moving the blog page
- How to style archive post titles… but only those posts who have comments?
- How to check if there are posts with the same tag
- Can i have more than one form for front end posting in one template [closed]
- How to make blog posts have their own urls?
- How to add content above footer in posts from specific category
- Show posts from two specific category in WP_Query
- How to pull latest posts from a specific category
- Is it possible to change the default WP post table’s data source?
- How to echo a PHP Code After the Content
- Not able to post data through wp-admin
- Multiple Pages – Seperate blogs
- Post by Email – Shortcode for Language? [closed]
- Admin is showing all posts on page 1
- 3rd Party Login in wordpress
- How to mix pages and sub-categories in a url
- Overwrite URL on blog posts
- post content includes and seo vs. duplicate content
- 301 Redirecting posts without %postid% (just %post_name%) in permalink to ones with %post_name%_%postid%
- On the post list, how do you show different text to the main content?
- I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in publish
- Display draft posts on single pages [duplicate]
- query_posts different amount of posts per page [duplicate]