Regarding the article time field

Posted in: Newspaper
Post count: 4

Hello.

I’d like to add a new field next to the time on an article page.

I’d like to use the Advanced Custom Fields plugin.

Which file should I modify?

Post count: 35449

Hi,
There is no need to modify any file, use the ACF plugin with the theme and set the custom field element in the single post template using tagDiv Composer

Post count: 4

Hello:

Thanks for your reply.
I’m currently using ACF and have added columns to a single post.
However, I’d like to align the newly added columns with the time column. For example, I’d like the columns to be positioned to the left of the time column.

I can’t find the settings for this.
How do I set this up?

Post count: 35449

Hi,
Using tagDiv Composer, you can set the option for displaying inline https://i.imgur.com/YGn1nhP.png https://i.imgur.com/gbZYPLj.png the elements if those are under the same column or you can use the column options from the layout tab – https://i.imgur.com/3uz0UEV.png

Post count: 4

Hello:

Thanks for your reply.

I have another problem.

When two ACF custom fields have data, I insert a slash between them.

I’m using the column text option —> insert a shortcode.

But it doesn’t work. It seems that the column text option automatically filters out the content output by the shortcode.

If I want to use the shortcode to display content, how can I do that?

Post count: 35449

Hi,

If you set the shortcode in column text, then this will be displayed as your shortcode provides it, the column text will be only a holder for it.
If you are on a single post template, you can set the shortcode directly on the shortcode element – https://i.imgur.com/4jiH94l.png. When you are in any other place but on a single post template, then you can use column text in the text zone – https://imgur.com/DSSni9j

Thank you!

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