Questions tagged [ads]

Ads are media displayed on a site to alert visitors of products or services that may be of interest to them.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How To Add Banner Ads Between Posts With Wordpress/Kadence/Ads Inserter

I have a website that currently inserts banner ads on the front of my woocommerce website after the 6th product (between rows 2 and 3) and after the 12th product (between rows 4 and 5). This location ...
0
votes
0answers
14 views

How do I remove wordads?

I recently migrated my blog from wordpress.com to wordpress.org using bluehost. I had wordads turned on in the wordpress.com site, but it looks like those ads are no embedded in my new site and can't ...
0
votes
0answers
36 views

How to hide content from adblock users?

I have found many plugins that work on pop-ups, but I would like to know simple code or plugin that can just hide content inside post from adblock users and show them "Fly away or disable adblocker. I ...
0
votes
0answers
10 views

What is the best way to manually add ads to Wordpress posts without the risk of any lock-in effect?

What is the best way to manually add ads to Wordpress posts without the risk of the lock-in effect of shortcodes or inline HTML residues in case of removing the builder, getting the ads into the ...
0
votes
1answer
86 views

How to prevent Google adsense invalid impressions while performing admin tasks on my wordpress site?

I've added google adsense to my website. Currently I've got pretty less traffic (~3-30 visitors everyday). I'm afraid that if I use my wordpress admin panel / write a post / view a post etc then it ...
0
votes
0answers
36 views

My website frequently redirect to a different advertisement URL

Can you guys help me to figure out why it's happening? Its mainly happen from my search engine result. From Google search when I click on my website it will redirect to a scam website. Note: now its ...
1
vote
3answers
495 views

How to create a php url redirection for nicer links

I'm looking for a way to make a URL redirection for affiliate links on my website. Something like : site.com/go/keyword I know there is many plugins for doiing this, but i don't like plugin, and i ...
1
vote
1answer
31 views

How to hide Ads in between posts on AMP? [closed]

I am using the following code to show ads on my posts after Para 4:- add_filter( 'the_content', 'prefix_insert_post_ads' ); function prefix_insert_post_ads( $content ) { $ad_code = My Ad code; ...
0
votes
0answers
1k views

Avoid enormous network payloads

Running a WP site, so asking here. Google speed test shows "Avoid enormous network payloads - Total size was 8,265 KB" (static.doubleclick.net) - 514.2 KB (static.doubleclick.net) - 514.2 KB And ...
0
votes
1answer
81 views

Advertisement in Loop Posts wordpress

I'm new here I want some help from you in terms of coding in wordpress. The point is that I want to make advertising between items as shown below: <div class="row top-articles"> ...
0
votes
1answer
161 views

Insert ads below the title

I'm creating a plugin for insert ads. I want to insert ad below the title. I'm using the theme MH Magazine Lite Im doing my plugin like this: function diww_pre_content($content) { $pre_content =...
3
votes
2answers
200 views

Calling shortcode in wp_localize_script strips result

I am working on adding some functionality on a Wordpress plugin which after a certain click needs to call on some shortcode through ajax. What I first attempted was to call the shortcode inside of ...
-2
votes
1answer
97 views

How to hide a script ( an ad) from a specific post? [closed]

I would like to hide a script, an ad actually from a specific post. The script is placed on header. I am a rookie here so please help!
1
vote
1answer
56 views

Add Adsense to a website but the server responds with error 510 [closed]

I'm trying to add Ads to my website. The website is made with Wordpress. I'm going to Options < Adsense < Ad Manager Then I click manage Ads. After that, google starts to analyze my page. ...
1
vote
1answer
165 views

Self-serve ad system like Reddit's for Wordpress? [closed]

I'm currently building a Wordpress site and I want to implement a sort of "self-serve" ad system into my site similar to the system Reddit is using. Is there any sort of "self-serve" ad system or ...
1
vote
1answer
687 views

Need help targeting a custom post type with conditional tags

I found some code online to create content blocks on my WordPress blog. I use a content block at the bottom of the sidebar of my page for a shopping widget. Here's the relevant code from functions.php:...
0
votes
0answers
66 views

Ads below footer

A client of mine has ads on his website, which are managed by a CPT. The ads can be pulled in via a widget, hardcoded query and a shortcode. I have an issue that isn't consistent that I'm trying to ...
-1
votes
1answer
673 views

Showing ads after posts in home page

I am using this code for showing ads after one post in the home page. It's working fine. But I want to show an ad after one post and another one ads after 5 post. What will the loop be. Any ...
0
votes
1answer
12 views

How can I modify a post depending on the source of the traffic?

I have a wordpress site. If I include some javascript on a post, I show ads on the post. I want to only show that javascript when people come to my site from google search (as opposed to from twitter ...
1
vote
2answers
1k views

How do I show google ads between post content?

I want to show ads by Google between text content, like show 3 ads one after 1st para second after 3rd para and one at end of last para. I know i have to modify in single.php but being novice in php ...
0
votes
1answer
112 views

Assign specific ads to specific categories/posts

I've been playing around with solution to be able to show a different header banner on different categories, and hopefully later on, be able to extend that query to the post level. I've found a few ...
3
votes
3answers
3k views

Sharing Ad Revenue among Users of a Multisite in a Collaborative Model?

Is anyone aware of some functionality to share the revenue among the users of a Multisite? A multisite lets other people create and mainatain their own blogs. The Multisite owner should able to ...
0
votes
1answer
358 views

Can I use widgets & shortcode if I need to return an array?

I'm trying to achieve the following functionality. I have several widget 'areas' that I can place widgets into. I programmed these widget areas into the theme of my site and I can turn them on and ...
0
votes
1answer
146 views

Temporary download page or restrict static download page based on how the user got to the page?

I basically want to know it if is possible to create a system where either when a user wants to download something it creates a temporary download page (not a download link, this I want static - I ...
0
votes
2answers
622 views

Insert Ads “into” comments section in Genesis Themework

I am trying to insert two 125x125 ads into the comment section of a Genesis Child Theme - The screen above shows where I would want it but I am at a total loss on where to insert this overall. I ...
0
votes
1answer
121 views

Want to include ad code after related post

I want to include ads HTML code after related post plugin. My site my single.php code below: <?php if ( get_option('...
4
votes
1answer
2k views

Track advertisement earnings per blog post and page in wordpress?

I have this unique situation (though i doubt it no one has ever asked this before!). I want to track advertisement earnings from a service like Adsense per blog post and per page or per author . Why ...
1
vote
1answer
64 views

Guidelines / restrictions about advertising /donate begging unside wordpress plugins or themes

I remember to have read about this, but I can't find it anymore. Basically we are not allowed to advertise without the users consent inside plugin, its a good rule I think. I just want to see the ...
1
vote
1answer
329 views

Plugin for users to create their own ads like Google Adsence

Does any one know of a plugin to allow users to create ads on a format like Google Adsense (title, some text and a link). ? Something that may require some customization may do the job. Thanks in ...
0
votes
2answers
2k views

Scrolling Ads? Live scrolling widget, not random on refresh

I have a current job where my client has requested to have their "sponsors" rotate in the sidebar widget. Right now I have a random ad widget which rotates them randomly... I was wanting to know if ...
3
votes
2answers
103 views

Is there a simple way to only show ads on a WordPress page once it becomes popular?

I am looking for a simple way to minimize ads on a website I'm developing in WordPress by only showing ads (Google Adsense, to be precise) on the site upon a large influx of traffic. A large influx ...
1
vote
1answer
113 views

Is there any way I can put google ads on wordpress.com? [closed]

I know they do not allow plugins on wordpress.com and hence no ads. I know I can put adds on own wordpress site hosted on my own domain. But I really like wordpress.com and the ease you can create ...
1
vote
1answer
203 views

Any recommendation on how to manage ads?

I am in the process of creating a network of >40 sites with wordpress, and I am trying to put together the base that each site will use, for example all the sites will use google analytics so I will ...
1
vote
2answers
280 views

Inserting ads into wordpress default rss feeds

i'm hoping i'd find some help in regards to inserting ads into wordpress default rss feeds (i do not use feedburner) <?php function insertAds($content) { $content = $content.'<hr /><a ...
0
votes
2answers
103 views

Highlight Ads for few seconds

I got a list of ads in my WordPress website on a sidebar. Is it possible to highlight an ad, that is, make it bigger in size for few seconds? I want to make each ad highlighted one after the other. ...
0
votes
1answer
499 views

Problem with WP_Query loop and search term

I have a custom query to display random posts in my sidebar like this: $newQuery = array( 'post__in' => get_option('sticky_posts'), 'post_type' => 'ad_listing', 'posts_per_page' ...
2
votes
3answers
1k views

Specific and Different Ads for each Post?

I am working with a magazine client who sells adversiting offline in their magazine and now has a WordPress online magazine. Each of their stories is broken into different posts, and they are using ...
2
votes
2answers
138 views

Offering Ads Dependent on Visitor Type?

I wish to be able to give different ads to visitors of different "types". For example: People from country X will get one ad, while people from country Y will get no ads. First time visitors will ...