• 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

Missing data from WP Query

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 › Design Tips and Tricks › Missing data from WP Query

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 7 years, 1 month ago by yashitamittal11.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 14, 2018 at 5:37 am #219837
    yashitamittal11
    Member

    Hello

    I am trying to get the posts from a category and display them under "Success Stories" on http://beta.worldofwomenfoundation.com/ page.

    On 1st row, I am displaying 2 columns of post and in 2nd row, I am displaying 3 column of posts. But for the 1st post in both the rows, "the_excerpt()" is not getting displayed. Infact I can't see the element in the HTML also.

    what can be wrong with this?
    Screenshot . - https://imgur.com/a/NDk69Y5

    View post on imgur.com

    Regards
    Yashita

    http://beta.worldofwomenfoundation.com/
    May 14, 2018 at 5:51 am #219838
    Brad Dalton
    Participant

    1. You could use CSS grid for this. https://www.w3schools.com/css/css_grid_item.asp

    Or

    2. You could use the Genesis Featured Posts widget with CSS.

    Or

    3. You could use $wp_query->current_post with column classes already included in Genesis.


    Tutorials for StudioPress Themes.

    May 14, 2018 at 7:31 am #219842
    Brad Dalton
    Participant

    The problem with using WP_Query is that you lose the default markup for archive entries which seems to be the problem in your case.


    Tutorials for StudioPress Themes.

    May 14, 2018 at 10:14 am #219844
    yashitamittal11
    Member

    Thanks Braddalton

    I am not using a Genesis-based theme. Otherwise, it would have been easy.
    I will look into CSS Grid.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2025 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