Support » Allgemeine Fragen » Add Text above latest posts page / blog

  • pilzmart

    (@pilzmart)


    Hello!

    Above my posts page (Settings->Reading->Static Front Page->Posts Page: blog) I want some text or the text I wrote on the blog page but it only displays the latest posts. Anyone knows a solution?

    Thanks for any help!
    PS: I’m using the Hueman theme.

    • Dieses Thema wurde geändert vor 6 Jahren von pilzmart.
Ansicht von 2 Antworten - 1 bis 2 (von insgesamt 2)
  • Thread-Starter pilzmart

    (@pilzmart)

    also I tried editing the Functions.php on my child but it didn’t work:

    <?php
    add_action ( ‚__before_loop‘, ‚add_blog_page_content_before_post_list‘);
    function add_blog_page_content_before_post_list() {
    if ( is_home() ) {
    $post = get_page_by_path( ‚/blog‘ );
    echo wpautop($post->post_content);
    }
    }

    • Diese Antwort wurde geändert vor 6 Jahren von pilzmart.
    Moderator Bego Mario Garde

    (@pixolin)

    Moderation Note: I close this thread as you have asked your question in a German support forum in English. To keep the threads accessible to all people not speaking English, I kindly ask you to either rephrase your question in German in a new thread here or ask in the International support forums. Thank you for your understanding. Best regards, Bego

Ansicht von 2 Antworten - 1 bis 2 (von insgesamt 2)
  • Das Thema „Add Text above latest posts page / blog“ ist für neue Antworten geschlossen.