Archived topic
Adding widgets below articles
5 replies · Started by Manuela on March 2, 2021
Hello,
I would like to know if there is a way to add some widgets on the page where my article appears, just below the Post comment section.
I would like to add Recent posts, Categories and the Search box. Also, it would be great if I could also add some text.
Thank you,
Hi there,
you can create a Block Element to add any block based content to that area:
https://docs.generatepress.com/article/block-element-overview/
You would set the Block Element as Hook and select the after_main_content hook. And set the Display Rules to Posts > All Posts
To add widgets to that area you would install this plugin:
https://wordpress.org/plugins/organic-widget-area-block/
This provides a Block that you can add to the content, and then it will appear amongst the list of Appearance > Widgets.
Hi David,
Thank you for your help.
I ran into a bit of situation. I installed and activated https://wordpress.org/plugins/organic-widget-area-block/, and all the pullquotes from the site looked different. Somehow, this plugin affected them. I deleted it and all went back to normal.
Is there any similar plugin that you recommend?
I wonder if you could just use this plugin which turns widgets into shortcode:
https://en-ca.wordpress.org/plugins/widget-shortcode/
Hello,
Thank you for your reply :-)
No problem :)