Add content at the end of posts using the Visual Editor

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.

add-content-middle

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.

hide-comments

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”.

show-only-comments

And with that, you’re done!

content-after-post

Spread the word!

6 Responses

    • 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 🙂

Leave a reply

Copyright © 2016 Vesped Inc. All Rights Reserved. Proudly Powered by Headway and WordPress