• Hello,

    My site is a blog. I would like to have a pinned post on top with an introduction text and subscription form. The rest of blog posts on a main page should be just a header+excerpt. A theme I used before Customify just expanded the pinned post by default, this is not the case with Customify from what I see.

    So I need an expanded post or HTML widget on top of post list. Is it possible to do this with Customify?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You can use the action hook customify/blog/before-render to insert something before the post list on the blog page.

    Sample code:

    add_action( 'customify/blog/before-render', function( $customify_posts ) {
    	echo "Code goes here!!!";
    } );
    Thread Starter mehanizator

    (@mehanizator)

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Expand a pinned post’ is closed to new replies.