Lecture 14 - Custom Post Types - WP Theme Development in Urdu - 2019

Поделиться
HTML-код
  • Опубликовано: 30 авг 2018
  • In this lecture, we will learn to create custom post types for WordPress. Custom post types help you organize content for your theme. Such as creating services, portfolio, testimonials, projects and many more you see in WordPress themes.
    We will create a services post type and display services in template files of our theme. We will also learn about custom post type templates.
    🔽 Download Exercise Files: wpacademy.pk/course/wordpress...
    -----------------------------------------------------------------------------
    🙌 Support This Channel by Buying Stuff Below
    -----------------------------------------------------------------------------
    ✅ Best WordPress Hosting ➡ wpacademy.pk/go/siteground
    ✅ Cheap Domain & Hosting ➡ wpacademy.pk/go/nc
    ✅ $100 Free Credits on DigitalOcean ➡ wpacademy.pk/go/digitalocean
    ✅ Elementor Pro ➡ wpacademy.pk/go/elementor-pro
    ✅ Astra Pro WordPress Theme ➡ wpacademy.pk/go/astra-pro
    ✅ Best Elementor Addons ➡ wpacademy.pk/go/crocoblock
    ✅ Envato Elements ➡ wpacademy.pk/go/envato-elements
    -------------------------------------------------------------
    👨‍👩‍👦 JOIN OUR SOCIAL COMMUNITY:-
    -------------------------------------------------------------
    Fan page: / wpacademypk
    Group: / xitclub
    Forums: wpacademy.pk/forums

Комментарии • 29

  • @MFALIKHAN
    @MFALIKHAN 5 лет назад +1

    Wow Sir,
    It's amazing
    Very helpful video's

  • @sarmadali77771
    @sarmadali77771 5 лет назад

    Zabardast series hy apki thankyou

  • @bobcoderz
    @bobcoderz 5 лет назад

    waiting For a long Time 😊👍👍👍👍👍

  • @talhamoin1255
    @talhamoin1255 5 лет назад

    mujhy yaha masla hota tha but ab clear samjh agya thanks bro :)

  • @HammadKhan-ik8ru
    @HammadKhan-ik8ru 4 года назад +2

    Effort Must Be Appreciated ! Jazak'Allah!

    • @WPAcademyPK
      @WPAcademyPK  4 года назад

      Thank you :)

    • @HammadKhan-ik8ru
      @HammadKhan-ik8ru 4 года назад

      @@WPAcademyPK 30% wordpress learned from you, thanks!

    • @owaiskhan252
      @owaiskhan252 4 года назад

      @@WPAcademyPK dost wp-hasty ky ilaw or koi site hai jahan sy custom post type generate kr sky ?? qk wp-hasty generate ni kr rha hai become a pro ka msg generate ho raha hai site py

    • @WPAcademyPK
      @WPAcademyPK  4 года назад

      @@owaiskhan252 generatewp.com/post-type/

  • @ahmedsahir3988
    @ahmedsahir3988 5 лет назад

    my favorite video

  • @mudaaraaturdu6153
    @mudaaraaturdu6153 4 года назад

    jazakAllah

  • @RajeshKumar-uw9qi
    @RajeshKumar-uw9qi 5 лет назад +1

    Hi dear you are mind-blowing. i have learnt most of the wordpress stuff from you and this time it`s clear all the problem i faced while creating custom post types and may i ask you first more be on the way but if you can make tutorials on such as how to add TGM Plugin Activation Script and Rudex frame work but at-last thanks your time and efforts. have a good day......

    • @WPAcademyPK
      @WPAcademyPK  5 лет назад

      Dear redux is history, Customizer & Kirki is the future. I already made videos on both of them. Watch them in the playlist. However, TGM plugin activation is on the list to make.

  • @maheshbaldaniya6024
    @maheshbaldaniya6024 3 года назад +1

    hello brother your video is very cool but i am facing one issue=> register_nav_menus( array(
    this array not available in my theme so how to manage please suggest bro i need help

  • @waleedaziz302
    @waleedaziz302 3 года назад +1

    bhai mera ak question ha kia hm custom post kko display krany k liye function.php mn code likh sikty hain?

  • @BrijeshKumar-xo6js
    @BrijeshKumar-xo6js 5 лет назад +1

    hi, mujhe ek page pr custom post ki listing(image, some content and title) and read more link and click on read more then open detail page yah kaise create karun please ek video create kr dijiye.

  • @mugheesarshad1352
    @mugheesarshad1352 4 года назад

    Great !! Please tell me about if we need categories in CPT, how we can display and manage it?

    • @WPAcademyPK
      @WPAcademyPK  4 года назад

      You can create custom taxonomy: codex.wordpress.org/Function_Reference/register_taxonomy

  • @likefacebook2778
    @likefacebook2778 5 лет назад +1

    I don't got source code in your website please help me

  • @khemchand6853
    @khemchand6853 3 года назад +1

    Sir multiple field kesa lage custom post ma

  • @mehranalisultan7595
    @mehranalisultan7595 4 года назад

    sir jee, good job. sir can you tell me if wp-theme has not inc folder then what we do.

    • @WPAcademyPK
      @WPAcademyPK  4 года назад

      Just put file name there with extension. get_template_part('template-name.php')

    • @mehranalisultan7595
      @mehranalisultan7595 4 года назад

      @@WPAcademyPK not work.

    • @mehranalisultan7595
      @mehranalisultan7595 4 года назад

      @@WPAcademyPK not work.

    • @mehranalisultan7595
      @mehranalisultan7595 4 года назад

      @@WPAcademyPK get_template_part('template-name.php') not working require SNOWMOUNTAIN_THEME_DIR . 'template-name.php'; is workin can you tell me why.

    • @WPAcademyPK
      @WPAcademyPK  4 года назад

      @@mehranalisultan7595 Ahh, sorry I misunderstood your question. if there is no inc folder then just create a new one. You should organize your files. If you have placed post-type.php file directly in main theme folder then you can include it without passing any directory name like: get_template_directory().'file-name.php';

  • @tpssmohit6856
    @tpssmohit6856 3 года назад

    wp-hasty is paid

    • @WPAcademyPK
      @WPAcademyPK  3 года назад

      Custom Post Type generator is still free: www.wp-hasty.com/tools/wordpress-custom-post-type-generator/