How to add php code in a wordpress theme?

how to add php code in a wordpress theme?

The question is rather vague, can you add more detail about exactly what you are intending to achieve?

I want add a table to show data from a table in database.
then show that data in a marquee under the site header.

read this blog please. if this helps you. https://www.skyverge.com/blog/add-custom-code-to-wordpress/

let me know about the results

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.