Cara Menambahkan Featured Image di Forum bbPress

Home Forums Forum Programming Cara Menambahkan Featured Image di Forum bbPress

This topic contains 0 replies, has 1 voice, and was last updated by  share_master 4 months, 4 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4217

    Keymaster

    Cara Menambahkan Featured Image di Forum bbPress.

    Cara Menambahkan Featured Image di Forum bbPress
    Cara Menambahkan Featured Image di Forum bbPress

    Bagi kalian yang masih bingung cara menambahkan feature image di forum bbPress, saya akan kasih caranya agar di postingan admin forum bbPress ada fitur menambahkan feature image nya seperti gambar dibawah ini (feature image muncul pada bagian yang saya kotakin merah).

    Cara Menambahkan Feature Image di Forum bbPress

    Caranya cukup mudah ikuti step nya dibawah ini.

    Cara Menambahkan Featured Image di Forum bbPress

    1. Masuk ke cPanel atau folder hosting domain kamu, buka file function.php yang ada di folder template kamu. Lokasinya biasanya di public_html/wp-content/themes/namatemplate/function.php
    2. Edit file nya, tambahkan kode berikut di mana saja di dalam file function.php
      add_theme_support( 'post-thumbnails', array( 'post', 'forum', 'topic' ) ); 
      add_post_type_support('post', 'thumbnail'); add_post_type_support('forum', 'thumbnail'); 
      add_post_type_support('topic', 'thumbnail');
    3. Lalu save, selesai

    Silahkan di cek, hasilnya akan muncul feature image di forum bbPress kamu.

    Share jika bermanfaat 🙂

    Sumber :
    https://bbpress.org/forums/topic/set-featured-image-for-bbpress-forum-posts/

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.