• 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

Display specific category list in sidebar with custom format

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 › Display specific category list in sidebar with custom format

This topic is: not resolved

Tagged: HTML Excerpts

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by msummers.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 1, 2016 at 9:53 am #178061
    msummers
    Member

    I know that I can add a Recent Posts widget into a sidebar, but that only adds a list of all post titles, which then link to the post. I would like to add that list, and in addition to the post title, I'd like to display a link to an external PDF. For example, I'd like the list to look like this -

    Post #1 Title
    (potentially a brief phrase of explanation)
    Click for More (this links directly to the PDF)
    ---------
    Post #2 Title
    (potentially a brief phrase of explanation)
    Click for More (this links directly to another PDF)

    etc. Is this possible?

    February 2, 2016 at 6:31 am #178141
    Brad Dalton
    Participant

    Try the Genesis featured posts widget and use the WordPress Excerpts meta box to add your explanation and link.


    Tutorials for StudioPress Themes.

    February 4, 2016 at 1:32 pm #178326
    msummers
    Member

    I hate to miss really obvious ones like that, but THANK YOU! Of course that works. Now I have a follow-on question:

    Check the page at http://www.ubymca.org/WP-Y and see that I am using the featured posts widget to list headlines from a group of posts with the category "whats-new". I would love to be able to have this list do one of the following:

    * have the link on the headline not link to the individual post but rather to the link that is shown on the individual post
    * have the headline display a link underneath so that the reader can just go directly to the linked site/pdf instead of having to cycle through the post itself. When I try to put that link in the body of the post, the link only works on the post itself, not in this list - apparently the HTML for the anchor tag is stripped out and so it only displays the link text without the anchor tag.

    (don't worry about the format of the individual posts - it's under development)

    I reckon that the second wish on my wish list is the better one because I don't think I can specify any target link for each individual headline...

    February 4, 2016 at 6:41 pm #178340
    Brad Dalton
    Participant

    Try this http://wpsites.net/wordpress-tips/add-back-html-tags-stripped-from-content-limit-excerpts-in-wordpress/


    Tutorials for StudioPress Themes.

    February 5, 2016 at 6:18 am #178376
    msummers
    Member

    That's great - thanks! Is there any way to suppress the anchor around the post title?

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 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