• 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

patrickr

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 13, 2017 at 8:01 pm in reply to: Control where a primary sidebar collapses #201103
    patrickr
    Member

    Thanks, Brad!

    February 8, 2017 at 12:04 am in reply to: Hook that fires when a post's category is changed #200740
    patrickr
    Member

    A post is moved from one category to another.

    February 5, 2017 at 11:19 pm in reply to: How to get the permalink for the latest post in the Featured Posts Category #200618
    patrickr
    Member

    Disregard. I've figured it out.

    February 1, 2017 at 9:48 am in reply to: What Is The Featured Post Archive Link? #200366
    patrickr
    Member

    Almost. The link that's generated for "show category archive link" is for the Featured Posts category. I want the archive link for the latest post in the Featured Posts category.

    Something like:

    $wpdb->get_var( "SELECT ID FROM $wpdb->posts WHERE post_title = '" . $posttitle . "'" );
    $getpost= get_post($postid);

    Where instead of searching bypost title, I'm searching for the latest post in the Featured Posts category.

    Thanks.

    February 1, 2017 at 12:44 am in reply to: What Is The Featured Post Archive Link? #200351
    patrickr
    Member

    I'm developing locally, so I can't link to it.

    I'm using the Genesis Sample theme, and built in "Featured Post" widget. I'd like to know how to generate the archive link for the current "featured post".

    Thanks, Brad.

    January 25, 2017 at 8:24 am in reply to: How to? Genesis Sample Theme with Ajax Load More Plugin #200001
    patrickr
    Member

    Thanks, Victor!

    January 8, 2017 at 7:35 pm in reply to: How do I use a Genesis Theme in my custom code #199038
    patrickr
    Member

    Thanks for the reply, Victor. I took a look at the link, and I understand I need to create a custom loop, but what I don't understand is what that loop should look like to get the same design as the blog posts on the homepage. The workflow is something like:

    Get logged in user's posts -> Pass the posts to the custom loop

    I have the logged in user's posts. How do I pass them to the loop in the form of a variable and what does that loop look like?

    The latter is probably as straightforward as finding the loop that renders the posts on the homepage, and copy/pasting it into the functions.php file, with a tweak for it to accept the variable containing the posts.

    Cheers

    January 8, 2017 at 7:25 pm in reply to: Where is the code that renders the home page of the Genesis Sample theme? #199036
    patrickr
    Member

    Thanks Brad, but my question was where is the current code that renders the homepage. I'm not interested in customizing the homepage, I'm just trying to find the loop that renders the posts on the homepage.

    Cheers

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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