1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to create nested posts (posts within a post) in Wordpress?

Discussion in 'Content Management' started by Mr.Dog, Nov 17, 2018.

  1. #1
    Hi,

    I would like to create both individual posts (which are essentially articles) and category posts (which get listed like posts, but have posts under them as well).

    The idea is the following: a travel blog with posts within posts.

    Some posts are entire trips (with multiple posts under them), others are just single articles.
    All get directly posted under the main category (let's say "my travels").
    SEMrush
    Trips would have a different look with a different button.

    But, essentially they would all look like posts.
    When you click on a trip post, then you will find more individual posts under them or... sometimes you could find more trips and another level below the individual articles.


    Let me list an example of the structure:

    "Summer Trip to Spain" [trip]
    > "Catalonia Trip" [trip]

    >> "Top Places to Visit in Catalonia" [article]
    >> "What Catalonia is Famous For?" [article]
    >> "The Best Museums to Visit in Catalonia" [article]
    > "Exploring Madrid" [trip]
    >> "Madrid's Cultural Heritage" [article]
    >> "Street Photos of Madrid" [article]
    > "Visiting Valencia" [trip]
    >> "The Best Beaches in Valencia" [article]
    >> "The Old Town of Valencia" [article]

    "The Best US Airlines" [article]

    "My Favourite Airports" [article]

    "Visiting Cuba" [trip]
    > "Havana Experience" [trip]
    >> "Havana's Magial Streets - Photo Gallery" [article]
    >> "What to Do and What Not to Do in Havana" [article]
    >> "Havana's Cultural Heritage" [article]
    > "Cuba's Best Beaches" [article]

    "Top European Big Cities to Visit in 2019" [article]


    Basically some are nested under others, but I never want to go more than 3 levels down. 3 is maximum.

    I will make sure to distinguish TRIP from ARTICLE by design. They will look differently.

    I intend to use Elementor to build a WordPress theme, but I haven't found a way to "nest" posts one under the other.

    How can I achieve this?
     
    Mr.Dog, Nov 17, 2018 IP
    SEMrush
  2. andriusk

    andriusk Well-Known Member

    Messages:
    367
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    140
    #2
    I would go to this by creating pages and sub pages.
    Another alternative I see is just add main post as category or tag description and other posts as usual posts withing that category/post.
     
    andriusk, Nov 17, 2018 IP
  3. Mr.Dog

    Mr.Dog Active Member

    Messages:
    898
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Thing is that there sometimes might be category under category. E.g. cities under a country. And the individual articles would be under city.

    Not sure how this works and would like to solve this the easy way without ruining the original URLs. For the sake of SEO.
    The pages are already found in different nested folders.
     
    Mr.Dog, Nov 17, 2018 IP
  4. andriusk

    andriusk Well-Known Member

    Messages:
    367
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    140
    #4
    So in this case, I would go with pages option and creating hierarchy in menu or by creating sub-page.
    If you only need to have headlines of your topics on top page, you can use plugin for that.
     
    andriusk, Nov 17, 2018 IP
  5. Mr.Dog

    Mr.Dog Active Member

    Messages:
    898
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #5
    I'm a bit lost with plugins, can you recommend me one?

    As for menus: I would avoid creating a menu. The posts would just appear one-by-one on the main section's page (by the way, this is not the main page of the site, just a page about my travels).

    So, the categories would not appear in a menu.

    Essentially, to simplify things: it's enough if I can create posts within posts. And possibly even posts within those posts.
    This would be enough. I would do the rest with design to distinguish entire country trips from individual articles (like local attractions or foods to eat etc.).

    Any plugin or function for "Post within Post"?
     
    Mr.Dog, Nov 17, 2018 IP
  6. AlphaNine_Vini

    AlphaNine_Vini Active Member

    Messages:
    153
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    63
    #6
    May be you are looking for a plugin like this one : https://wordpress.org/plugins/post-content-shortcodes/ . Let me know if that doesn't work for you.
    I can try to find some other plugin as well. I guess that plugin should work for your need.
     
    AlphaNine_Vini, Nov 28, 2018 IP
    Mr.Dog likes this.
  7. Mr.Dog

    Mr.Dog Active Member

    Messages:
    898
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #7
    Thank you for your suggestion, I am examining the possibilities.
     
    Mr.Dog, Dec 1, 2018 IP