• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Get Post from specific category

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Get Post from specific category

This topic is: not resolved

Tagged: Get Post, loop, query, Specific Category

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 2 months ago by bikiniblue.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 7, 2016 at 11:32 am #189039
    bikiniblue
    Member

    Hello, I'm new to Genesis and php beginner. 🙂

    I'm using 'Executive theme' with bootstrap4 for an educational site.
    In CTA widget area, I added bootstrap modal code (popup). So there're 2 clickable buttons for popups.

    My question is when the first button's clicked, I'd like to know how to display a recent post contents from one category. (let's say this category is 'grammar')
    And when the second button's clicked, I also want to display a recent post contents from the other category. (let's say this category is 'vocabulary')

    I will appreciate it if someone can help me.

    In case there are people like me, I'd like to share this link.
    http://wordpress.stackexchange.com/questions/84417/show-specific-category-posts-on-genesis-framework-home-page

    I've researched and tried but still couldn't figure it out.
    Thanks.

    July 7, 2016 at 12:25 pm #189042
    Brad Dalton
    Participant

    Link to your site please where you have the popups.

    You could use 2 genesis featured posts widgets each configured to display the latest post from 2 different categories.

    Or you could link to the most recent post in 2 different categories.


    Tutorials for StudioPress Themes & WooCommerce.

    July 7, 2016 at 12:30 pm #189043
    bikiniblue
    Member
    This reply has been marked as private.
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble