Custom post content not displaying (using Toolset / WP Views)

Posted in: Newspaper
Post count: 6

Hi – I’ve just purchased Newspaper and am investigating whether it will support all the customisations I have built with my current theme.

One aspect that isn’t working as expected is I have some custom post content that is configured using the Toolset group of plugins.

You can see how it outputs using my current theme here.

This is how the same page outputs using Newspaper:

I obviously haven’t configured the logo, menus and sidebar, but my concern is that none of the custom post content is visible, except for the title.

The Toolset support have said the following:

It might also be possible that you need to induce your View with PHP:
https://wp-types.com/documentation/user-guides/views-api/

But that should not be necessary if your theme is coded with the WP Standards.
https://wp-types.com/home/compatibility-toolset-plugins-themes/

Whenever I’ve previously tested other themes, this content displays automatically.

Please can you advise if there is a way that I can make this work?

Many thanks in advance.

Cheers, Rob

Post count: 1291

Hi,

Unfortunately we didn’t do any tests with this plugin so i cannot say why it behaves like this. Try to compare the Newspaper post template files (code) with the one from the other theme(on which the plugin works) – http://screencast.com/t/S3FAyI4vYnDn – we use a custom function to bring the content, the other theme(s) may use the the_content() function – https://codex.wordpress.org/Function_Reference/the_content
We use a custom function because we added inline ads – http://screencast.com/t/Nc8mEFEFbmg

Thank you!

Post count: 6

Thanks Emil – The plugin provider said the following:

In this case please follow the instructions outlined here:
https://wp-types.com/documentation/user-guides/setting-view-templates-for-single-pages/ > Theme support for Content Templates

I added get_content and it fixed it.

Cheers, Rob

Post count: 26

Dear Robert, could you please clarify how you fixed it? After you changed the TagDiv code into get_content, does the rest of the theme functionalities still work?
wp-types support recently investigated Newspaper theme and concluded the theme cannot use Toolset seamlessly https://wp-types.com/forums/topic/side-bar-not-working-well-when-enable-it-to-custom-archive/

Thank you very much!
Cheers, J

Post count: 6

Sorry Julian – I can’t remember. It was quite a while ago and I only did a few tests with Newspaper and never ended up using it.

Post count: 4

Julian, have you managed to sort this out? I am still getting no content showing up on front-end, but switching to any default theme works perfectly.

Post count: 26

Thank you Robert, sorry I didn’t reply back then, I must have missed the notification email 🙂

Post count: 26

Hi Azzriel, no I didn’t manage this, or better, I didn’t try any further. Apparently, it is quite hard to make Newspaper work with Toolset and results are not granted.

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