How do I add a line of code to a sidebar or footer?
-
Hello,
I’m trying to install the simplest of hit counters on my site, https://www.ridgeblog.ca
Here’s the instructions I have:
1. Upload simplehitcounter.php to the /wp-content/plugins/ directory.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Place <?= simplehitcounter_hit(); ?> somewhere like the footer or sidebar.Steps 1 and 2 are simple. Step 3, I’m not sure how. Putting a line of code is not like dragging and dropping a widget in there.
Can anyone help out?
Thanks.
– Greg
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How do I add a line of code to a sidebar or footer?’ is closed to new replies.