Archived topic
I want to insert a text box inside a post.
5 replies · Started by Mahesh on December 7, 2020
Hello,
I am looking for a way to add a text box (image attached - https://ibb.co/JpWTCY7) in most of my posts.
It will be a good idea if I could add them once by category using a plugin than inserting the code in every post.
Thanks,
Mahesh
Hi,
Can you explain a bit more? Is there any specific place within the post you want this added into?
Perhaps a Block Element would help.
https://docs.generatepress.com/article/block-element-overview/
Block element allows you to place a Layout created within Gutenberg editor which you can hook to certain parts of the page. You can also specify with pages/post you want it to appear.
Hi,
I want to add it in between my post body, probably after 6-7 paragraphs.
Also, I want to add it in posts belonging to specific categories.
Thanks,
Mahesh
I want to add it in between my post body, probably after 6-7 paragraphs.
Also, I want to add it in posts belonging to specific categories.
Do you mean, within the post's content? If so, then you should be able to make use of WordPress' "Reusable Block".
https://wordpress.com/support/wordpress-editor/blocks/reusable-block/
Ok, Thanks! Got it.
Ok, Thanks! Got it.
No problem. :)