Article Inline ad

Posted in: Newspaper
Post count: 6600

Hi,

Can you please send us your wp-admin username and password and also FTP access to take a look, send via e-mail at contact@tagdiv.com, please include a link to this topic.

Thanks

Post count: 56

Glad to read you are going to add this option, the truth is that it is very helpful and will do so no need to use external plugins.

You know when you are going to publish?

Post count: 6600

Hi,

@arsonists
you are free to implement the above solution or custom one. We need to analyze and pick very carefully what we will implement in the next updates, we have a long todo list.

Thanks for the message!

Post count: 10

this aint working again?

Post count: 9544

@umoetteumoh01

Inline ads work fine. You are adding to a stale topic from 3 years ago. Note the DATES on forum posts here.

Adding to a July 2014 topic has nothing whatsoever to do with current version of theme.

For help on using inline ads see the documentation for NP 8.

Post count: 10

It know the page is stale. I just want to display my ads on middle of the post. I discovered that code and was asking if it still works or there’s a way to apply the code below.


< ?php
$content = apply_filters('the_content', $post->post_content);
$content = explode (' ', $content);
$halfway_mark = ceil(count($content) / 2);
$first_half_content = implode(' ', array_slice($content, 0, $halfway_mark));
$second_half_content = implode(' ', array_slice($content, $halfway_mark));
echo $first_half_content.'...'; echo ' YOUR ADSENSE CODE OR AFFILIATE LINK HERE';
echo $second_half_content;
?>

via https://w3guy.com/display-adsense-affiliate-link-middle-wordpress-post/

Post count: 9544

Likely want to open a new ticket and ‘reference’ this one; as NP 8 is totally different from NP 4 and code is nothing alike. Totally different theme at this point. So, old solutions won’t work with new version; so, if you tried it and it doesn’t work, that’s why.

Did you try your custom code?

Viewing 7 posts - 26 through 32 (of 32 total)
You must be logged in to reply to this topic.