Site logo

Archived topic

Converting GP Hook (class="inside-article) to Elements

1 reply · Started by Gregg on November 7, 2020

Viewing posts 1–2 of 2

I have an entry in GP Hooks "Inside Content Container" that is working properly. The code is a shortcode to display a schedule before the blog entries start on the home page. I'm trying to re-create this using Elements but can't get it to display correctly. "before-content" merges it with the 1st post. "before-main-content" puts it behind and to the left of the first post (post covers schedule). I've tried custom hooks inside-article, masonry, site-main and others, but none of those generate anything. The shortcodes box is checked. Can you point me toward what I'm missing?

The site is https://kmojfm.com/wp.

Below is original GP Hooks code in "Inside Content Container" field.
<?php if ( is_home() ) { ?>

[schedule-today]

<?php } ?>

Thanks,
Gregg

Hi there,

you can use the generate_before_main_content with a priority of 9 or less

This archived topic is closed to new replies.