Hi @manuwp09,
Can you tell me exactly where you want to add the ads?
Hello:
Ads can not be displayed in the custom homepage contend.
I purchased an extension for 10 sites.
Unfortunately you can not install your plugin.
Pages do not show ads between content, only in post.
Regards
Hi @manuwp09,
That’s strange, I just double check on my end and ads are working perfectly on pages.
Please check again.
And regarding the custom frontpage, you have to modify the code a little.
Go to Advanced AMP Ads folder/ads/ad-1 or ad-2 or ad-3
In these files change this line:
if ( ( is_single() || is_page() || is_front_page() ) && ! is_admin() ) {
return ampforwp_ads_insert_after_paragraph_advertisement_code_2( $insertion, $paragraph_id, $content );
}
Into this:
if ( ( is_single() || is_page() || is_front_page() || (is_home() && get_option('page_on_front')) ) && ! is_admin() ) {
return ampforwp_ads_insert_after_paragraph_advertisement_code_1( $insertion, $paragraph_id, $content );
}
It will surely solve your problem.
Or you can contact us at team@magazine3.com, I will personally do it for you.
Regards
Marqas
Hi Marqas:
Something fails in code, gives 500 error.
Regards
Hi @manuwp09,
Can you contact us at team@magazine3.com?
We will personally do this for you.
Ok, I sent a ticket. I hope you can solve the problem soon.
Regards
The problem is not solved.
I sent a ticket August 17.
I lose money with your plugin. It does not display advertising among page content.
regards