Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

ECHO Executing 4 Times In Head

I have a plugin I created as a test and am running into a bit of trouble. The code is executing 4 times and placing what I echo in the <head> tag of the page. The reason I'm performing an echo ...
clockwiseq's user avatar
0 votes
2 answers
8k views

Proper way to replace the_content only for pages created by custom plugin

I'm creating a plugin that needs to replace the_content of only two specific pages that it created upon activation. Here is my code: add_filter('the_content', 'emd_content'); function ...
Mark Rummel's user avatar
  • 2,177