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
By Jssr15 in forum Website DesignReplies: 0 | Views: 154Last post by Jssr15, 11-08-2017, 07:57 PM
Replies: 0 | Views: 127Last post by sunny_pro, 11-08-2017, 10:32 PM
Replies: 0 | Views: 136Last post by dankery, 11-09-2017, 01:24 AM
Replies: 9 | Views: 246Last post by mirabella, 11-20-2017, 11:59 AM
Replies: 5 | Views: 243Last post by hakireview, 11-17-2017, 07:03 AM
By Hometutor in forum ServicesReplies: 0 | Views: 180Last post by Hometutor, 11-08-2017, 08:16 AM
Replies: 13 | Views: 1069Last post by edwardkenway, 01-08-2018, 02:05 AM
Replies: 4 | Views: 700Last post by Ridew, 11-09-2017, 02:21 PM
Replies: 0 | Views: 620Last post by Sxyvamp26, 11-07-2017, 07:51 PM
By macfais in forum Website DesignReplies: 3 | Views: 978Last post by Mike001, 11-10-2017, 09:55 AM
Replies: 2 | Views: 29Last post by paul1129, Today, 07:50 AM
Replies: 0 | Views: 24Last post by nielvrom, Yesterday, 09:03 AM
Replies: 5 | Views: 113Last post by bijutoha, 02-19-2018, 03:04 AM
Replies: 0 | Views: 81Last post by sunny_pro, 02-16-2018, 02:44 PM
By nortoncomsetup in forum Search Engine OptimizationReplies: 2 | Views: 121Last post by paul1129, 02-17-2018, 03:37 AM
Replies: 20 | Views: 2893Last post by Judas2018, 11-19-2017, 09:35 PM
By elzorro in forum Website DesignReplies: 7 | Views: 757Last post by gedop, 07-02-2017, 10:41 AM
Replies: 3 | Views: 1709Last post by anhbloginc, 10-09-2015, 06:35 AM
Replies: 2 | Views: 1538Last post by ymax, 07-30-2014, 11:30 AM
Replies: 23 | Views: 5490Last post by vaneetagoswami, 05-08-2014, 05:18 AM