Need to place Multiple Inline Content Ads

Posted in: Newspaper
Post count: 104

Hello,

I have newspaper v6.5 installed on my website.

URL – https://www.naukrinama.com

I want to place multiple inline content Ads on my article detail page i.e.
a. 1 Ad after Paragraph 1
b. 1 Ad after Paragraph 2
c. 1 Ad after Paragraph 3

and so on.

The theme only provides option to add 1 inline content Ad. Please let me know how can this be achieved.

Secondly i have few posts with pagination i.e. the post have multiple page breaks.
For Example : https://www.naukrinama.com/10-toughest-entrance-exams-to-crack-in-india/

Now I want to automatically insert a Ad short Code after Page break 2 and Page break 4. Please let me know how can we count the no. of page breaks in a post and then subsequently write a code to get the Ads inserted.

Post count: 23312

Hello rishab55555,

Unfortunately, our theme does not have such an option to insert the ads after each paragraph, sorry! If you want to have this option, you have to implement it in your core file through coding. Please notice that is not a simple task and if you are not aware the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry! As a hint, please check this file -> http://screencast.com/t/9JEmclIG8lvl and here you can see how is created the script that counts the paragraph for Article Inline Ad feature. You have to alter this script and do one similar to it to get what you want automatically. Another possibility would be to add these ads manually when editing your posts, like this -> http://screencast.com/t/dpvo9RCl5O -> http://screencast.com/t/Gpm31eBtM -> http://screencast.com/t/en86rgT1wLAp -> http://screencast.com/t/YR3FxYlA4Bt

Hope this helps!

Thank you for your understanding!

Post count: 104

Hello Catalin,

Thanks for your revert !

What should I do in case if i want to hard code this Ad directly into the theme file.

I want to place a fixed ad code for all my posts after the 2nd paragraph. Can you let me know where exactly to insert the Ad Code to achieve this.

Post count: 23312

Hello rishab55555,

If you want to add the ad code for all your posts after the 2nd paragraph you should use our Article Inline Ads and set it to displays you the Ads after the second paragraph like this -> http://screencast.com/t/o4qgIYdwDMKT
If you want to implement additional customization for your Ads, you have to alter the code from td_module_single_base.php as I have presented you above.

Thank you for the message!

Post count: 96

Shortcodes for custom ad codes are not working in the mobile theme.

Post count: 23312

Hello sjlabar,

Please provide more details about what type of shortcode you are using and not working. Please ensure that you have the right code in order to use the do_shortcode method.

Thanks.

Post count: 96

Hello,

I am using this http://prntscr.com/ccu51r

[vc_row][vc_column][td_block_ad_box spot_id="custom_ad_1" spot_title="- Advertisement -"][/vc_column][/vc_row]

And in the mobile theme it is displaying the shortcode, it is working fine on desktop version.

Post count: 23312

Hello sjlabar,

Please notice that you will have to use the following code for better results in theme. The quote should have to be “'” and not “"
[vc_row][vc_column][td_block_ad_box spot_id='custom_ad_1' spot_title='- Advertisement -'][/vc_column][/vc_row]

Hope this helps!

Thanks.

Post count: 96

But i generated this by using visual composer. And the code you sent is also not working you can see at http://www.urdumania.net/how-to-increase-breast-size/ on a mobile device. Ad Code

Post count: 23312

Hello sjlabar,

I have checked your website and I saw that you are using the mobile theme, right? Please notice that none of shortcode is not recognised by Visual Composer, sorry! If you want to display this ad to the mobile mode, you will have to turn off the mobile plugin and the theme will be switched to the general responsive mobile mode and the ad will appear.

Thanks.

Post count: 96

hmm okay thank you 🙂

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.