March 30, 2013 at 9:53 am #32085March 30, 2013 at 9:55 am #32086
Align using CSS http://www.w3schools.com/tags/att_img_align.asp
Exclude Adsense from displaying in posts in one category
April 27, 2013 at 4:55 am #38031
Sorry for the late reply.
I tried using the code you provided to prevent ads from showing in posts from one particular category.
But unfortunately it still doesn’t seem to work!!
Is it possible for you to reply on this?
RaunekApril 27, 2013 at 5:41 am #38033
Can you please link to the category archive on your site where you say it doesn’t work?
All the code i write and provide on these forums is tested.
You can easily change the conditional tags to suit your needs.
Always happy to help!!
April 27, 2013 at 5:50 am #38035
Thanks a lot for the quick reply…
I think there is some confusion on my side.
I am trying to restrict ads from showing in all the posts belonging to a particular category and not in the archive page.
Is the code provided just for the same..?
Sorry if I had been not clear in the first place.
ThanksApril 27, 2013 at 5:52 am #38036This reply has been marked as private.April 27, 2013 at 6:23 am #38045April 27, 2013 at 6:32 am #38048
I am sorry if this sounds stupid, but how to link to the content archive. I think I am missing something here!
Thanks in advance.April 27, 2013 at 6:36 am #38051April 27, 2013 at 6:49 am #38053
I sent you a PM.
Here’s is the website link http://www.marineinsight.comApril 30, 2013 at 12:44 am #38512
Anyone???April 30, 2013 at 2:47 am #38520April 30, 2013 at 3:27 am #38527
All the articles of this category:
ThanksApril 30, 2013 at 4:50 am #38532
I tested this code and it works.
Make sure you add the correct category i.d.
Copy from the view raw link and use a code editor like Notepad++.
Code not displaying? Grab it on Github
I suggest you install WordPress locally and test/modify PHP code if you plan on using custom functions.
April 30, 2013 at 5:47 am #38540
Thanks a lot Brad!
Will give it a try again and get back to you.
You must be logged in to reply to this topic.