• Helo all,

    I would like to use the plugin in my wordpress-theme (in single.php). There i have a variable with text. How can i use the plugin to rewrite words to html-links in the variable?

    ChatGPT suggests to use apply_filters – but how?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter konstantinm

    (@konstantinm)

    Kann man die erstellten Links irgendwie im Theme-Code direkt nutzen, um beispielsweise einen Text, der in einer PHP-Variable anzupassen, damit dort Links eingebunden werden?

    Hey Konstantinm,

    the links are created dynamically when the page is rendered. To do this, however, you would first have to program a function that encapsulates the core functionality of the plugin. So atm this would not be possible.

    Regards!

    Thread Starter konstantinm

    (@konstantinm)

    A pity. I was hoping to use a function of the plugin in the theme file to put the links in the php variable. I am already in the process of reading the values ​​from the database in order to then create a function. Thanks for your answer. If anyone has any other ideas, I’m open.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Rewrite in theme files’ is closed to new replies.