There may be a time when you want to add something to the end of every post so the visitor sees the same thing when viewing each individual post. I’ve seen people add social sharing buttons, a subscription form, an image, an about the author section or just some extra text.
You could do this with hooks but you can also do this with the Visual Editor and that is the method we are going to talk about today.
Edit the Appropriate Layout
Depending on your setup, you’ll do this on the Single layout or the Single > Post layout. Which layout you edit depends entirely on your current setup / inheritance structure. If you have specific questions about that, please post a comment.
Method
This method requires two content blocks and a block in the middle. So first, create the layout you want as desired with a content block set to default mode. After that content block, draw another block underneath of that. Then, draw another content block underneath of that.
The middle block
Add what you want to display after every post in this block. Which block you should choose depends on what you want to display.
For example:
An image – You can choose the image block, the text block or even the custom code block
Social sharing buttons or a subscribe form – I’d use a custom code block.
Settings for the first content block
In the block options for the first content block, go to the display tab and choose “Always Hide Comments” for comment visibility.
Settings for the second content block
In the block options for the second content block, go to the display tab options and uncheck “Show Entry”.
And with that, you’re done!
Great post! I’d love a way to add the content before the older/newer post navigation buttons and meta too.
Hi Jessica – are you looking for a Visual Editor solution or are you comfortable with PHP/hooks?
I’m just using the visual editor since I have no idea what I’m doing with code. I got someone to add what I wanted for me, but I would love to be able to customize that myself with the visual editor. I’m loving Headway though! 🙂
I’m not sure it can be done in the Visual Editor easily currently but I’ll see what I come up with. I’ll let you know 🙂
Hi Jaime
I’m trying to add a paypal button to the end on one page. I have the php code, how can I do that.
Thanks
Hi NISHAJ, use a custom code block and put your PHP code in there.