Add custom field

Posted in: Newspaper
Post count: 23

Hi, I want to add a custom field in single post template and module block. I use default template library and custom template from cloud library. Where are the files to edit? Thank you.

Post count: 27744

Hello,

You can set the custom label in the posts editor-> https://i.imgur.com/gTtAQRv.png and this will be displayed for Flex Block and Big Grid Flex -> https://i.imgur.com/3Uop58r.jpg

Thank you!

Post count: 23

Thank you, that’s ok for specific post. How to enable as default for all posts? I think is a code edit work.
And how can I add to single post view?

Post count: 27744

Hi,

You need to set for each post the text for the custom label.
You can add the view post count in the post, with tagDiv Composer => https://www.screencast.com/t/eGgd6fSTpc add the element called “Single Post View” => https://www.screencast.com/t/r83psL7l

Hope this helps you!

Thank you!

Post count: 23

Sorry but I need to set this feature for every post. I can’t tell the editor to add a field and change the single post view every time someone add a new post. I’m sure you understand the magazine’s staff can’t use TagDiv composer.
Can you tell me the files to edit for single post, category and flexblock?

Thank you!

Post count: 27744

Hello,

If you use the same Single Post Template for all posts, once added that option, Single Post view, will be displayed for all posts, it does not need to be added for each post separately.
In this path are all single post template settings
=> wp-content/plugins/td-cloud-library/shortcodes/single
category
=> wp-content/plugins/td-cloud-library/shortcodes/category
flex block
=> wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes

Thank you!

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