Site logo

Archived topic

Add Call To Action At The End Of Each Blog Post

3 replies · Started by Fahmi on August 10, 2016

Viewing posts 1–4 of 4

Hi!

Can you help me. I want to add call to action at the end of each blog post.

How can I do that?

Hi there,

You would use GP Hooks to add your call out HTML/shortcode/whatever.

So you would do something like this in the "After Content" hook:

<?php if ( is_single() ) : ?>
    Your call out in here
<?php endif; ?>

Great.

It's working.

Thanks.

You're welcome :)

This archived topic is closed to new replies.