CSS selector?

Posted in: Newspaper
Post count: 500

A plugin is asking me for the “CSS selector of the container that contains the content on a post and custom post type.”

Is this article .td-post-content?

And the same for “CSS selector of the container that contains the content on a page”?

Thanks
MG

Post count: 35449

Hi,

This can be checked using the inspector option -> https://i.imgur.com/DkTI6xU.png -> https://i.imgur.com/7VsJuI2.png -> https://i.imgur.com/Q4F7nH7.jpg
If you want for specific for a single post template from cloud the class that is target the post content is “tdb_single_content” and for standard post template is “td-post-content”

Thank you!

Post count: 500

Thanks, Calin.

Post count: 500

The plugin in question is Leaky Paywall. Where it asks in its settings for “CSS selector of the container that contains the content on a post and custom post type” I insert from this post https://jazzjournal.co.uk/2020/06/22/dinah-washington-four-classic-albums/

tdb_single_content

The plugin should insert a paywall message after this point. But it doesn’t appear.

If I reset same post using Style 1 standard post template, and insert

.td-post-content

the paywall message appears ok.

Can you see what the problem is with the cloud template post? It seems I can’t use a paywall plugin with any Newspaper cloud template.

Thanks
MG

Post count: 500

I should say it worked for a while with tdb_single_content but then stopped appearing without me making any changes. On this post the paywall message is currently appearing – https://jazzjournal.co.uk/2020/08/17/count-me-in-08-20/. But for how long? It seems erratic and inconsistent.

The best solution is Newspaper creates an integrated paywall plugin. It’s an obvious addition to a theme whose main sellable product is content. I’m sure many would pay an extra premium for such a plugin. Has it ever been considered?

Post count: 500

Ok, both https://jazzjournal.co.uk/2020/06/22/dinah-washington-four-classic-albums/ and https://jazzjournal.co.uk/2020/08/17/count-me-in-08-20/ are now showing paywall message ok, although I cannot get the required number of HTML elements to show before the message. I realise you don’t support 3rd plugins but any help in figuring this out is welcome.

https://zeen101.helpscoutdocs.com/article/72-caching-with-leaky-paywall-i-e-wp-engine

One problem is that Leaky Paywall only seems to give the option for one content container but I am using at least 2.

Thanks
MG

Post count: 500

What would be useful is if you could tell me how to get 2 values

.td-post-content
.tdb_single_content

into the field Alternative Restrictive Handling field shown at 2. in https://zeen101.helpscoutdocs.com/article/72-caching-with-leaky-paywall-i-e-wp-engine

Some sort of code to separate and make both values recognised? Then the paywall would recognise the 2 principle content containers I am using.

Thanks
MG

Post count: 18283

Hello !

Please note that your request is custom work related. Unfortunately this is not something that the support team will cover. For custom work please contact our team here: https://tagdiv.com/web-development-services/

Thank you !

Post count: 500

Ok, Vlad, thanks.

Post count: 500

By the way – please put forward the idea of creating a chargeable tagDiv paywall plugin – I’m sure there’d be demand.

See what leading newspapers such as the Times London, Daily Telegraph, New York Times etc are using.

I think the Newspaper theme badly needs this option.

Post count: 18283

Hello !

Thank you for your suggestion ! I have passed this to our developers but at the moment we cannot promise when this will be implemented.

Thank you !

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