Emerald
New member
- Joined
- Jun 28, 2024
- Messages
- 3
- Points
- 1
Hello,
I wanted to add custom text/html (adsense) to bottom and top on custom posts in certain categories and pages of my wordpress blog . I searched google and found a solution which was not complete, some guy shared a php code and said me to paste it in functions.php which i did and it worked pretty well. But the code is for just one category i need it for different categories.
I want the code to work with more than one category, although i searched google for the solution and tried using different things like adding && and the id of the next category but nothing worked so far.
I wanted to add custom text/html (adsense) to bottom and top on custom posts in certain categories and pages of my wordpress blog . I searched google and found a solution which was not complete, some guy shared a php code and said me to paste it in functions.php which i did and it worked pretty well. But the code is for just one category i need it for different categories.
I want the code to work with more than one category, although i searched google for the solution and tried using different things like adding && and the id of the next category but nothing worked so far.