How Can I Create a Separate Page for My Blog Posts? Discover 4 Powerful Methods!

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 13

  • @wpbeginner
    @wpbeginner  Рік тому

    ✅ Checkout SeedProd Right Here 👉🏼 www.seedprod.com/

  • @paulroos8517
    @paulroos8517 7 місяців тому

    Wow, why didn't I see this sooner? Thanks for the excellent, energetic tutorial.

    • @wpbeginner
      @wpbeginner  7 місяців тому +1

      It may have taken longer than you expected but happy to hear our guide was helpful!

  • @joukenienhuis6888
    @joukenienhuis6888 2 роки тому +2

    A very good tutorial, thank you for such a good explanation. But you are talking very fast and you do not show the pages or posts you already made. That’s what I miss, but it is very clear and very good that you told in the beginning to first watch the video completely.

    • @wpbeginner
      @wpbeginner  2 роки тому

      Thank you for your feedback!

  • @romenorom
    @romenorom 2 роки тому

    great video. One question. Which theme did you use in a video?

    • @wpbeginner
      @wpbeginner  2 роки тому +1

      Apologies, we forget but you could try the twenty twenty three theme

  • @automaticprojects
    @automaticprojects Рік тому

    Very informative and well-done video.

  • @markus8658-s2d
    @markus8658-s2d Рік тому

    Another great video from you ! How I setup multiple categories and how make the settings for them? Set it under Readings to Blogs like in your example, all the different categories would have the name blog in the url which is for me not so optimal. I think left the latest post field on reading setup blank.
    Important for me is how to I link back from a single post to the category/ category page? I'm struggling with that in wordpress is there any good plugin for this internal linking?

    • @wpbeginner
      @wpbeginner  Рік тому

      For the links you're wanting, we would recommend taking a look at our article below on breadcrumbs:
      www.wpbeginner.com/wp-tutorials/how-to-display-breadcrumb-navigation-links-in-wordpress/
      If you wanted specific pages for different categories, you would add the categories to your menu and WordPress will generate an archive page similar to your blog page for each category.

  • @SarahKazmi-q4v
    @SarahKazmi-q4v 8 місяців тому

    is there a way to only show post from 2024 onwards

    • @wpbeginner
      @wpbeginner  8 місяців тому

      For that you would need to write a custom snippet such as:
      function filter_posts_by_year( $query ) {
      // Check if main query and on the front-end
      if ( $query->is_main_query() && ! is_admin() ) {
      // Set the year to 2024
      $year = 2024;
      // Set the date query to include posts from the specified year and newer
      $date_query = array(
      array(
      'year' => $year,
      'compare' => '>=',
      ),
      );
      // Add the date query to the main query
      $query->set( 'date_query', $date_query );
      }
      }
      add_action( 'pre_get_posts', 'filter_posts_by_year' );