Inject php snippet if author = specific value

Posted in: Newspaper
Post count: 21

Hi team, looking for a way to inject a specific PHP snippet on single posts, if author ID = xxx. Tried everything and nothing seems to work. We’re using cloud library templates. Please advise– thank you.

Post count: 21065

Hello!

You can insert PHP code only in the theme files. For every element from Composer, there is a file.
Please note that customization is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
For customization and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/

Thank you for understanding!

Post count: 21

Hi, do you mean there’s no way to inject PHP into cloud library templates / plugin folder .PHP files?

Post count: 21065

Hello!

You can inject PHP in the theme files only.

Thank you!

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