Adding html code to a post
-
Hi — I am trying to add html code for a widget to blog post, but the widget is not displaying properly. I am adding the code to the post in ‘text’ mode, but still cannot get it to display properly. Can someone please tell me what I’m doing wrong?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
I am trying to add html code for a widget to blog post, but the widget is not displaying properly
I’m not sure what you mean by adding html code for a widget to blog post.
Do you mean you are trying to add widget to a blog post using html code?
If yes, that’s not possible. Widgets can only be added in the areas designed for them like sidebars and footers.
I hope this helps :)
-
Hi — Thanks for the response! Yes, that’s exactly what I meant. Quick follow-up: Is it because I’m using the free WordPress blog template that I’m not able to add widgets to blog posts directly using html? I ask that, because I’ve seen other WordPress blogs with widgets in actual blog posts and not only in the sidebar or footer.
-
Is it because I’m using the free WordPress blog template that I’m not able to add widgets to blog posts directly using html?
Actually it’s not about free vs paid. But more about where you are hosting the site.
It is not possible on a site here on WordPress.COM because they’ve put restrictions on such modifications for security issues.
However you can self host your site on other web host by taking the software from WordPress.ORG
More info on WP.com vs WP.org here –
https://en.support.wordpress.com/com-vs-org/I ask that, because I’ve seen other WordPress blogs with widgets in actual blog posts and not only in the sidebar or footer.
If you have seen that on other WordPress blogs, those blogs are most likely not hosted here on WordPress.COM but they’re hosted some place else using the software from WordPress.ORG..
I tried to keep the explanation short but if you have more questions, please feel free to ask them in a reply below :)
- The topic ‘Adding html code to a post’ is closed to new replies.