How to Display Posts From Specific Category on a WordPress / Query Loop Tutorial

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

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

  • @RaziyaHillery
    @RaziyaHillery Месяц назад +1

    Amazing! I have been trying to figure this out for weeks!! So helpful.

  • @Rapid-reels-786
    @Rapid-reels-786 8 месяцев назад +1

    Well done bro i recently had asked about it.
    You a regular subscriber.❤

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  8 месяцев назад

      hey brother, Yes i know that is why i created this, many of the channel viewers were stuck on this. Happy that you liked this and it helped you. thanks for being a subscriber and supporting the channel ❤

  • @MSAShaikh-n9o
    @MSAShaikh-n9o 8 месяцев назад +1

    Awesome very simple to understand, thanks you are amazing

  • @visualmodo
    @visualmodo 8 месяцев назад +1

    Truly good work!

  • @monetech25
    @monetech25 8 месяцев назад +1

    Helpful video bro. I am implementing it in my blog.

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  8 месяцев назад

      Happy to know that it helped you.. Thanks for the comment brother ❤️

  • @RonithBurman
    @RonithBurman 24 дня назад +1

    Amazing content man

  • @akshatasorate472
    @akshatasorate472 7 месяцев назад +1

    Thank Your Sir👍, Sir can you tell how to edit related posts section below in each posts. I followed your video on how to create Separate homepage and add posts what you've explained in the video before. due to which another related posts section got created for each posts. which are Unnecessary. Will you please make a video on this topic

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

      hello dear, okay I will add this to the future videos list and I will try to make a video on this topic.

  • @doc_verma
    @doc_verma 7 месяцев назад +1

    Thank you. I have been looking for this everywhere, commenting in several tutorial but no luck.
    Thanks again. Now just a little more help please. Beside the section name, i want a button like view all. That will show all posts of that category. How do i do that?
    Example.
    1) section: tech news. It will show 3, 4 recent post from category tech news .
    2) section: gadgets. It will show 3, 4 recent post from gadgets category.
    That i can do now thanks to you.
    Now i want, view more or view all button beside that both section names, if i click on thatz it should show all post from that category.
    Hope i explained my situation clearly. 😢.
    Please help.

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

      hello dear, happy that my video helped you out. So do that what you can do is to add a new button element under the recent posts or any other posts and give that button link to the category page. if you want you can use any addon /plugin to add the posts on the site, but that will make things very complicated. You explained very clearly, hope I answered clearly too 😇

  • @ShadesOfMusic3
    @ShadesOfMusic3 Месяц назад

    sir can you make a video about how can I edit my category pages post template because its not show the aligned as my home page posts

  • @adumongtophet
    @adumongtophet 23 дня назад +1

    Hello!
    I have a custom post type = Music.
    Template = Single post Music.
    With taxonomy = Article.
    Have 3 posts named 1,2,3 with the same Artcle = ABC, 3 others post with Article = DEF, XYZ and GHJ.
    In template Single post Music, I want to add a related post section follow Article. In explanation, in post 1 with Article ABC, it will show 2 others post with the same Article = ABC.
    How can I do that?
    Thank you very much.

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  22 дня назад

      hello, To add a "Related Posts" section in your Single post Music template that displays posts with the same taxonomy (i.e., the same Article), you can follow the steps below. I assume you're familiar with PHP and WordPress template structure, but I'll guide you step-by-step.
      Steps:
      Get the current post's taxonomy term (in this case, the "Article" taxonomy).
      Query posts that share the same taxonomy term.
      Display the related posts within your Single post Music template.
      Hope that helps; let me know if you need the code too

    • @adumongtophet
      @adumongtophet 22 дня назад

      @LetsCreateYourWEBSITE thank you for reply.
      I am a basic Wordpress user, no knowledge of PHP. I also tried searching for information using AI such as chatGPT, Copilot and got the same results as your instructions.
      I don't know what PHP code to use? Where to insert the code?
      I find this topic very interesting and important. If you could dig deeper into it and make a video on how to do it that would be great.
      I am starting to get comfortable with the basic theme editing options with the 2024 theme (Gutenberg). If you have a video tutorial, I hope it works well with the default WordPress theme editor.
      Again, thank you so much.

  • @bishalrath2938
    @bishalrath2938 7 месяцев назад +1

    I am facing a problem with my WordPress site. When I open the WordPress dashboard and open my site in another tab all posts are visible. But as soon as I logout from my WordPress dashboard and refresh my site which is open in another tab, some recent posts are not visible. That latest post gets hidden.Please give suggestion

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

      hello dear, it seems all those posts are in the draft status. publish them and you will see all of them. Let me know if that worked!

    • @bishalrath2938
      @bishalrath2938 7 месяцев назад +1

      @@LetsCreateYourWEBSITE No Bro, I have published the blog post which is not visible. The problem is that when I open my website normally, the last 11 blog posts are not showing to me. But when I login to WordPress and open my website on another page, all my posts are visible. Why is this happening?

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

      @@bishalrath2938hmm interesting, it might be possible because of cache. try to clear the cache from site, hosting and cloudflare. Open site in another browser in private mode, this is the only logical situation. Rest I cannot say exaclty without seeing your site.

  • @danceto7914
    @danceto7914 4 месяца назад +1

    hi, I have a problem with the home page. recent posts have the same image in all posts

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

      Hello, can't say much without seeing your website, possibly it is the default images for the posts.
      Have you added at least 1 thumbnail/ featured image to all the posts ?

    • @danceto7914
      @danceto7914 4 месяца назад +1

      @@LetsCreateYourWEBSITE Hi yes every post has a unique image, but on the home page all posts have the same image, then try to change the image article on the home page, and the other articles' images change with it, if there is a solution to split the image articles at home page maybe

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

      hello, can't say much about this without looking your website.
      but here are solutions to split the image articles on your homepage in WordPress. Here are two possibilities:
      Theme Customization: Many WordPress themes offer options to control how featured images are displayed on the homepage. Look for settings related to "home page layout," "featured images," or "post excerpts." You might find options to:
      Display different sized images: This wouldn't be a unique image per post, but could offer some visual variety.
      Show no image: This allows you to use text excerpts or other elements on the homepage.
      Use a Plugin: If theme customization isn't available or doesn't meet your needs, consider a plugin. Popular options for managing featured images on the homepage include:
      Post Views Counter - Offers options to control featured image display on the homepage.
      Advanced Featured Images - Allows setting different featured images for posts and the homepage.

  • @aveecca
    @aveecca 2 месяца назад +1

    Do you know how to display post from specific category with tagdiv composer? :')

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

    can you tell how to do this with pattern

  • @HKTECH-001
    @HKTECH-001 8 месяцев назад

    Great work!

  • @FaithOgan-xw2qf
    @FaithOgan-xw2qf Месяц назад

    Please I don't really understand this video, can you make another tutorial because am having same issues of displaying my blog posts using categories in WordPress. I use elementor as my page builder too.

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  Месяц назад

      Hello dear, sorry that the video is not easy for you. can you explain lore which part is hard for you to understand. I can provide you some help via comments / call

    • @FaithOgan-xw2qf
      @FaithOgan-xw2qf Месяц назад

      @@LetsCreateYourWEBSITE please I want to create a post carousel just like the this one. Open the link to see the photo. photos.app.goo.gl/X5rmwaB1aDXs61jD7

  • @swagnexttuber-boombeach7092
    @swagnexttuber-boombeach7092 8 месяцев назад

    Bro. How to add schema in blogger?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  8 месяцев назад

      it will be complicated to explain that via comment. here is an detailed article to do that seoneurons.com/blogger-seo/add-schema-markup/