• Resolved frankpereiro

    (@frankpereiro)


    Hi there,

    Is it possible to enable or add an “extract” to wiki pages. I’m asking because I use the RSS widget and I’d like to have an extract of the page rather than part of the first paragraph.

    Thanks and regards from Spain ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dmccan

    (@dmccan)

    Hi @frankpereiro – This code snippet will enable manual excerpts. I’m not sure if the RSS feed will pick that up automatically or if your theme has to support it.

    function yadawiki_add_excerpt_support_for_pages() {
    add_post_type_support( 'yada_wiki', 'excerpt' );
    }
    add_action( 'init', 'yadawiki_add_excerpt_support_for_pages' );

    Best regards, David

    Thread Starter frankpereiro

    (@frankpereiro)

    Hi there,

    This is to inform that the code works like a charm. I don’t know if it works with the RSS feed.

    This is my favorite plugin, for sure…

    Kind regards from Spain,

    Frank Pereiro

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