Unlocking the full potential of WordPress with Custom Post Types and Custom Fields

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024

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

  • @buildingonwordpress
    @buildingonwordpress  Год назад +1

    🎉 Extended Cheat Sheet:
    ✅ Post Type
    In WordPress, a post type is a content type or data structure. WordPress has default post types like "Posts" (for blog posts) and "Pages" (for static content), and you can create custom post types to suit your specific content needs.
    ✅ Post
    A post is an individual piece of content that belongs to a specific post type. For instance, a blog post is an individual post within the "Posts" post type.
    ✅ Meta / Custom Field
    Meta or custom fields allow you to add additional data to your posts. This data can be used to provide extra information about a post, such as author details, publication date, or any other custom information you want to associate with a post.
    ✅ Post Archive Layout
    In WordPress, a post archive is a page that displays a list of posts based on a specific criteria, like category, tag, or date.
    ✅ Single Post Layout
    A single post layout is the page dedicated to displaying an individual post in detail. It's where users can read the entire content of a post, view its associated metadata, and engage with any custom fields or additional information you've added.

  • @rizikilearnacademy4595
    @rizikilearnacademy4595 6 месяцев назад +1

    Very cool and helpful. Thank you.

  • @andersbrathen
    @andersbrathen Год назад +4

    Perfect. Thanks! Next time, you can maybe go to the next level, and for example look at various options for sorting on archive pages, based on custom fields. For example, Events, sort by Event date. Only show event in the future etc.

    • @buildingonwordpress
      @buildingonwordpress  Год назад +1

      Thanks @andersbrathen! Funny enough, this video might help point you in the right direction with that: ruclips.net/video/WVFPmw0VMZY/видео.html
      As always, appreciate a thumbs up and subscribe :)

  • @matthewstroh2
    @matthewstroh2 7 месяцев назад

    This was really well done. Great instruction!

  • @BneiAnusim
    @BneiAnusim 10 месяцев назад +1

    14:03, What about if I want more than one image? 🤔 Good stuff! Thanks

    • @buildingonwordpress
      @buildingonwordpress  10 месяцев назад +1

      Hi @bneiAnusim, thanks! If you need more images in your CPT simply add more image fields in the ACF field group and you should be good to go. Whichever image is the primary image is the one that would get the _thumbnail_id as you can only have one featured image per post.
      Then simply tap into your other images in your single post template using their field names e.g. my_image_2, my_image_3, etc.

  • @visualmodo
    @visualmodo Год назад

    Very good video! =D

  • @DanielKwan
    @DanielKwan 4 месяца назад

    Can anyone show how to use custom fields with the Twenty Twenty-Four theme that comes pre-installed with WordPress?

  • @MIKY-IT
    @MIKY-IT 11 месяцев назад

    Hello, here is the passage that has been described but how to visualize the options of the subject under the article? It does not apply to the options of the topic. Once again, your page will show you the options on the topic. Thank you

  • @samuelo8976
    @samuelo8976 Год назад

    Promo sm

  • @DerNeugierige
    @DerNeugierige 3 месяца назад

    Hey! Thank you for the great video. Now I'm in the implementation phase and encountering the following issue.
    I need your advice on a URL problem. My goal is to have a nested URL structure, but I'm having trouble achieving it. Here's an example:
    - I've created a CPT "Wiki" and a taxonomy with multiple levels, also in ACF:
    - Main category
    - Subcategory
    I want the permalink for the post to look like this:
    /wiki/main-category/subcategory/post
    But currently, the permalink looks like this:
    /wiki/post
    The same for the category archive page:
    /wiki/main-category/subcategory
    instead of this:
    wiki/taxonomy/main-category/subcategory
    Thanks in advance!
    Best regards,