Want to show div on front end wordpress website with wordpress plugin.. If User activate the plugin then div should show on the front side of the wordpress .how to add ? Used add_filter('thecontent') and some more. nothing is working .
Jump to Post
Where do you want to place the div? Are you trying to inject the div within the content? If so, you can make a shortcode for this. If you want to inject the div into you could write a plugin with a function to add filter to the content
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.