Menu
Home
Forums
New posts
Search forums
What's new
New posts
New media
New media comments
New profile posts
Latest activity
Media
New media
New comments
Search media
Members
Current visitors
New profile posts
Search profile posts
Account Upgrades
Advertise
Marketplace
Money
PerfectMoney
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Home
Forums
Programming & Web Design
Programming
Other Languages
Two Functions
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Emerald" data-source="post: 19317" data-attributes="member: 3149"><p>Hello,</p><p></p><p>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.</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="Emerald, post: 19317, member: 3149"] 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. [/QUOTE]
Name
Verification
Post reply
Home
Forums
Programming & Web Design
Programming
Other Languages
Two Functions
Top