Site logo

[Support request] Converting GP Hook (class=”inside-article) to Elements

Home Forums Support [Support request] Converting GP Hook (class=”inside-article) to Elements

Home Forums Support Converting GP Hook (class=”inside-article) to Elements

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1522075
    Gregg

    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

    #1522739
    David
    Staff
    Customer Support

    Hi there,

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.