This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Not able to add post slider on blog page

8 years ago · Last reply by Alex S 8 years ago

I want to add support fot Feature Content (post slider mechanism) for my Site Origin Unwind theme.

I put to function.php

add_theme_support( ‘featured-content’, array(
    ‘filter’     => ‘siteorigin_unwind_get_featured_posts’,
    ‘max_posts’  => 20,
    ‘post_types’ => array( ‘post’, ‘page’ ),
) );

But I dont know where to put this code?:

function mytheme_get_featured_posts() {
    return apply_filters( ‘siteorigin_unwind_get_featured_posts’, array() );
}

when I putting this code on the end of function.php I break whole page.
can you give me some instruction how make this unwind theme work with jetpacj feature content (I read this one https://jetpack.com/support/featured-content/#theme-support)

My page is http://www.konkretnaforma.pl/
Its self hosted page,
I have word press version 4.8.2
Unwind theme version: 1.1.4
Jetpack version 5.4

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. katascha 8 years, 4 months ago

    It turns out that I had too low php 5.3 version, after update to 5,6 and connection Jetpack to WordPress.com account everythink starts work without any changes in theme code

    Problem solved.

  2. Alex S Staff 8 years, 4 months ago

    Hi Katascha,

    I’m glad you were able to resolve this issue. I’m sorry I wasn’t able to be of assistance this time.

    To clarify, was there something you weren’t a fan of with the base integration with the post slider? (reference) We’re always looking for feedback so if there’s something that you would like changed with how we integrate with the Jetpack Featured Content Module, let us know.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread