- This topic has 4 replies, 2 voices, and was last updated 6 years, 10 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
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.
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".
There is a show category archive link in the widget settings. Is that what you mean?
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.
$wpdb->get_var( "SELECT ID FROM $wpdb->posts WHERE post_title = '" . $posttitle . "'" );
Where instead of searching by
post title, I'm searching for the latest post in the Featured Posts category.
© 2023 WPEngine, Inc.