11-08-2017, 02:43 PM #1
How to insert banner codes on WordPress site
Please, how can one insert codes on the WordPress site to enable you display the banner (as a tool for earnings) on a WordPress site.
11-08-2017, 07:51 PM #2
The affiliate program you join should have instructions on how to insert their banner codes.
11-09-2017, 02:48 AM #3
11-09-2017, 08:39 AM #4
I want to insert it in between the post content
11-09-2017, 08:55 AM #5
11-13-2017, 01:41 PM #6
alternatively if you dont want to use a plugin you can edit you single-post_template php file and call the the html / php for the banner there. Plugins can cause slow sites if they are too numerous and i would avoid using them where they are not needed.
11-13-2017, 03:28 PM #7
11-13-2017, 03:30 PM #8
Make sure to save the php before doing this Yes that is what i mean BUT also sharkfins answer is probably the best solution as it is bassically doing that FOR you through the cms and you dont have to go mess with the template files.
11-13-2017, 05:55 PM #9
11-13-2017, 09:07 PM #10
can you show me a code snippet?
if he needs to display the add with every post why not include it in a widget with html code ? or i a template file? He wont need to paste it every time since its a template php or a widget. I dont think a plugin is necessary here for something this simple . BTW he is using worpress.com not org... they limit you o plugins unless you buy a domain .
If you are trying to set it on admin with a html widget it will post every time. If you are editing the php file , you need to declare a variable before calling in the banner . this is why im asking for a snippet to see what and where you are trying to do this.
Come too think of it id you are using worpress.com you wont have access to the php files either so you need to use the widget,
11-13-2017, 09:42 PM #11
When inserting the code, make sure you click on the editors TEXT tab first. Then paste it in. Pasting it in VISUAL mode will not work.
11-14-2017, 02:59 PM #12
11-14-2017, 03:02 PM #13
Well i followed his homepage you cant get plugins on that if you donr buy a domain and his isnt bought since its url is still Example.worpress but he could use a widget , i dont get why on earth youd waste downloading another php, js and css file for a plugin that takes like one line of coding.
11-14-2017, 03:11 PM #14
Also, not everyone is a coder. Most wordpress website users / webmasters aren't very friendly with coding and would like the easier way out. Hence Wordpress.org has thousands of plugins.
11-14-2017, 03:15 PM #15
Yea i get that sky. im just trying to advise him a better way of doing it. Because in a month he will be back asking about render blocking, poor site performance , script conflicts , and still would not have learnt how to use a widget. So then he has two problems instead of one. Its just advice he can use it or not im just trying to make things easier in the long run.
Either way its been explained No worries
11-14-2017, 03:42 PM #16
04-26-2018, 07:12 AM #17
I would recommend you to use Ad inseter plugin to add ads between your posts. This is very light weight and easy to manage plugins. WP Advance Ads also a great plugin to add codes in your WordPress blog.Blogging Tips & Tricks @ Blogwithvk.com
By Jssr15 in forum Website DesignReplies: 0 | Views: 572Last post by Jssr15, 11-08-2017, 07:57 PM
Replies: 0 | Views: 475Last post by sunny_pro, 11-08-2017, 10:32 PM
Replies: 0 | Views: 676Last post by dankery, 11-09-2017, 01:24 AM
Replies: 9 | Views: 1006Last post by mirabella, 11-20-2017, 11:59 AM
Replies: 5 | Views: 786Last post by hakireview, 11-17-2017, 07:03 AM
By Hometutor in forum ServicesReplies: 0 | Views: 619Last post by Hometutor, 11-08-2017, 08:16 AM
Replies: 17 | Views: 2572Last post by c4cyber, 06-19-2018, 12:32 PM
Replies: 4 | Views: 1203Last post by Ridew, 11-09-2017, 02:21 PM
Replies: 0 | Views: 995Last post by Sxyvamp26, 11-07-2017, 07:51 PM
By macfais in forum Website DesignReplies: 3 | Views: 1698Last post by Mike001, 11-10-2017, 09:55 AM
Replies: 0 | Views: 55Last post by jowel, 10-16-2019, 01:09 PM
By HostXNow in forum Reseller Hosting OffersReplies: 0 | Views: 179Last post by HostXNow, 10-10-2019, 02:16 PM
By HostXNow in forum Shared Hosting OffersReplies: 0 | Views: 196Last post by HostXNow, 10-10-2019, 02:12 PM
By PaymentGateway in forum Search Engine OptimizationReplies: 3 | Views: 193Last post by PaymentGateway, 10-14-2019, 05:12 AM
By arindamb in forum Social Media MarketingReplies: 2 | Views: 321Last post by ORLOVA, 10-16-2019, 07:02 AM
Replies: 20 | Views: 5442Last post by Judas2018, 11-19-2017, 09:35 PM
By elzorro in forum Website DesignReplies: 7 | Views: 1342Last post by gedop, 07-02-2017, 10:41 AM
Replies: 3 | Views: 2396Last post by anhbloginc, 10-09-2015, 06:35 AM
Replies: 2 | Views: 1977Last post by ymax, 07-30-2014, 11:30 AM
Replies: 23 | Views: 6963Last post by vaneetagoswami, 05-08-2014, 05:18 AM