Close

Account

Documentation

Forum

Menu

Combine different post types on home page into one (side menu, mega menu)

  • Post count: 6
    richardmathis
    April 15, 2016 at 3:30 am #19653

    I have been loving the theme, but I have a question regarding the different post-types.

    I have 3 types of posts being added regularly, the normal posts, reviews, and comics (from the comic easel theme). I would like the latest news to include the latest comic and the latest reviews, but currently it only shows the latest posts. Also ideally the featured items at the top would be combined from all 3 types of posts, then there would be the Latest New Articles, then the Latest New Reviews, then the Latest New Comics.

    In summary, I would like the homepage to combine all of the different types, then when I go to the news, the reviews, and the comics they would each display their own type of content.

    Let me know if you can help!

    Post count: 2247
    Jegbagus
    April 16, 2016 at 3:17 am #19676

    hi richardmathis, i will give you one example that you may able to use it everywhere on themes.
    take a look at jmagz themes folder > lib > ajax-response.php (line 260)
    you will see this code

    to insert also comic & review, you will just need to alter those code into

    it will give your side feed all content (post, review, and comic)
    you can use those code into other places.

    Thank you

You must be logged in to reply to this topic.